Gui::DAG::DockWindow Class Reference

dock window for DAG viewer More...

#include <DAGView.h>

Public Member Functions

 DockWindow (Gui::Document *gDocumentIn=nullptr, QWidget *parent=nullptr)
 
 ~DockWindow ()
 View destructor Detach the view from the document, if attached. More...
 
- Public Member Functions inherited from Gui::DockWindow
 DockWindow (Gui::Document *pcDocument=nullptr, QWidget *parent=nullptr)
 View constructor Attach the view to the given document. More...
 
virtual ~DockWindow ()
 View destructor Detach the view from the document, if attached. More...
 
virtual void onUpdate (void)
 get called when the document is updated More...
 
virtual const char * getName (void) const
 returns the name of the view (important for messages) More...
 
virtual bool onMsg (const char *, const char **)
 Message handler. More...
 
virtual bool onHasMsg (const char *) const
 Message handler test. More...
 
virtual bool canClose (void)
 overwrite when checking on close state More...
 
- Public Member Functions inherited from Gui::BaseView
 BaseView (Gui::Document *pcDocument=nullptr)
 View constructor Attach the view to the given document. More...
 
virtual ~BaseView ()
 View destructor Detach the view from the document, if attached! More...
 
void setDocument (Gui::Document *pcDocument)
 sets the view to another document (called by Application) More...
 
void onClose (void)
 is sent from the document in order to close the document More...
 
Gui::DocumentgetGuiDocument () const
 returns the document the view is attached to More...
 
App::DocumentgetAppDocument () const
 returns the document the view is attached to More...
 
bool isPassive (void) const
 indicates if the view is in passive mode More...
 
virtual void onRelabel (Gui::Document *)
 get called when the document is relabeled (change of its user name) More...
 
virtual void onRename (Gui::Document *)
 get called when the document is renamed (change of its internal name) More...
 
virtual void deleteSelf ()
 delete itself More...
 
- Public Member Functions inherited from Base::BaseClass
 BaseClass ()
 Construction. More...
 
 BaseClass (const BaseClass &)=default
 
virtual PyObjectgetPyObject ()
 This method returns the Python wrapper for a C++ object. More...
 
virtual Type getTypeId () const
 
bool isDerivedFrom (const Type type) const
 
BaseClassoperator= (const BaseClass &)=default
 
virtual void setPyObject (PyObject *)
 
virtual ~BaseClass ()
 Destruction. More...
 

Additional Inherited Members

- Signals inherited from Gui::DockWindow
void sendCloseView (MDIView *theView)
 sends a message to the document More...
 
- Static Public Member Functions inherited from Base::BaseClass
static void * create ()
 
static Type getClassTypeId ()
 
static void init ()
 
- Static Protected Member Functions inherited from Base::BaseClass
static void initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr)
 
- Protected Attributes inherited from Gui::BaseView
bool bIsDetached
 
bool bIsPassive
 

Detailed Description

dock window for DAG viewer

Constructor & Destructor Documentation

◆ DockWindow()

DAG::DockWindow::DockWindow ( Gui::Document gDocumentIn = nullptr,
QWidget parent = nullptr 
)

◆ ~DockWindow()

Gui::DAG::DockWindow::~DockWindow ( )
virtual

View destructor Detach the view from the document, if attached.

Reimplemented from Gui::DockWindow.


The documentation for this class was generated from the following files: