Developer Documentation
|
#include <OpenFlipper/common/GlobalDefines.hh>
#include <ACG/Scenegraph/DrawModes.hh>
#include <QDir>
#include <QStringList>
#include <QColor>
#include <QIcon>
#include "OpenFlipperQSettings.hh"
Go to the source code of this file.
Functions | |
QDir | OpenFlipper::Options::applicationDir () |
Returns the base Path of the application. More... | |
QDir | OpenFlipper::Options::pluginDir () |
Returns the Path to the Standard Plugins. More... | |
QDir | OpenFlipper::Options::textureDir () |
Returns the Path to the Textures. More... | |
QDir | OpenFlipper::Options::licenseDir () |
Returns the Path to the License files. More... | |
QDir | OpenFlipper::Options::scriptDir () |
Returns the Path to the Scripts. More... | |
QDir | OpenFlipper::Options::shaderDir () |
Returns the Path to the shaders. More... | |
QDir | OpenFlipper::Options::iconDir () |
Returns the Path to the Icons. More... | |
QDir | OpenFlipper::Options::translationsDir () |
Returns the Path to the translation files. More... | |
QDir | OpenFlipper::Options::fontsDir () |
Returns the Path to Fonts. More... | |
QDir | OpenFlipper::Options::dataDir () |
Returns the Path to the main data directory. More... | |
QString | OpenFlipper::Options::applicationDirStr () |
Returns the base Path of the application. More... | |
QString | OpenFlipper::Options::pluginDirStr () |
Returns the Path to the Standard Plugins. More... | |
QString | OpenFlipper::Options::shaderDirStr () |
Returns the Path to the Shader directory. More... | |
QString | OpenFlipper::Options::textureDirStr () |
Returns the Path to the Textures. More... | |
QString | OpenFlipper::Options::licenseDirStr () |
Returns the Path to the License files. More... | |
QString | OpenFlipper::Options::scriptDirStr () |
Returns the Path to the Scripts. More... | |
QString | OpenFlipper::Options::iconDirStr () |
Returns the Path to the Icons. More... | |
QString | OpenFlipper::Options::dataDirStr () |
Returns the Path to the main data directory. More... | |
QIcon & | OpenFlipper::Options::OpenFlipperIcon () |
Returns the OpenFlipper Icon. More... | |
QString | OpenFlipper::Options::translationsDirStr () |
Returns the Path to the translation files. More... | |
QString | OpenFlipper::Options::fontsDirStr () |
Returns the Path to Fonts. More... | |
QString | OpenFlipper::Options::helpDirStr () |
Returns the Path to Help. More... | |
bool | OpenFlipper::Options::initializeSettings () |
Internal function called by the core to connect to the program options. More... | |
void | OpenFlipper::Options::closeSettings () |
Internal function called by the core to write the program options on exit. More... | |
Option files / paths | |
QString | OpenFlipper::Options::getGlobalIniFullPath () |
Get the path of the global options file. More... | |
QString | OpenFlipper::Options::getLocalIniFullPath () |
Get the path of the local options file. More... | |
QStringList | OpenFlipper::Options::optionFiles () |
DLLEXPORT void | OpenFlipper::Options::configDir (QDir _dir) |
Sets the Path to the configuration directory. | |
DLLEXPORT bool | OpenFlipper::Options::configDir (QString _dir) |
Sets the Path to the configuration directory. | |
QString | OpenFlipper::Options::configDirStr () |
Returns the base Path of the config Dir. More... | |
QDir | OpenFlipper::Options::configDir () |
Returns the base Path of the config Dir. More... | |
bool | OpenFlipper::Options::deleteIniFile () |
Returns true if ini-file should be deleted on exit. More... | |
void | OpenFlipper::Options::deleteIniFile (bool _delete) |
Set option to delete ini-files on exit. More... | |
current status | |
bool | OpenFlipper::Options::startup () |
Returns if the system is currently in a startup phase. More... | |
void | OpenFlipper::Options::finishedStartup () |
Set status to startup complete. More... | |
QString | OpenFlipper::Options::currentScriptDirStr () |
return the current script-directory More... | |
QDir | OpenFlipper::Options::currentScriptDir () |
return the current Script-directory More... | |
DLLEXPORT void | OpenFlipper::Options::currentScriptDir (QDir _dir) |
Sets the Path to the current Script-directory. | |
bool | OpenFlipper::Options::currentScriptDir (QString _dir) |
Sets the Path to the current Script-directory. More... | |
QString | OpenFlipper::Options::currentTextureDirStr () |
return the current texture-directory More... | |
QDir | OpenFlipper::Options::currentTextureDir () |
return the current texture-directory More... | |
DLLEXPORT void | OpenFlipper::Options::currentTextureDir (QDir _dir) |
Sets the Path to the current texture-directory. | |
bool | OpenFlipper::Options::currentTextureDir (QString _dir) |
Sets the Path to the current texture-directory. More... | |
QString | OpenFlipper::Options::lastDataType () |
return last used dataType More... | |
void | OpenFlipper::Options::lastDataType (QString _type) |
set the last used dataType More... | |
Architecture detection and Architecture specific stuff | |
bool | OpenFlipper::Options::is64bit () |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More... | |
bool | OpenFlipper::Options::is32bit () |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More... | |
bool | OpenFlipper::Options::isLinux () |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More... | |
bool | OpenFlipper::Options::isWindows () |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More... | |
bool | OpenFlipper::Options::isDarwin () |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More... | |
QString | OpenFlipper::Options::dirSeparator () |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" ) More... | |
Environment | |
QString | OpenFlipper::Options::lang () |
Returns the LANG environment variable string. More... | |
Scripting Options | |
bool | OpenFlipper::Options::scripting () |
void | OpenFlipper::Options::scripting (bool _status) |
Logging Options | |
bool | OpenFlipper::Options::logToConsole () |
Log to console output? More... | |
void | OpenFlipper::Options::logToConsole (bool _logToConsole) |
Log to console output? More... | |
bool | OpenFlipper::Options::debug () |
Give extra debug information. More... | |
void | OpenFlipper::Options::debug (bool _debug) |
Give extra debug information. More... | |
Backup operations | |
bool | OpenFlipper::Options::backupEnabled () |
Do backups? More... | |
void | OpenFlipper::Options::enableBackup (bool _enableBackup) |
Do backups? More... | |
Update blocking | |
Used to speedup system when creating/removing a lot of objects. This disables the analysis of the scenegraph used for rendering. | |
void | OpenFlipper::Options::blockSceneGraphUpdates () |
Block updates. More... | |
void | OpenFlipper::Options::unblockSceneGraphUpdates () |
unblockUpdates More... | |
bool | OpenFlipper::Options::sceneGraphUpdatesBlocked () |
Updates currently blocked? More... | |
Settings | |
bool | OpenFlipper::Options::savingSettings () |
currently saving Settings ? More... | |
void | OpenFlipper::Options::savingSettings (bool _savingSettings) |
currently saving Settings ? More... | |
bool | OpenFlipper::Options::loadingRecentFile () |
currently loading recent file ? More... | |
void | OpenFlipper::Options::loadingRecentFile (bool _loadingRecentFile) |
currently loading recent file ? More... | |
Core parameters | |
int * | OpenFlipper::Options::argc () |
Get the argc parameter from the main application. More... | |
char *** | OpenFlipper::Options::argv () |
Get the argv parameter from the main application. More... | |
void | OpenFlipper::Options::argc (int *_argc) |
Set the argc parameter from the main application ( Dont use it, only called from Core!!) More... | |
void | OpenFlipper::Options::argv (char ***_argv) |
Set the argv parameter from the main application ( Dont use it, only called from Core!!) More... | |
bool | OpenFlipper::Options::remoteControl () |
is the core remoteControlled? More... | |
void | OpenFlipper::Options::remoteControl (bool _remote) |
is the core remoteControlled? More... | |
int | OpenFlipper::Options::remoteControlPort () |
Get the remote control port. More... | |
void | OpenFlipper::Options::remoteControlPort (int _remotePort) |
Set the remote control port. More... | |
Debugging Options | |
void | OpenFlipper::Options::doSlotDebugging (bool _debugging) |
bool | OpenFlipper::Options::doSlotDebugging () |
Version information | |
QString | OpenFlipper::Options::coreVersion () |
Version of OpenFlipper Core. More... | |
QString | OpenFlipper::Options::compilerInfo () |
Information about the used compiler. More... | |
Persistent settings | |
#define | STRINGIFY(x) #x |
QSettings object containing all program settings of OpenFlipper. More... | |
#define | TOSTRING(x) STRINGIFY(x) |
QSettings object containing all program settings of OpenFlipper. More... | |
DLLEXPORT OpenFlipperQSettings & | OpenFlipperSettings () |
QSettings object containing all program settings of OpenFlipper. More... | |
Visualization Control | |
enum | OpenFlipper::Options::StereoMode { OpenGL , AnaglyphRedCyan , AnaglyphCustom } |
Stereo mode. More... | |
void | OpenFlipper::Options::nogui (bool _nogui) |
Store if a gui should be visible or not. More... | |
bool | OpenFlipper::Options::nogui () |
get if a gui should be visible or not More... | |
bool | OpenFlipper::Options::gui () |
get if a gui should be visible or not More... | |
void | OpenFlipper::Options::coreProfile (bool _enableCoreProfile, bool _temporary) |
Store opengl core profile setting. More... | |
bool | OpenFlipper::Options::coreProfile () |
get opengl core profile setting More... | |
QPair< int, int > | OpenFlipper::Options::glVersion () |
get opengl version setting More... | |
void | OpenFlipper::Options::glVersion (const QPair< int, int > &_version, bool _temporary) |
Store opengl version setting. More... | |
void | OpenFlipper::Options::samples (int _samples, bool _temporary) |
Store opengl MSAA sample count. More... | |
int | OpenFlipper::Options::samples () |
Get opengl MSAA sample count. More... | |
void | OpenFlipper::Options::stereo (bool _stereo) |
Store stereo setting. More... | |
bool | OpenFlipper::Options::stereo () |
get current stereo setting More... | |
void | OpenFlipper::Options::glStereo (bool _glStereo, bool _temporary) |
Store opengl stereo mode setting. More... | |
bool | OpenFlipper::Options::glStereo () |
get current opengl stereo setting More... | |
bool | OpenFlipper::Options::glStereoRequested () |
get the glStereo flag that was used to request the opengl context More... | |
void | OpenFlipper::Options::stereoMode (StereoMode _mode) |
Store stereo mode setting. More... | |
StereoMode | OpenFlipper::Options::stereoMode () |
get current stereo mode setting More... | |
void | OpenFlipper::Options::anaglyphLeftEyeColorMatrix (std::vector< float > _mat) |
Store the 3x3 left eye color matrix values for custom anaglyph stereo mode. More... | |
std::vector< float > | OpenFlipper::Options::anaglyphLeftEyeColorMatrix () |
get the 3x3 left eye color matrix values for custom anaglyph stereo mode More... | |
void | OpenFlipper::Options::anaglyphRightEyeColorMatrix (std::vector< float > _mat) |
Store the 3x3 right eye color matrix values for custom anaglyph stereo mode. More... | |
std::vector< float > | OpenFlipper::Options::anaglyphRightEyeColorMatrix () |
get the 3x3 right eye color matrix values for custom anaglyph stereo mode More... | |
void | OpenFlipper::Options::synchronization (bool _synchronization) |
Store synchronization mode setting. More... | |
bool | OpenFlipper::Options::synchronization () |
get current synchronization setting More... | |
void | OpenFlipper::Options::defaultDrawMode (ACG::SceneGraph::DrawModes::DrawMode _mode, int _viewer) |
Store defaultDrawMode setting. More... | |
ACG::SceneGraph::DrawModes::DrawMode | OpenFlipper::Options::defaultDrawMode (int _viewer) |
get defaultDrawMode setting More... | |
void | OpenFlipper::Options::defaultPerspectiveProjectionMode (bool _mode, int _viewer) |
Store defaultProjectionMode setting. More... | |
bool | OpenFlipper::Options::defaultPerspectiveProjectionMode (int _viewer) |
get defaultProjectionMode setting More... | |
void | OpenFlipper::Options::defaultViewingDirection (int _mode, int _viewer) |
Store defaultViewingDirection setting. More... | |
int | OpenFlipper::Options::defaultViewingDirection (int _viewer) |
get defaultViewingDirection setting More... | |
void | OpenFlipper::Options::defaultLockRotation (bool _mode, int _viewer) |
Store lockrotation setting. More... | |
bool | OpenFlipper::Options::defaultLockRotation (int _viewer) |
get lockrotation setting More... | |
void | OpenFlipper::Options::defaultViewerLayout (int _layout) |
Store defaultViewerLayout setting. More... | |
int | OpenFlipper::Options::defaultViewerLayout () |
get defaultViewerLayout setting More... | |
void | OpenFlipper::Options::redrawDisabled (bool disable) |
Store disableRedraw setting. More... | |
bool | OpenFlipper::Options::redrawDisabled () |
get disableRedraw setting More... | |
bool | OpenFlipper::Options::drawModesInContextMenu () |
Get the flag if a drawMode Menu should always be visible in the context menu. More... | |
void | OpenFlipper::Options::drawModesInContextMenu (bool _show) |
Set the flag if a drawMode Menu should always be visible in the context menu. More... | |
GUI Control | |
enum | OpenFlipper::Options::LoggerState { InScene , Normal , Hidden } |
State of the logging widget. More... | |
unsigned int | OpenFlipper::Options::examinerWidgets () |
Number of examiner widgets. More... | |
void | OpenFlipper::Options::loggerState (LoggerState _state) |
Set to current. More... | |
LoggerState | OpenFlipper::Options::loggerState () |
Current state of the logging window? More... | |
QString | OpenFlipper::Options::currentViewMode () |
Which mode should is currently selected? More... | |
void | OpenFlipper::Options::currentViewMode (QString _mode) |
Which view mode is currently selected? More... | |
QString | OpenFlipper::Options::windowTitle () |
Titel of the main window. More... | |
void | OpenFlipper::Options::windowTitle (QString _titel) |
Set title of the main window. More... | |
void | OpenFlipper::Options::defaultColor (QColor _color) |
Default color for objects. More... | |
QColor | OpenFlipper::Options::defaultColor () |
Default color for objects. More... | |
void | OpenFlipper::Options::randomDefaultColor (bool _random) |
use randomized color as default for objects More... | |
bool | OpenFlipper::Options::randomDefaultColor () |
use randomized color as default for objects More... | |
This Header provides access to globally defined variables such as Aplication Directories. You may use these Functions inside your plugins.
Definition in file GlobalOptions.hh.
#define STRINGIFY | ( | x | ) | #x |
QSettings object containing all program settings of OpenFlipper.
To get the settings use:
OpenFlipperSettings().value("<Key>").toDouble();
OpenFlipperSettings().value("<Key>").toBool();
To change settings do:
OpenFlipperSettings().setValue("<Key>","<Value>");
For detailed info about the values see the documentation of QSettings and the QVariant.
The following entries are available through the settings:
User Interface Settings
Mouse Controls
Definition at line 156 of file GlobalOptions.hh.
#define TOSTRING | ( | x | ) | STRINGIFY(x) |
QSettings object containing all program settings of OpenFlipper.
To get the settings use:
OpenFlipperSettings().value("<Key>").toDouble();
OpenFlipperSettings().value("<Key>").toBool();
To change settings do:
OpenFlipperSettings().setValue("<Key>","<Value>");
For detailed info about the values see the documentation of QSettings and the QVariant.
The following entries are available through the settings:
User Interface Settings
Mouse Controls
Definition at line 157 of file GlobalOptions.hh.
State of the logging widget.
Definition at line 568 of file GlobalOptions.hh.
Stereo mode.
Definition at line 446 of file GlobalOptions.hh.
DLLEXPORT std::vector< float > OpenFlipper::Options::anaglyphLeftEyeColorMatrix | ( | ) |
get the 3x3 left eye color matrix values for custom anaglyph stereo mode
Definition at line 533 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::anaglyphLeftEyeColorMatrix | ( | std::vector< float > | _mat | ) |
Store the 3x3 left eye color matrix values for custom anaglyph stereo mode.
Definition at line 526 of file GlobalOptions.cc.
DLLEXPORT std::vector< float > OpenFlipper::Options::anaglyphRightEyeColorMatrix | ( | ) |
get the 3x3 right eye color matrix values for custom anaglyph stereo mode
Definition at line 546 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::anaglyphRightEyeColorMatrix | ( | std::vector< float > | _mat | ) |
Store the 3x3 right eye color matrix values for custom anaglyph stereo mode.
Definition at line 539 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::applicationDir | ( | ) |
Returns the base Path of the application.
Definition at line 262 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::applicationDirStr | ( | ) |
Returns the base Path of the application.
Definition at line 278 of file GlobalOptions.cc.
DLLEXPORT int * OpenFlipper::Options::argc | ( | ) |
Get the argc parameter from the main application.
Definition at line 817 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::argc | ( | int * | _argc | ) |
Set the argc parameter from the main application ( Dont use it, only called from Core!!)
Definition at line 825 of file GlobalOptions.cc.
DLLEXPORT char *** OpenFlipper::Options::argv | ( | ) |
Get the argv parameter from the main application.
Definition at line 821 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::argv | ( | char *** | _argv | ) |
Set the argv parameter from the main application ( Dont use it, only called from Core!!)
Definition at line 829 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::backupEnabled | ( | ) |
Do backups?
Definition at line 775 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::blockSceneGraphUpdates | ( | ) |
Block updates.
Definition at line 783 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::closeSettings | ( | ) |
Internal function called by the core to write the program options on exit.
Definition at line 1040 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::compilerInfo | ( | ) |
Information about the used compiler.
Definition at line 1046 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::configDir | ( | ) |
Returns the base Path of the config Dir.
Definition at line 263 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::configDirStr | ( | ) |
Returns the base Path of the config Dir.
Definition at line 279 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::coreProfile | ( | ) |
get opengl core profile setting
Definition at line 409 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::coreProfile | ( | bool | _enableCoreProfile, |
bool | _temporary | ||
) |
Store opengl core profile setting.
Definition at line 398 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::coreVersion | ( | ) |
Version of OpenFlipper Core.
Definition at line 857 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::currentScriptDir | ( | ) |
return the current Script-directory
Definition at line 275 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::currentScriptDir | ( | QString | _dir | ) |
Sets the Path to the current Script-directory.
Definition at line 346 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::currentScriptDirStr | ( | ) |
return the current script-directory
Definition at line 291 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::currentTextureDir | ( | ) |
return the current texture-directory
Definition at line 276 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::currentTextureDir | ( | QString | _dir | ) |
Sets the Path to the current texture-directory.
Definition at line 355 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::currentTextureDirStr | ( | ) |
return the current texture-directory
Definition at line 292 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::currentViewMode | ( | ) |
Which mode should is currently selected?
Which view mode is currently selected?
Definition at line 707 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::currentViewMode | ( | QString | _mode | ) |
Which view mode is currently selected?
Definition at line 712 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::dataDir | ( | ) |
Returns the Path to the main data directory.
Definition at line 273 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::dataDirStr | ( | ) |
Returns the Path to the main data directory.
Definition at line 289 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::debug | ( | ) |
Give extra debug information.
Definition at line 767 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::debug | ( | bool | _debug | ) |
Give extra debug information.
Definition at line 771 of file GlobalOptions.cc.
DLLEXPORT QColor OpenFlipper::Options::defaultColor | ( | ) |
Default color for objects.
Definition at line 729 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::defaultColor | ( | QColor | _color | ) |
Default color for objects.
Definition at line 725 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::defaultDrawMode | ( | ACG::SceneGraph::DrawModes::DrawMode | _mode, |
int | _viewer | ||
) |
Store defaultDrawMode setting.
Definition at line 561 of file GlobalOptions.cc.
DLLEXPORT ACG::SceneGraph::DrawModes::DrawMode OpenFlipper::Options::defaultDrawMode | ( | int | _viewer | ) |
get defaultDrawMode setting
Definition at line 565 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::defaultLockRotation | ( | bool | _lock, |
int | _viewer | ||
) |
Store lockrotation setting.
Definition at line 625 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::defaultLockRotation | ( | int | _viewer | ) |
get lockrotation setting
Definition at line 630 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::defaultPerspectiveProjectionMode | ( | bool | _mode, |
int | _viewer | ||
) |
Store defaultProjectionMode setting.
Perspective projection = true; Orthogonal Projection = false;
Definition at line 569 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::defaultPerspectiveProjectionMode | ( | int | _viewer | ) |
get defaultProjectionMode setting
Definition at line 578 of file GlobalOptions.cc.
DLLEXPORT int OpenFlipper::Options::defaultViewerLayout | ( | ) |
get defaultViewerLayout setting
Definition at line 656 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::defaultViewerLayout | ( | int | _layout | ) |
Store defaultViewerLayout setting.
Definition at line 652 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::defaultViewingDirection | ( | int | _mode, |
int | _viewer | ||
) |
Store defaultViewingDirection setting.
Definition at line 599 of file GlobalOptions.cc.
DLLEXPORT int OpenFlipper::Options::defaultViewingDirection | ( | int | _viewer | ) |
get defaultViewingDirection setting
Definition at line 604 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::deleteIniFile | ( | ) |
Returns true if ini-file should be deleted on exit.
Definition at line 368 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::deleteIniFile | ( | bool | _delete | ) |
Set option to delete ini-files on exit.
Definition at line 364 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::dirSeparator | ( | ) |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )
Definition at line 253 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::doSlotDebugging | ( | ) |
If you enable slot debugging, for some slots will be displayed who called them. Currently supported slots are:
Definition at line 853 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::doSlotDebugging | ( | bool | _debugging | ) |
If you enable slot debugging, for some slots will be displayed who called them. Currently supported slots are:
Definition at line 849 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::drawModesInContextMenu | ( | ) |
Get the flag if a drawMode Menu should always be visible in the context menu.
Definition at line 674 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::drawModesInContextMenu | ( | bool | _show | ) |
Set the flag if a drawMode Menu should always be visible in the context menu.
Definition at line 678 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::enableBackup | ( | bool | _enableBackup | ) |
Do backups?
Definition at line 779 of file GlobalOptions.cc.
DLLEXPORT unsigned int OpenFlipper::Options::examinerWidgets | ( | ) |
Number of examiner widgets.
Definition at line 682 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::finishedStartup | ( | ) |
Set status to startup complete.
Definition at line 318 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::fontsDir | ( | ) |
Returns the Path to Fonts.
Definition at line 271 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::fontsDirStr | ( | ) |
Returns the Path to Fonts.
Definition at line 287 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::getGlobalIniFullPath | ( | ) |
Get the path of the global options file.
Definition at line 295 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::getLocalIniFullPath | ( | ) |
Get the path of the local options file.
Definition at line 300 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::glStereo | ( | ) |
get current opengl stereo setting
will be set in core is opengl stereo is supported
Definition at line 480 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::glStereo | ( | bool | _glStereo, |
bool | _temporary | ||
) |
Store opengl stereo mode setting.
Store opengl stereo support setting.
Definition at line 464 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::glStereoRequested | ( | ) |
get the glStereo flag that was used to request the opengl context
will be set in core is opengl stereo is supported
Definition at line 488 of file GlobalOptions.cc.
DLLEXPORT QPair< int, int > OpenFlipper::Options::glVersion | ( | ) |
get opengl version setting
Definition at line 417 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::glVersion | ( | const QPair< int, int > & | _version, |
bool | _temporary | ||
) |
Store opengl version setting.
set opengl version setting
Definition at line 430 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::gui | ( | ) |
get if a gui should be visible or not
Definition at line 383 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::helpDirStr | ( | ) |
Returns the Path to Help.
Definition at line 288 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::iconDir | ( | ) |
Returns the Path to the Icons.
Definition at line 269 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::iconDirStr | ( | ) |
Returns the Path to the Icons.
Definition at line 285 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::initializeSettings | ( | ) |
Internal function called by the core to connect to the program options.
Definition at line 866 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::is32bit | ( | ) |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )
Definition at line 233 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::is64bit | ( | ) |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )
Definition at line 232 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::isDarwin | ( | ) |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )
Definition at line 243 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::isLinux | ( | ) |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )
Definition at line 235 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::isWindows | ( | ) |
Returns the right separator String for this architecture ( Linux: "/" Windows: "\" )
Definition at line 239 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::lang | ( | ) |
Returns the LANG environment variable string.
Definition at line 248 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::lastDataType | ( | ) |
return last used dataType
Definition at line 742 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::lastDataType | ( | QString | _type | ) |
set the last used dataType
Definition at line 747 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::licenseDir | ( | ) |
Returns the Path to the License files.
Definition at line 267 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::licenseDirStr | ( | ) |
Returns the Path to the License files.
Definition at line 283 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::loadingRecentFile | ( | ) |
currently loading recent file ?
Definition at line 809 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::loadingRecentFile | ( | bool | _loadingRecentFile | ) |
currently loading recent file ?
Definition at line 813 of file GlobalOptions.cc.
DLLEXPORT LoggerState OpenFlipper::Options::loggerState | ( | ) |
Current state of the logging window?
What is the current state of the logging widget?
Definition at line 695 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::loggerState | ( | LoggerState | _state | ) |
DLLEXPORT bool OpenFlipper::Options::logToConsole | ( | ) |
Log to console output?
Definition at line 759 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::logToConsole | ( | bool | _logToConsole | ) |
Log to console output?
Definition at line 763 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::nogui | ( | ) |
get if a gui should be visible or not
Definition at line 378 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::nogui | ( | bool | _nogui | ) |
Store if a gui should be visible or not.
Definition at line 373 of file GlobalOptions.cc.
DLLEXPORT QIcon & OpenFlipper::Options::OpenFlipperIcon | ( | ) |
Returns the OpenFlipper Icon.
Definition at line 320 of file GlobalOptions.cc.
DLLEXPORT OpenFlipperQSettings & OpenFlipperSettings | ( | ) |
QSettings object containing all program settings of OpenFlipper.
To get the settings use:
OpenFlipperSettings().value("<Key>").toDouble();
OpenFlipperSettings().value("<Key>").toBool();
To change settings do:
OpenFlipperSettings().setValue("<Key>","<Value>");
For detailed info about the values see the documentation of QSettings and the QVariant.
The following entries are available through the settings:
User Interface Settings
Mouse Controls
Definition at line 1053 of file GlobalOptions.cc.
DLLEXPORT QStringList OpenFlipper::Options::optionFiles | ( | ) |
returns a list of all available option files OpenFlipper uses a global option file, next to the Application and a local options file in the users home directory
Definition at line 305 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::pluginDir | ( | ) |
Returns the Path to the Standard Plugins.
Definition at line 264 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::pluginDirStr | ( | ) |
Returns the Path to the Standard Plugins.
Definition at line 280 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::randomDefaultColor | ( | ) |
use randomized color as default for objects
Definition at line 737 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::randomDefaultColor | ( | bool | _random | ) |
use randomized color as default for objects
Definition at line 733 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::redrawDisabled | ( | ) |
get disableRedraw setting
Definition at line 670 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::redrawDisabled | ( | bool | disable | ) |
Store disableRedraw setting.
Definition at line 660 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::remoteControl | ( | ) |
is the core remoteControlled?
Definition at line 833 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::remoteControl | ( | bool | _remote | ) |
is the core remoteControlled?
Definition at line 837 of file GlobalOptions.cc.
DLLEXPORT int OpenFlipper::Options::remoteControlPort | ( | ) |
Get the remote control port.
Definition at line 841 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::remoteControlPort | ( | int | _remotePort | ) |
Set the remote control port.
Definition at line 845 of file GlobalOptions.cc.
DLLEXPORT int OpenFlipper::Options::samples | ( | ) |
Get opengl MSAA sample count.
Definition at line 456 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::samples | ( | int | _samples, |
bool | _temporary | ||
) |
Store opengl MSAA sample count.
Definition at line 445 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::savingSettings | ( | ) |
currently saving Settings ?
Definition at line 801 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::savingSettings | ( | bool | _savingSettings | ) |
currently saving Settings ?
Definition at line 805 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::sceneGraphUpdatesBlocked | ( | ) |
Updates currently blocked?
Definition at line 794 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::scriptDir | ( | ) |
Returns the Path to the Scripts.
Definition at line 268 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::scriptDirStr | ( | ) |
Returns the Path to the Scripts.
Definition at line 284 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::scripting | ( | ) |
Scripting status. If this flag is set to true, you should not call functions for multiple objects. Or do remote procedure calls to functions which add scripting commands. As this might call functions twice when executed via scripts. See the scripting plugin for additional information
Definition at line 751 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::scripting | ( | bool | _status | ) |
Toggle scripting status (normally done by the Scripting plugin only)
Definition at line 755 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::shaderDir | ( | ) |
Returns the Path to the shaders.
Definition at line 265 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::shaderDirStr | ( | ) |
Returns the Path to the Shader directory.
Definition at line 281 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::startup | ( | ) |
Returns if the system is currently in a startup phase.
Definition at line 316 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::stereo | ( | ) |
get current stereo setting
get current stereo support setting
Definition at line 393 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::stereo | ( | bool | _stereo | ) |
Store stereo setting.
Store stereo support setting.
Definition at line 388 of file GlobalOptions.cc.
DLLEXPORT StereoMode OpenFlipper::Options::stereoMode | ( | ) |
get current stereo mode setting
Definition at line 498 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::stereoMode | ( | StereoMode | _mode | ) |
Store stereo mode setting.
Definition at line 493 of file GlobalOptions.cc.
DLLEXPORT bool OpenFlipper::Options::synchronization | ( | ) |
get current synchronization setting
Definition at line 557 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::synchronization | ( | bool | _synchronization | ) |
Store synchronization mode setting.
Store synchronization setting.
Definition at line 552 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::textureDir | ( | ) |
Returns the Path to the Textures.
Definition at line 266 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::textureDirStr | ( | ) |
Returns the Path to the Textures.
Definition at line 282 of file GlobalOptions.cc.
DLLEXPORT QDir OpenFlipper::Options::translationsDir | ( | ) |
Returns the Path to the translation files.
Definition at line 270 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::translationsDirStr | ( | ) |
Returns the Path to the translation files.
Definition at line 286 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::unblockSceneGraphUpdates | ( | ) |
unblockUpdates
Definition at line 787 of file GlobalOptions.cc.
DLLEXPORT QString OpenFlipper::Options::windowTitle | ( | ) |
Titel of the main window.
Definition at line 717 of file GlobalOptions.cc.
DLLEXPORT void OpenFlipper::Options::windowTitle | ( | QString | _titel | ) |
Set title of the main window.
Definition at line 721 of file GlobalOptions.cc.