|
BALL
1.5.0
|
#include <BALL/VIEW/DIALOGS/stageSettings.h>
Public Slots | |
| void | computeDefaultPressed () |
| void | loadEnvironmentMapPressed () |
| Show a QFileDialog to select a new environment texture map for the Scene. More... | |
| void | environmentMapChanged (bool active) |
| void | fogBoxChanged (bool active) |
| void | screenCountChanged (int number) |
| void | stereoScreenChanged (int new_screen) |
| void | identifyDisplays () |
| void | stereoModeChanged () |
Public Member Functions | |
| StageSettings (QWidget *parent=0, const char *name="StageSettings", Qt::WindowFlags fl=0) | |
| Constructor. More... | |
| ~StageSettings () | |
| Destructor. More... | |
| void | updateFromStage () |
| Get the values for Stageing from the stage. More... | |
| void | apply () |
| Apply the new values to the stage. More... | |
| void | getGLSettings () |
| int | getControlScreenNumber () const |
| int | getLeftEyeScreenNumber () const |
| int | getRightEyeScreenNumber () const |
| Renderer::StereoMode | getStereoMode () const |
| RenderSetup::RendererType | getControlScreenRendererType () const |
| RenderSetup::RendererType | getStereoScreensRendererType () const |
| QRect | getLeftEyeGeometry () const |
| QRect | getRightEyeGeometry () const |
| virtual bool | setValueAllowed (QObject *widget) |
| Allows to prevent restoring of widgets. More... | |
Public Member Functions inherited from BALL::VIEW::PreferencesEntry | |
| PreferencesEntry () | |
| virtual | ~PreferencesEntry () |
| virtual void | writePreferenceEntries (INIFile &inifile) |
| Store the settings of all registered objects. More... | |
| virtual void | readPreferenceEntries (const INIFile &inifile) |
| Restore the settings of all registered objects. More... | |
| void | setINIFileSectionName (const String &name) |
| Set the name for the section in the INIFile. More... | |
| const String & | getINIFileSectionName () const |
| Get the name for the section in the INIFile. More... | |
| void | setWidgetStackName (const String &name) |
| StackPages & | getStackPages () |
| Return all pages, that are to be shown in a parent QStackedWidget. More... | |
| void | setWidgetStack (QStackedWidget *stack) |
| virtual void | showStackPage (Position nr) |
| Show the specified page in the QStackedWidget. More... | |
| virtual void | showStackPage (QWidget *widget) |
| Show the specified page in the QStackedWidget. More... | |
| virtual Position | currentStackPage () const |
| Get the currently shown page in the QStackedWidget. More... | |
| virtual void | restoreDefaultValues (bool all=false) |
| Set all registered objects to their default values. More... | |
| virtual void | storeValues () |
| virtual void | restoreValues (bool all=false) |
| virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
Dialog for the Stage setup. Following options can be set:
Definition at line 50 of file stageSettings.h.
| BALL::VIEW::StageSettings::StageSettings | ( | QWidget * | parent = 0, |
| const char * | name = "StageSettings", |
||
| Qt::WindowFlags | fl = 0 |
||
| ) |
Constructor.
|
inline |
Destructor.
Definition at line 63 of file stageSettings.h.
| void BALL::VIEW::StageSettings::apply | ( | ) |
Apply the new values to the stage.
|
slot |
|
slot |
|
slot |
| int BALL::VIEW::StageSettings::getControlScreenNumber | ( | ) | const |
Return the screen number of the control screen in our stereo setup.
| RenderSetup::RendererType BALL::VIEW::StageSettings::getControlScreenRendererType | ( | ) | const |
Return the selected renderer for the control screen
| void BALL::VIEW::StageSettings::getGLSettings | ( | ) |
| QRect BALL::VIEW::StageSettings::getLeftEyeGeometry | ( | ) | const |
Return the screen geometry for the left eye
| int BALL::VIEW::StageSettings::getLeftEyeScreenNumber | ( | ) | const |
Return the screen number of the right eye in our stereo setup.
| QRect BALL::VIEW::StageSettings::getRightEyeGeometry | ( | ) | const |
Return the screen geometry for the right eye
| int BALL::VIEW::StageSettings::getRightEyeScreenNumber | ( | ) | const |
Return the screen number of the right eye in our stereo setup.
| Renderer::StereoMode BALL::VIEW::StageSettings::getStereoMode | ( | ) | const |
Return the chosen stereo mode
| RenderSetup::RendererType BALL::VIEW::StageSettings::getStereoScreensRendererType | ( | ) | const |
Return the selected renderer for the stereo screens
|
slot |
|
slot |
Show a QFileDialog to select a new environment texture map for the Scene.
|
slot |
Allows to prevent restoring of widgets.
Reimplemented from BALL::VIEW::PreferencesEntry.
|
slot |
|
slot |
| void BALL::VIEW::StageSettings::updateFromStage | ( | ) |
Get the values for Stageing from the stage.