Provides a way to lazily initialize widgets when needed but still pass them to container dialogs. Useful for adding things to Settings dialogs or other large structures where they may never be initialized.
More...
#include <WidgetInit.h>
Provides a way to lazily initialize widgets when needed but still pass them to container dialogs. Useful for adding things to Settings dialogs or other large structures where they may never be initialized.
◆ WidgetInit() [1/2]
◆ WidgetInit() [2/2]
◆ getWidget()
| virtual QWidget * getWidget |
( |
| ) |
|
|
inlinevirtual |
◆ m_create_widget
| const std::function<QWidget*()> m_create_widget |
|
protected |
◆ m_widget
| QWidget* m_widget = nullptr |
|
protected |
The documentation for this class was generated from the following file: