![]() |
VR-Forces 4.1.1 Class Documentation
|
Represents a new kind of dock widget: it has a "pin" button that allows the widget to pin/unpin from an autoHidePanel widget (if added to it) and a "close" button. More...

Public Types | |
| enum | DtAutoHideDockType { Palette = 0, Dialog } |
Signals | |
| void | signal_closing (DtAutoHideDock *dock) |
| This signal gets emitted when the widget is closing. | |
| void | signal_pinPressed (DtAutoHideDock *dock) |
| This signal gets emitted when the pin button is pressed on this widget. | |
| void | signal_topLevelChanged (DtAutoHideDock *dock) |
| This signal gets emitted when this widget changes its status from docked to floating and vice versa. | |
| void | signal_resized (DtAutoHideDock *dock) |
| This signal gets emitted when this widget is resized. | |
| void | signal_destroyed (DtAutoHideDock *dock) |
| This signal gets emitted when this widget is about to be destroyed. | |
| void | signal_enter (DtAutoHideDock *dock) |
| This signal gets emitted when the mouse enters on this widget. | |
| void | signal_leave (DtAutoHideDock *dock) |
| This signal gets emitted when the mouse leaves this widget. | |
Public Member Functions | |
| DtAutoHideDock (makVrv::DtDe &de, const QString &title="", QWidget *parent=0, Qt::WindowFlags flags=0) | |
| Ctor. | |
| ~DtAutoHideDock () | |
| Dtor. | |
| virtual QPixmap & | icon () |
| Set/Get the icon. | |
| virtual void | setIcon (QPixmap &icon) |
| virtual DtAutoHideDockType | dockType () const |
| Set/Get the type of dock this item represents. | |
| virtual void | setDockType (DtAutoHideDockType t) |
| virtual bool | pinned () const |
| Set/Get the pin status. | |
| virtual void | setPinned (bool flag) |
| virtual void | setupGui () |
| Initializes the visuals of this object. | |
| virtual void | setTitle (const QString &title) |
Protected Slots | |
| virtual void | slot_closePressed () |
| Gets called when the close button is pressed on the titleBarWidget. | |
| virtual void | slot_pinPressed (bool flag) |
| Gets called when the pin is pressed on the titleBarWidget. | |
| virtual void | slot_topLevelChanged (bool) |
| Gets called when the widget changes its floating status. | |
Protected Member Functions | |
| virtual bool | eventFilter (QObject *p, QEvent *e) |
| Event filter installed to listen for mouse events from the titleBarWidget. | |
| virtual void | enterEvent (QEvent *event) |
| Automatic event that gets triggered when the mouse enters the widget. | |
| virtual void | leaveEvent (QEvent *event) |
| Automatic event that gets triggered when the mouse leaves the widget. | |
| virtual void | closeEvent (QCloseEvent *event) |
| This event gets automatically called when the widget is about to be closed. | |
| virtual void | paintEvent (QPaintEvent *p) |
| This event gets automatically called when the widget is about to be painted on screen. | |
| virtual void | resizeEvent (QResizeEvent *event) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtExtendedTitleBarWidget * | myTitleBarWidget |
| QPixmap | myIcon |
| DtAutoHideDockType | myDockType |
Represents a new kind of dock widget: it has a "pin" button that allows the widget to pin/unpin from an autoHidePanel widget (if added to it) and a "close" button.
It also adds an entry inside the "View" menu to show/hide the dock (if it is a palette type)
| makVrf::DtAutoHideDock::DtAutoHideDock | ( | makVrv::DtDe & | de, |
| const QString & | title = "", |
||
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | flags = 0 |
||
| ) |
Ctor.
| makVrf::DtAutoHideDock::~DtAutoHideDock | ( | ) |
Dtor.
|
virtual |
Set/Get the icon.
|
virtual |
|
virtual |
Set/Get the type of dock this item represents.
|
virtual |
|
virtual |
Set/Get the pin status.
|
virtual |
|
virtual |
Initializes the visuals of this object.
Reimplemented in makVrf::DtShapeObjectDefinitionDialog, makVrf::DtPointObjectDefinitionDialog, makVrf::DtCircleObjectDefinitionDialog, makVrf::DtBoxObjectDefinitionDialog, makVrf::DtMissileTargetDefinitionDialog, vrfCustomControlObjectExample::DtCustomControlObjectDefinitionDialog, and makVrf::DtIndirectArtilleryObjectDefinitionDialog.
|
virtual |
Event filter installed to listen for mouse events from the titleBarWidget.
|
protectedvirtual |
Automatic event that gets triggered when the mouse enters the widget.
Reimplemented in BHAVE::BHAVE3DGui::DtGeneratePathDataWidget.
|
protectedvirtual |
Automatic event that gets triggered when the mouse leaves the widget.
Reimplemented in BHAVE::BHAVE3DGui::DtGeneratePathDataWidget.
|
protectedvirtual |
This event gets automatically called when the widget is about to be closed.
Reimplemented in makVrf::DtShapeObjectDefinitionDialog, makVrf::DtPointObjectDefinitionDialog, makVrf::DtCircleObjectDefinitionDialog, makVrf::DtBoxObjectDefinitionDialog, and BHAVE::BHAVE3DGui::DtGeneratePathDataWidget.
|
protectedvirtual |
This event gets automatically called when the widget is about to be painted on screen.
|
protectedvirtual |
|
signal |
This signal gets emitted when the widget is closing.
It passes itself as argument.
|
signal |
This signal gets emitted when the pin button is pressed on this widget.
It passes itself as argument.
|
signal |
This signal gets emitted when this widget changes its status from docked to floating and vice versa.
It passes itself as argument.
|
signal |
This signal gets emitted when this widget is resized.
|
signal |
This signal gets emitted when this widget is about to be destroyed.
|
signal |
This signal gets emitted when the mouse enters on this widget.
|
signal |
This signal gets emitted when the mouse leaves this widget.
|
protectedvirtualslot |
Gets called when the close button is pressed on the titleBarWidget.
|
protectedvirtualslot |
Gets called when the pin is pressed on the titleBarWidget.
|
protectedvirtualslot |
Gets called when the widget changes its floating status.
|
protected |
|
protected |
|
protected |
|
protected |