Definition at line 60 of file qdockwidget.h.
#include <qdockwidget.h>

Public Types |
|
| enum | DockWidgetFeature
{ DockWidgetClosable = 0x01, DockWidgetMovable = 0x02, DockWidgetFloatable = 0x04, DockWidgetVerticalTitleBar = 0x08, DockWidgetFeatureMask = 0x0f, AllDockWidgetFeatures = DockWidgetClosable|DockWidgetMovable|DockWidgetFloatable, NoDockWidgetFeatures = 0x00, Reserved = 0xff } |
Signals |
|
| void | featuresChanged (QDockWidget::DockWidgetFeatures features) |
| void | topLevelChanged (bool topLevel) |
| void | allowedAreasChanged (Qt::DockWidgetAreas allowedAreas) |
| void | visibilityChanged (bool visible) |
| void | dockLocationChanged (Qt::DockWidgetArea area) |
Public Member Functions |
|
| QDockWidget (const QString &title, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| QDockWidget (QWidget *parent=0, Qt::WindowFlags flags=0) | |
| ~QDockWidget () | |
| QWidget * | widget () const |
| void | setWidget (QWidget *widget) |
| void | setFeatures (DockWidgetFeatures features) |
| DockWidgetFeatures | features () const |
| void | setFloating (bool floating) |
| bool | isFloating () const |
| void | setAllowedAreas (Qt::DockWidgetAreas areas) |
| Qt::DockWidgetAreas | allowedAreas () const |
| void | setTitleBarWidget (QWidget *widget) |
| QWidget * | titleBarWidget () const |
| bool | isAreaAllowed (Qt::DockWidgetArea area) const |
| QAction * | toggleViewAction () const |
Protected Member Functions |
|
| void | changeEvent (QEvent *event) |
| void | closeEvent (QCloseEvent *event) |
| void | paintEvent (QPaintEvent *event) |
| bool | event (QEvent *event) |
| void | initStyleOption (QStyleOptionDockWidget *option) const |
Properties |
|
| bool | floating |
| DockWidgetFeatures | features |
| Qt::DockWidgetAreas | allowedAreas |
| QString | windowTitle |
Friends |
|
| class | QDockWidgetItem |
| class | QMainWindowLayout |
| class | QDockWidgetLayout |
| class | QDockAreaLayoutInfo |
| enum DockWidgetFeature |
| DockWidgetClosable | |
| DockWidgetMovable | |
| DockWidgetFloatable | |
| DockWidgetVerticalTitleBar | |
| DockWidgetFeatureMask | |
| AllDockWidgetFeatures | |
| NoDockWidgetFeatures | |
| Reserved |
Definition at line 79 of file qdockwidget.h.
{
DockWidgetClosable = 0x01,
DockWidgetMovable = 0x02,
DockWidgetFloatable = 0x04,
DockWidgetVerticalTitleBar = 0x08,
DockWidgetFeatureMask = 0x0f,
AllDockWidgetFeatures = DockWidgetClosable|DockWidgetMovable|DockWidgetFloatable, // ### remove in 5.0
NoDockWidgetFeatures = 0x00,
Reserved = 0xff
};
| QDockWidget | ( | const QString & | title, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | flags = 0 |
||
| ) | [explicit] |
| QDockWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | flags = 0 |
||
| ) | [explicit] |
| ~QDockWidget | ( | ) |
| QWidget* widget | ( | ) | const |
| void setWidget | ( | QWidget * | widget | ) |
| void setFeatures | ( | DockWidgetFeatures | features | ) |
| DockWidgetFeatures features | ( | ) | const |
| void setFloating | ( | bool | floating | ) |
| bool isFloating | ( | ) | const [inline] |
| void setAllowedAreas | ( | Qt::DockWidgetAreas | areas | ) |
| Qt::DockWidgetAreas allowedAreas | ( | ) | const |
| void setTitleBarWidget | ( | QWidget * | widget | ) |
| QWidget* titleBarWidget | ( | ) | const |
| bool isAreaAllowed | ( | Qt::DockWidgetArea | area | ) | const [inline] |
Definition at line 105 of file qdockwidget.h.
{ return (allowedAreas() & area) == area; }
| QAction* toggleViewAction | ( | ) | const |
| void featuresChanged | ( | QDockWidget::DockWidgetFeatures | features | ) | [signal] |
| void topLevelChanged | ( | bool | topLevel | ) | [signal] |
| void allowedAreasChanged | ( | Qt::DockWidgetAreas | allowedAreas | ) | [signal] |
| void visibilityChanged | ( | bool | visible | ) | [signal] |
| void dockLocationChanged | ( | Qt::DockWidgetArea | area | ) | [signal] |
| void closeEvent | ( | QCloseEvent * | event | ) | [protected, virtual] |
Reimplemented from QWidget.
| void paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
Reimplemented from QWidget.
| void initStyleOption | ( | QStyleOptionDockWidget * | option | ) | const [protected] |
friend class QDockWidgetItem
[friend] |
Definition at line 132 of file qdockwidget.h.
friend class QMainWindowLayout
[friend] |
Definition at line 133 of file qdockwidget.h.
friend class QDockWidgetLayout
[friend] |
Definition at line 134 of file qdockwidget.h.
friend class QDockAreaLayoutInfo
[friend] |
Definition at line 135 of file qdockwidget.h.
bool floating [read, write] |
Definition at line 65 of file qdockwidget.h.
DockWidgetFeatures features [read,
write] |
Definition at line 66 of file qdockwidget.h.
Qt::DockWidgetAreas allowedAreas [read,
write] |
Definition at line 68 of file qdockwidget.h.
QString windowTitle [read,
write] |