#include <generalfactory.h>
General plugin interface.
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
◆ ~GeneralFactory()
◆ create()
| virtual QObject* create |
( |
QObject * |
parent | ) |
|
|
pure virtual |
Creates object of the General class.
◆ createConfigDialog()
| virtual QDialog* createConfigDialog |
( |
QWidget * |
parent | ) |
|
|
pure virtual |
Creates configuration dialog.
- Parameters
-
- Returns
- Configuration dialog pointer.
◆ createWidget()
| virtual QWidget* createWidget |
( |
int |
id, |
|
|
QWidget * |
parent |
|
) |
| |
|
virtual |
Creates widget provided by plugin. Default emplementation returns nullptr.
- Parameters
-
| id | Widget ID. |
| parent | Parent Widget. |
◆ properties()
Returns general plugin properties.
◆ showAbout()
| virtual void showAbout |
( |
QWidget * |
parent | ) |
|
|
pure virtual |
Shows about dialog.
- Parameters
-
◆ translation()
| virtual QString translation |
( |
| ) |
const |
|
pure virtual |
Returns translation file path without locale code and extension
The documentation for this class was generated from the following file: