![]() |
An open-source, flexible 3D physical simulation framework
|
Implementation of a dock widget taking care of its widget. More...
#include <MyQDockWidget.h>
Public Member Functions | |
MyQDockWidget (QWidget *parent, QWidget *child, int priority, int area=0, Qt::WindowFlags flags=0) | |
A constructor. More... | |
~MyQDockWidget () | |
A destrutor. More... | |
Public Attributes | |
Qt::DockWidgetArea | area |
Holds the docking area attribute. More... | |
int | priority |
Holds the attribute for closing the widget. More... | |
Private Member Functions | |
void | closeEvent (QCloseEvent *event) |
Implementation of a dock widget taking care of its widget.
Definition at line 41 of file MyQDockWidget.h.
mars::main_gui::MyQDockWidget::MyQDockWidget | ( | QWidget * | parent, |
QWidget * | child, | ||
int | priority, | ||
int | area = 0 , |
||
Qt::WindowFlags | flags = 0 |
||
) |
A constructor.
parent | The parent widget. |
child | The widget to be docked. |
priority | Indicator if the widget is closable or not. |
area | The QDockWidgetArea that is to be used initialy. |
Definition at line 28 of file MyQDockWidget.cpp.
mars::main_gui::MyQDockWidget::~MyQDockWidget | ( | ) |
A destrutor.
Definition at line 43 of file MyQDockWidget.cpp.
|
private |
Definition at line 46 of file MyQDockWidget.cpp.
Qt::DockWidgetArea mars::main_gui::MyQDockWidget::area |
Holds the docking area attribute.
0: Qt::LeftDockWidgetArea; 1: Qt::RightDockWidgetArea; 2: Qt::BottomDockWidgetArea; 3: Qt::TopDockWidgetArea.
Definition at line 68 of file MyQDockWidget.h.
int mars::main_gui::MyQDockWidget::priority |
Holds the attribute for closing the widget.
0: Closable; 1: Not closable.
Definition at line 75 of file MyQDockWidget.h.