Commit 74719622 authored by Jan Möbius's avatar Jan Möbius

Document some ini flags

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10358 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 128bf02c
......@@ -94,9 +94,11 @@
* * Core/Gui/glViewer/maxFrameRate If restrictFrameRate is set to yes, this setting controls the maximum frameRate used (unsigned int)\n
* * Core/Gui/glViewer/useMultipleViewers Use only one viewer or automatically generate multiple viewers (bool)\n
* * Core/Gui/ToolBoxes/hidden Hide the toolbox sidebar (bool)\n
* * Core/Gui/ToolBoxes/ToolBoxOnTheRight Toolbox on the right or on the left (bool)\n
* * Core/Gui/LogWindow/LogWindowMode Log Window Mode .. 0 InScene, 1 Window, 2 Hidden (int)\n
* * Core/Gui/splash This setting controls if the splash screen is shown at startup(bool)\n
* * Core/Gui/fullscreen Show OpenFlipper in Fullscreen Mode(bool)\n
* * Core/Projection/FOVY Field of view for projection matrix in perspective mode(double)\n
*
* <b>File Handling</b>\n
* * Core/CurrentDir The current Directory of the Application \n
......
......@@ -267,7 +267,7 @@ void OptionsWidget::showEvent ( QShowEvent * /*event*/ ) {
logFile->setText( OpenFlipperSettings().value("Core/Log/logFile").toString() );
// UI settings
toolBoxOrientation->setCurrentIndex((OpenFlipperSettings().value("Core/Gui/ToolBoxOnTheRight").toBool() ? 0 : 1));
toolBoxOrientation->setCurrentIndex((OpenFlipperSettings().value("Core/Gui/ToolBoxes/ToolBoxOnTheRight").toBool() ? 0 : 1));
//stereo
......@@ -595,9 +595,7 @@ void OptionsWidget::slotApply() {
// Toolbox orientation
bool toolBoxOrientationChanged = !((OpenFlipperSettings().value("Core/Gui/ToolBoxOnTheRight", true).toBool() && (toolBoxOrientation->currentIndex() == 0)) ||
((!OpenFlipperSettings().value("Core/Gui/ToolBoxOnTheRight", true).toBool()) && (toolBoxOrientation->currentIndex() == 1)));
OpenFlipperSettings().setValue("Core/Gui/ToolBoxOnTheRight", (toolBoxOrientation->currentIndex() == 0));
OpenFlipperSettings().setValue("Core/Gui/ToolBoxes/ToolBoxOnTheRight", (toolBoxOrientation->currentIndex() == 0));
if ( iconDefault->isChecked() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment