List of all members.
Public Member Functions
|SubWindowFactory (QWidget *parent=NULL)|
|void||registerSubWindow (WidgetCreatorInterface *winInterface)|
|QList< QAction * >||getActions () const|
Private Member Functions
|bool||eventFilter (QObject *object, QEvent *event)|
|QList< WidgetCreatorInterface * >||interfaces|
|QMap< QMdiSubWindow *, QWidget * >||openWidgets|
|QMap< QPair< QWidget *, QWidget * >,|
This class implements a QMdiArea which can create ROSE widgets, and link them together. The use can link widgets together by using a custom widgets-menu which is located in the top left corner of a subwidget The link mechanism relies on the fact that the subwidgets, i.e. widget which are created by the WidgetCreatorInterface have the following signals and slots:
setNode()Takes the given node as base for the whole display. TreeView's usually set the new node as root.
gotoNode()Selects the given node (and in tree-view expands until this node is visible), and highlights it, the displayed data set does not change
nodeActivated()This signal is usually sent when the user clicks on some node
nodeActivatedAlt()Alternative way of activating a node, mostly double-click (but may vary from view to view) Unfortunately this cannot be enforced by a common abstract base class, since these are signals and slots, this base class whould have to inherit from QObject, which would result in a diamond shaped class hierarchy. If these signals and slots do not exist the link-mechanism just does not work because connect fails which result in a warning on the command line)
Definition at line 26 of file SubWindowFactory.h.
|SubWindowFactory::SubWindowFactory||(||QWidget *|| parent =
|bool SubWindowFactory::eventFilter||(||QObject *||object,|
|QList< QAction * > SubWindowFactory::getActions||(||)||const|
|void SubWindowFactory::registerSubWindow||(||WidgetCreatorInterface *||winInterface||)|
|QMap<QPair<QWidget *, QWidget *>, bool> SubWindowFactory::linked
|QMap<QMdiSubWindow *, QWidget *> SubWindowFactory::openWidgets