|
Open 3D Engine AzQtComponents API Reference
2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <FancyDocking.h>
Inherits QWidget.
Classes | |
| struct | TabContainerType |
| struct | WidgetGrab |
Public Member Functions | |
| FancyDocking (DockMainWindow *mainWindow, const char *identifierPrefix="fancydocking") | |
| bool | restoreState (const QByteArray &layout_data) |
| QByteArray | saveState () |
| bool | restoreDockWidget (QDockWidget *dock) |
| DockTabWidget * | tabifyDockWidget (QDockWidget *dropTarget, QDockWidget *dropped, QMainWindow *mainWindow, WidgetGrab *droppedGrab=nullptr) |
| void | setAbsoluteCornersForDockArea (QMainWindow *mainWindow, Qt::DockWidgetArea area) |
| void | makeDockWidgetFloating (QDockWidget *dock, const QRect &geometry) |
| void | splitDockWidget (QMainWindow *mainWindow, QDockWidget *target, QDockWidget *dropped, Qt::Orientation orientation) |
| void | disableAutoSaveLayout (QDockWidget *dock) |
| void | enableAutoSaveLayout (QDockWidget *dock) |
| bool | IsDockWidgetBeingDragged (QDockWidget *dock) |
| DockTabWidget * | createTabWidget (QMainWindow *mainWindow, QDockWidget *widgetToReplace, QString name=QString()) |
Protected Member Functions | |
| bool | eventFilter (QObject *watched, QEvent *event) override |
This class implements the Visual Studio docking style for a QMainWindow. To use is, just create an instance of this class and give the QMainWindow as a parent.
One should use saveState/restoreState/restoreDockWidget on the instance if this class rather than directly on the QMainWindow.
| AzQtComponents::FancyDocking::FancyDocking | ( | DockMainWindow * | mainWindow, |
| const char * | identifierPrefix = "fancydocking" |
||
| ) |
Constructor
| [in] | mainWindow | the window to apply the fancy docking to |
| [in] | identifierPrefix | prefix to use for properties on widgets/windows to flag them as owned by this instance of the FancyDocking manager. Can be anything, as long as it is unique |
1.8.17