API Documentation
Loading...
Searching...
No Matches
WidgetInit Class Reference

#include <WidgetInit.h>

Public Member Functions

 WidgetInit (std::function< QWidget *()> init)
 
virtual QWidget * getWidget ()
 

Protected Attributes

const std::function< QWidget *()> m_create_widget
 
QWidget * m_widget = nullptr
 

Constructor & Destructor Documentation

◆ WidgetInit()

WidgetInit ( std::function< QWidget *()> init)
inline

Member Function Documentation

◆ getWidget()

virtual QWidget * getWidget ( )
inlinevirtual

Member Data Documentation

◆ 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: