Workspace 6.21.5
|
A null widget that doesn't do anything. More...
#include <Workspace/Widgets/nullwidgetfactory.h>
Public Member Functions | |
const DataExecution::DataFactory & | getDataFactory () const override |
const QMetaObject & | getQWidgetMetaObject () const override |
Public Member Functions inherited from WidgetFactory | |
virtual | ~WidgetFactory ()=default |
QWidget & | createWidget (QWidget *parent=nullptr) const |
QWidgetConnector & | createWidgetConnector (QWidget &widget, const NamePath &namePath) const |
QWidgetConnector & | createWidgetConnector (QWidget &widget, const NamePath &namePath, const DataExecution::TypeAdaptorFactory *adaptorFactory, WidgetState state) const |
virtual const DataExecution::DataFactory & | getDataFactory () const =0 |
virtual const QMetaObject & | getQWidgetMetaObject () const =0 |
virtual const char * | getWidgetName () const |
virtual bool | showInWorkspaceEditor () const |
virtual bool | supportAdaptor () const |
Static Public Member Functions | |
static NullWidgetFactory & | getInstance () |
Can be used as the default widget for a type that's normal widget is expensive to create/update. This prevents expensive widget creation/update for things like the IOTreeView and Global Names Table.
|
inlineoverridevirtual |
Implements WidgetFactory.
|
inlinestatic |
|
inlineoverridevirtual |
Implements WidgetFactory.