bool isInit() const
Returns whether the dock widget has been initialized.
DockInit(std::function< QCustomDockWidget *()> init)
Constructs a DockInit with a lazy-initialization function.
QCustomDockWidget * m_dock_item
The cached dock widget pointer.
DockInit(QCustomDockWidget *init)
Constructs a DockInit with an already-created dock widget.
const std::function< QCustomDockWidget *()> m_create_dock
The factory function for lazy dock creation.
virtual QCustomDockWidget * getDock()
Returns the dock widget, creating it lazily if it has not been initialized yet.
The root class that allows interface with the NDEVR API Widget Docking system.
The primary namespace for the NDEVR SDK.