|
NCL Composer
0.1.5
|
A dialog that allows the user to choose or save one perspective. More...
#include <PerspectiveManager.h>
Public Slots | |
| void | accept () |
| Called when the user clicks OK button. | |
Public Member Functions | |
| PerspectiveManager (QWidget *parent=0) | |
| Constructor. More... | |
| virtual | ~PerspectiveManager () |
| Destructor. | |
| QString | getSelectedName () |
| Get the name of the perspective the user has selected. More... | |
| QString | getDefaultPerspective () |
| Get the name of the default perspective the user has selected. More... | |
| void | setBehavior (PERSPEC_BEHAVIOR behavior) |
| Set the current behavior of the PerpectiveManager. More... | |
Protected Member Functions | |
| void | showEvent (QShowEvent *) |
| Reimplemented to update the dialog with the information of. | |
| void | deletePerspective (QString name) |
| Removes the perspective with name: name. More... | |
A dialog that allows the user to choose or save one perspective.
Definition at line 34 of file PerspectiveManager.h.
| composer::gui::PerspectiveManager::PerspectiveManager | ( | QWidget * | parent = 0) |
Constructor.
| parent | The parent of this class. |
Definition at line 23 of file PerspectiveManager.cpp.
|
protected |
Removes the perspective with name: name.
| name | The name of the perspective to be removed. |
Definition at line 164 of file PerspectiveManager.cpp.
| QString composer::gui::PerspectiveManager::getDefaultPerspective | ( | ) |
Get the name of the default perspective the user has selected.
Definition at line 159 of file PerspectiveManager.cpp.
| QString composer::gui::PerspectiveManager::getSelectedName | ( | ) |
Get the name of the perspective the user has selected.
Definition at line 154 of file PerspectiveManager.cpp.
| void composer::gui::PerspectiveManager::setBehavior | ( | PERSPEC_BEHAVIOR | behavior) |
Set the current behavior of the PerpectiveManager.
This function must be called before the show event to have effect.
| behavior |
Definition at line 47 of file PerspectiveManager.cpp.