WindowPlugin
is an interface to implement window based plugins.
When a window based plugin inherits from this class, it will be
automatically added as a Window menu item and also in the New Tab
contextual menu.
Definition at line 111 of file plugin.h.
Public Member Functions
|
virtual
void |
Start ()=0 |
|
This method is called when Mudbox is loaded.
|
virtual
void |
Stop ()=0 |
|
This method is called when Mudbox quits.
|
virtual
bool |
IsEnabled ()=0 |
|
This method returns whether the plugin is
currently enabled or not.
|
virtual QWidget
* |
CreateWidget (QWidget *parent, QString name)=0 |
|
This method must implement the widget
creation.
|
virtual QWidget
* |
Widget ()=0 |
|
This method returns a pointer to the widget.
|
virtual
QString |
Name () |
|
This method returns the name of the plugin.
|
virtual
QString |
Title () |
|
This method returns the title of the plugin.
|
virtual
bool |
AddToWindowMenu () |
|
This method returns true if the plugin is
added to the window menu.
|
Protected Attributes
|
QString |
m_name |
QString |
m_title |
bool |
m_addToWindowMenu |