Static class managing node types and Node object creation.
More...
#include <PanelFactory.h>
|
static bool | registerType (const QString &filename) |
| Loads the XML description of a panel type from the file with the given name.
|
|
static Panel * | createPanel (const QString &typeName, QWidget *parent) |
| Creates a panel of the given type name with the given name.
|
|
static void | freeResources () |
| Frees all resources that were used by private static data of the panel factory class.
|
|
Static class managing node types and Node object creation.
bool Frapper::PanelFactory::registerType |
( |
const QString & |
filename | ) |
|
|
static |
Loads the XML description of a panel type from the file with the given name.
- Parameters
-
filename | The name of an XML file describing a panel type. |
Panel * Frapper::PanelFactory::createPanel |
( |
const QString & |
typeName, |
|
|
QWidget * |
parent |
|
) |
| |
|
static |
Creates a panel of the given type name with the given name.
- Parameters
-
typeName | The name of the type to use for the new panel. |
name | The name to give to the new panel. |
- Returns
- A pointer to the new node.
- Parameters
-
typeName | The name of the type to use for the new panel. |
name | The name to give to the new panel. |
- Returns
- A pointer to the new panel.
void Frapper::PanelFactory::freeResources |
( |
| ) |
|
|
static |
Frees all resources that were used by private static data of the panel factory class.
Map of existing panel types.
Private Static Data.
QStringList Frapper::PanelFactory::m_panelPluginFiles |
|
static |
List of existing panel plugin Files.
Public Static Data.
QStringList Frapper::PanelFactory::m_panelPluginNames |
|
static |
List of existing panel plugin names.
QStringList Frapper::PanelFactory::m_panelPluginIcons |
|
static |
List of existing panel plugin icons.
The documentation for this class was generated from the following files: