API Documentation
|
Provides a way to optianally lazily initialize widgets when needed but still pass them to container docks. Useful for adding things to Settings dialogs or other large structures where they may never be initialized. More...
#include <WidgetInit.h>
Public Member Functions | |
DockInit (QCustomDockWidget *init) | |
DockInit (std::function< QCustomDockWidget *()> init) | |
virtual QCustomDockWidget * | getDock () |
bool | isInit () const |
Protected Attributes | |
const std::function< QCustomDockWidget *()> | m_create_dock |
QCustomDockWidget * | m_dock_item = nullptr |
Provides a way to optianally lazily initialize widgets when needed but still pass them to container docks. Useful for adding things to Settings dialogs or other large structures where they may never be initialized.
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
protected |
|
protected |