

Public Slots | |
| QString | version () |
| Return a version string for your plugin. | |
Signals | |
| void | updateView () |
| Update current view in Main Application. | |
| void | updatedObject (int _id) |
| An object has been changed or added by this plugin. | |
| void | log (Logtype _type, QString _message) |
| void | log (QString _message) |
| void | addToolbox (QString _name, QWidget *_widget) |
| Add a toolbox widget to the gui with the given name. | |
Public Member Functions | |
| QString | name () |
| Return a name for the plugin. | |
| QString | description () |
| Return a description of what the plugin is doing. | |
Private Slots | |
| void | initializePlugin () |
| Initialize Plugin. | |
| void | simpleLaplace () |
Private Attributes | |
| QSpinBox * | iterationsSpinbox_ |
| SpinBox for Number of iterations. | |
Definition at line 9 of file SmootherPlugin.hh.
| void SmootherPlugin::addToolbox | ( | QString | , | |
| QWidget * | ||||
| ) | [virtual, signal] |
Add a toolbox widget to the gui with the given name.
This signal adds a toolbox widget to the toolbar on the right.
Reimplemented from ToolboxInterface.
Referenced by initializePlugin().
| QString SmootherPlugin::description | ( | ) | [inline, virtual] |
Return a description of what the plugin is doing.
This function has to return a basic description of the plugin
Implements BaseInterface.
Definition at line 32 of file SmootherPlugin.hh.
| void SmootherPlugin::initializePlugin | ( | ) | [private, virtual, slot] |
Initialize Plugin.
This slot is called if the plugin is loaded and has to be initialized. All initialization stuff in this slot has to stay inside the plugin, no external signals are allowed here (and will be ignored). Don't create any objects via pluginfunctions here. Use the pluginsInitialized() slot for external initialization. After execution of this slot your plugin should be fully functional. Only gui elements may be uninitialized and should be created in pluginsInitialized().
Reimplemented from BaseInterface.
Definition at line 42 of file SmootherPlugin.cc.
References addToolbox(), and iterationsSpinbox_.
| void SmootherPlugin::log | ( | QString | ) | [virtual, signal] |
Send a log message to the mainwindow of the widget
defaults to LOGOUT message type
| _message | Message to be displayed |
Implements LoggingInterface.
| void SmootherPlugin::log | ( | Logtype | , | |
| QString | ||||
| ) | [virtual, signal] |
Send a log message to the mainwindow of the widget
| _type | Message type (LOGINFO,LOGOUT,LOGWARN,LOGERR) | |
| _message | Message to be displayed |
Implements LoggingInterface.
| QString SmootherPlugin::name | ( | ) | [inline, virtual] |
Return a name for the plugin.
This Function has to return the name of the plugin.
Implements BaseInterface.
Definition at line 31 of file SmootherPlugin.hh.
| void SmootherPlugin::updatedObject | ( | int | ) | [virtual, signal] |
An object has been changed or added by this plugin.
Emit this Signal, if you updated any part of an object.
If you changed the element itself (geometry, topology,..) you also have to emit this signal.
Dont emit this Signal in BaseInterface::slotObjectUpdated() as this causes an endless Loop!! Give the id of the new object as parameter or -1 if you updated all objects or deleted an object.
The parameter has to be the id of the object or -1 if refering to all or deleted objects.
Reimplemented from BaseInterface.
| void SmootherPlugin::updateView | ( | ) | [virtual, signal] |
Update current view in Main Application.
Emit this Signal if the viewer widget in the main application should update the current view. If you do an updatedObject the core will trigger an update itself and you don't have to care about it.
Reimplemented from BaseInterface.
| QString SmootherPlugin::version | ( | ) | [inline, virtual, slot] |
Return a version string for your plugin.
This function will be used to determin the current version of your plugin. Should have the form x.x.x ( you do not need to give that many subversions )
Reimplemented from BaseInterface.
Definition at line 48 of file SmootherPlugin.hh.