TableWidgetFactory.cpp
Go to the documentation of this file.
1 #include "TableWidget.h"
2 #include "TableWidgetFactory.h"
3 
5 
6 
8 {
9  finalize();
11 }
12 
14 {
15  delete sm_factory;
16  sm_factory = nullptr;
17 }
18 
20 
22 {
23  return new TableWidget;
24 }
25 
27 te::qt::af::SettingsWidgetsFactory(QObject::tr("Table").toUtf8().data())
28 {
29 
30 }
31 
33 {
34  return new TableWidget(parent);
35 }
static TableWidgetFactory * sm_factory
A factory to build the Table frame object.
A frame for setting Table options.
A frame for setting Table options.
AbstractSettingWidget * build()
Concrete factories (derived from this one) must implement this method in order to create objects...
URI C++ Library.
Definition: Attributes.h:37
A factory to build the Table widget object.
A frame for setting Table options.
Definition: TableWidget.h:50
virtual AbstractSettingWidget * create(QWidget *parent=0)