#include <OptionQWidgetWrapper.h>

Public Member Functions | |
| OptionQWidgetWrapper () | |
| ~OptionQWidgetWrapper () | |
| void | applyChanges () |
Protected Member Functions | |
| QWidget * | createOptionsWidget () |
This templated class is used by writing a QWidget subclass and then doing the following to register the plug-in:
//assume SampleOption is a subclass of QWidget and //the plug-in belongs to a module that was registered //using REGISTER_MODULE(SampleModule); REGISTER_PLUGIN(SampleModule, SampleOption, OptionQWidgetWrapper<SampleOption>());
The templated argument must meet the following requirements:
Definition at line 49 of file OptionQWidgetWrapper.h.
| OptionQWidgetWrapper< OptionWidget >::OptionQWidgetWrapper | ( | ) |
Instantiates this option plug-in by querying the templated class using it's provided static methods.
Definition at line 57 of file OptionQWidgetWrapper.h.
| OptionQWidgetWrapper< OptionWidget >::~OptionQWidgetWrapper | ( | ) |
| void OptionQWidgetWrapper< OptionWidget >::applyChanges | ( | ) | [virtual] |
Applies the changes by calling applyChanges() on the templated class.
Implements Option.
Definition at line 81 of file OptionQWidgetWrapper.h.
| QWidget* OptionQWidgetWrapper< OptionWidget >::createOptionsWidget | ( | ) | [protected, virtual] |
Creates the option widget by instantiating the templated class which must be a subclass of QWidget.
Implements OptionShell.
Definition at line 96 of file OptionQWidgetWrapper.h.