diff --git a/interface/resources/styles/preferences.qss b/interface/resources/styles/preferences.qss deleted file mode 100644 index 40e35c8e52..0000000000 --- a/interface/resources/styles/preferences.qss +++ /dev/null @@ -1,23 +0,0 @@ -QLabel#avatarLabel { - background-image: url(styles/avatar.svg); - background-repeat: no-repeat; - background-position: left center; -} - -QLabel#advancedTuningLabel { - background-image: url(styles/wrench.svg); - background-repeat: no-repeat; - background-position: left center; -} - -QPushButton#buttonBrowseHead, -QPushButton#buttonBrowseBody, -QPushButton#buttonBrowseLocation, -QPushButton#buttonBrowseScriptsLocation { - background-image: url(styles/search.svg); - background-repeat: no-repeat; - background-position: center center; - background-color: #fff; - border-radius: 0; - padding: 0; -} diff --git a/interface/src/Menu.cpp b/interface/src/Menu.cpp index 44f2c7a787..11c98c738c 100644 --- a/interface/src/Menu.cpp +++ b/interface/src/Menu.cpp @@ -1085,7 +1085,7 @@ void Menu::showLoginForCurrentDomain() { void Menu::editPreferences() { if (!_preferencesDialog) { - _preferencesDialog = new PreferencesDialog(Application::getInstance()->getWindow()); + _preferencesDialog = new PreferencesDialog(); _preferencesDialog->show(); } else { _preferencesDialog->close(); diff --git a/interface/src/ui/PreferencesDialog.cpp b/interface/src/ui/PreferencesDialog.cpp index d563e92e35..47cb9bad88 100644 --- a/interface/src/ui/PreferencesDialog.cpp +++ b/interface/src/ui/PreferencesDialog.cpp @@ -16,16 +16,15 @@ #include "PreferencesDialog.h" #include "UserActivityLogger.h" -const int SCROLL_PANEL_BOTTOM_MARGIN = 30; -const int OK_BUTTON_RIGHT_MARGIN = 30; -const int BUTTONS_TOP_MARGIN = 24; +const int PREFERENCES_HEIGHT_PADDING = 20; -PreferencesDialog::PreferencesDialog(QWidget* parent, Qt::WindowFlags flags) : FramelessDialog(parent, flags, POSITION_LEFT) { +PreferencesDialog::PreferencesDialog() : + QDialog(Application::getInstance()->getWindow()) { + + setAttribute(Qt::WA_DeleteOnClose); ui.setupUi(this); - setStyleSheetFile("styles/preferences.qss"); loadPreferences(); - connect(ui.closeButton, &QPushButton::clicked, this, &QDialog::close); connect(ui.buttonBrowseHead, &QPushButton::clicked, this, &PreferencesDialog::openHeadModelBrowser); connect(ui.buttonBrowseBody, &QPushButton::clicked, this, &PreferencesDialog::openBodyModelBrowser); @@ -33,6 +32,9 @@ PreferencesDialog::PreferencesDialog(QWidget* parent, Qt::WindowFlags flags) : F connect(ui.buttonBrowseScriptsLocation, &QPushButton::clicked, this, &PreferencesDialog::openScriptsLocationBrowser); connect(ui.buttonReloadDefaultScripts, &QPushButton::clicked, Application::getInstance(), &Application::loadDefaultScripts); + // move dialog to left side + move(parentWidget()->geometry().topLeft()); + setFixedHeight(parentWidget()->size().height() - PREFERENCES_HEIGHT_PADDING); } void PreferencesDialog::accept() { @@ -49,78 +51,48 @@ void PreferencesDialog::setSkeletonUrl(QString modelUrl) { } void PreferencesDialog::openHeadModelBrowser() { - setWindowFlags(windowFlags() & ~Qt::WindowStaysOnTopHint); - show(); - ModelsBrowser modelBrowser(HEAD_MODEL); connect(&modelBrowser, &ModelsBrowser::selected, this, &PreferencesDialog::setHeadUrl); modelBrowser.browse(); - - setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint); - show(); } void PreferencesDialog::openBodyModelBrowser() { - setWindowFlags(windowFlags() & ~Qt::WindowStaysOnTopHint); - show(); - ModelsBrowser modelBrowser(SKELETON_MODEL); connect(&modelBrowser, &ModelsBrowser::selected, this, &PreferencesDialog::setSkeletonUrl); modelBrowser.browse(); - - setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint); - show(); } void PreferencesDialog::openSnapshotLocationBrowser() { - setWindowFlags(windowFlags() & ~Qt::WindowStaysOnTopHint); - show(); - QString dir = QFileDialog::getExistingDirectory(this, tr("Snapshots Location"), QStandardPaths::writableLocation(QStandardPaths::DesktopLocation), QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks); if (!dir.isNull() && !dir.isEmpty()) { ui.snapshotLocationEdit->setText(dir); } - - setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint); - show(); } void PreferencesDialog::openScriptsLocationBrowser() { - setWindowFlags(windowFlags() & ~Qt::WindowStaysOnTopHint); - show(); - QString dir = QFileDialog::getExistingDirectory(this, tr("Scripts Location"), ui.scriptsLocationEdit->text(), QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks); if (!dir.isNull() && !dir.isEmpty()) { ui.scriptsLocationEdit->setText(dir); } - - setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint); - show(); } void PreferencesDialog::resizeEvent(QResizeEvent *resizeEvent) { - + // keep buttons panel at the bottom - ui.buttonsPanel->setGeometry(0, size().height() - ui.buttonsPanel->height(), size().width(), ui.buttonsPanel->height()); - + ui.buttonsPanel->setGeometry(0, + size().height() - ui.buttonsPanel->height(), + size().width(), + ui.buttonsPanel->height()); + // set width and height of srcollarea to match bottom panel and width ui.scrollArea->setGeometry(ui.scrollArea->geometry().x(), ui.scrollArea->geometry().y(), size().width(), - size().height() - ui.buttonsPanel->height() - - SCROLL_PANEL_BOTTOM_MARGIN - ui.scrollArea->geometry().y()); - - // move Save button to left position - ui.defaultButton->move(size().width() - OK_BUTTON_RIGHT_MARGIN - ui.defaultButton->size().width(), BUTTONS_TOP_MARGIN); - - // move Save button to left position - ui.cancelButton->move(ui.defaultButton->pos().x() - ui.cancelButton->size().width(), BUTTONS_TOP_MARGIN); - - // move close button - ui.closeButton->move(size().width() - OK_BUTTON_RIGHT_MARGIN - ui.closeButton->size().width(), ui.closeButton->pos().y()); + size().height() - ui.buttonsPanel->height() - ui.scrollArea->geometry().y()); + } void PreferencesDialog::loadPreferences() { diff --git a/interface/src/ui/PreferencesDialog.h b/interface/src/ui/PreferencesDialog.h index 0573304eda..f2646080ef 100644 --- a/interface/src/ui/PreferencesDialog.h +++ b/interface/src/ui/PreferencesDialog.h @@ -12,20 +12,20 @@ #ifndef hifi_PreferencesDialog_h #define hifi_PreferencesDialog_h -#include "FramelessDialog.h" #include "ui_preferencesDialog.h" +#include #include -class PreferencesDialog : public FramelessDialog { +class PreferencesDialog : public QDialog { Q_OBJECT public: - PreferencesDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0); + PreferencesDialog(); protected: void resizeEvent(QResizeEvent* resizeEvent); - + private: void loadPreferences(); void savePreferences(); diff --git a/interface/ui/preferencesDialog.ui b/interface/ui/preferencesDialog.ui index e35c66af5a..9b6e381602 100644 --- a/interface/ui/preferencesDialog.ui +++ b/interface/ui/preferencesDialog.ui @@ -1,13 +1,13 @@ PreferencesDialog - + 0 0 - 638 - 652 + 500 + 554 @@ -18,126 +18,31 @@ - 610 + 500 0 - - 0.950000000000000 + + + 500 + 16777215 + - - - - 0 - 560 - 611 - 97 - - - - - 0 - 0 - - - - - 0 - 97 - - - - - Arial - - - - background-color: #0e7077 - - - - - 310 - 24 - 91 - 50 - - - - - 0 - 0 - - - - - 0 - 50 - - - - - Arial - 18 - 50 - false - - - - - - - Cancel - - - - - - 400 - 24 - 188 - 50 - - - - - 0 - 0 - - - - - 188 - 49 - - - - - Arial - 18 - - - - background-color: #fff; -color: #0e7077 - - - Save all changes - - - true - - - 0 - 30 - 494 - 361 + 0 + 500 + 491 + + + 0 + 0 + + QFrame::NoFrame @@ -155,8 +60,8 @@ color: #0e7077 0 0 - 494 - 1456 + 500 + 1386 @@ -176,27 +81,38 @@ color: #0e7077 30 - - - - 0 - 0 - + + + + 0 + 40 + + + + + 0 + 40 + Arial - 24 + 18 + 75 + true - color: #0e7077 + color:#29967e - Avatar + Avatar basics - - 25 + + Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft + + + 0 @@ -211,18 +127,15 @@ color: #0e7077 0 - 30 + 28 Arial - 16 + 14 - - color: #0e7077 - <html><head/><body><p>Avatar display name <span style=" color:#909090;">(optional)</span></p></body></html> @@ -275,18 +188,15 @@ color: #0e7077 0 - 30 + 28 Arial - 16 + 14 - - color: #0e7077 - Head @@ -311,11 +221,6 @@ color: #0e7077 0 - - - Arial - - @@ -328,7 +233,7 @@ color: #0e7077 - 20 + 5 20 @@ -336,34 +241,18 @@ color: #0e7077 - - - 0 - 0 - - - - - 30 - 30 - - - - - 30 - 30 - - - - + + + Arial + - + Browse - 30 - 30 + 0 + 0 @@ -381,18 +270,15 @@ color: #0e7077 0 - 30 + 28 Arial - 16 + 14 - - color: #0e7077 - Body @@ -414,11 +300,6 @@ color: #0e7077 0 - - - Arial - - @@ -431,7 +312,7 @@ color: #0e7077 - 20 + 5 20 @@ -439,34 +320,18 @@ color: #0e7077 - - - 0 - 0 - - - - - 30 - 30 - - - - - 30 - 30 - - - - + + + Arial + - + Browse - 30 - 30 + 0 + 0 @@ -490,13 +355,13 @@ color: #0e7077 Arial - 20 - 50 - false + 18 + 75 + true - color: #0e7077 + color:#29967e Snapshots @@ -517,18 +382,15 @@ color: #0e7077 0 - 30 + 22 Arial - 16 + 13 - - color: #0e7077 - Place my Snapshots here: @@ -570,7 +432,7 @@ color: #0e7077 - 20 + 5 20 @@ -578,34 +440,18 @@ color: #0e7077 - - - 0 - 0 - - - - - 30 - 30 - - - - - 30 - 30 - - - - + + + Arial + - + Browse - 30 - 30 + 0 + 0 @@ -629,13 +475,13 @@ color: #0e7077 Arial - 20 - 50 - false + 18 + 75 + true - color: #0e7077 + color:#29967e Scripts @@ -656,18 +502,15 @@ color: #0e7077 0 - 30 + 22 Arial - 16 + 13 - - color: #0e7077 - Load scripts from this directory: @@ -709,7 +552,7 @@ color: #0e7077 - 20 + 5 20 @@ -717,34 +560,18 @@ color: #0e7077 - - - 0 - 0 - - - - - 30 - 30 - - - - - 30 - 30 - - - - + + + Arial + - + Browse - 30 - 30 + 0 + 0 @@ -752,42 +579,33 @@ color: #0e7077 - - - - - - - 0 - 0 - - - - background: #0e7077; -color: #fff; -border-radius: 4px; -font: bold 14px; -padding: 10px;margin-top:10px - - - Load Default Scripts - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + + + + 0 + 0 + + + + + 150 + 0 + + + + + 300 + 0 + + + + + Arial + + + + Load Default Scripts + @@ -801,17 +619,19 @@ padding: 10px;margin-top:10px 0 - 30 + 40 Arial - 16 + 18 + 75 + true - color: #0e7077 + color:#29967e Privacy @@ -828,116 +648,20 @@ padding: 10px;margin-top:10px - - - 0 - - - 10 - - - 0 - - - 10 - - - - - - Arial - - - - color: rgb(51, 51, 51) - - - Send data - - - 15 - - - maxVoxelsSpin - - - - - - - - Arial - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 32 - 0 - - - - - 0 - 0 - - - - - - - - 32 - 32 - - - - true - - - - - - - - - Qt::Vertical - - - - 0 - 35 - - - - - - + - + 0 0 + + 32 + 28 + + + 0 0 @@ -946,51 +670,16 @@ padding: 10px;margin-top:10px Arial - 24 - - color: #0e7077 - - Advanced Tuning + Send data - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - 25 - - - - - - - - 0 - 0 - - - - - Arial - 16 - - - - true - - - color: rgb(51, 51, 51); - - - It's not recomended that you play with these settings unless you've looked into exactly what they do. - - - false - - - true + + + 0 + 0 + @@ -1011,16 +700,16 @@ padding: 10px;margin-top:10px Arial - 20 - 50 - false + 18 + 75 + true - color: #0e7077 + color:#29967e - Avatar + Avatar tuning Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft @@ -1033,13 +722,13 @@ padding: 10px;margin-top:10px 0 - 10 + 7 0 - 10 + 7 @@ -1055,7 +744,7 @@ padding: 10px;margin-top:10px Real world vertical field of view (angular size of monitor) - 15 + 0 fieldOfViewSpin @@ -1082,16 +771,10 @@ padding: 10px;margin-top:10px - - - 0 - 0 - - - 95 - 36 + 100 + 0 @@ -1121,13 +804,13 @@ padding: 10px;margin-top:10px 0 - 10 + 7 0 - 10 + 7 @@ -1143,7 +826,7 @@ padding: 10px;margin-top:10px Vertical field of view - 15 + 0 fieldOfViewSpin @@ -1178,8 +861,8 @@ padding: 10px;margin-top:10px - 95 - 36 + 100 + 0 @@ -1209,10 +892,10 @@ padding: 10px;margin-top:10px 0 - 10 + 8 - 10 + 8 @@ -1239,14 +922,11 @@ padding: 10px;margin-top:10px Arial - - color: rgb(51, 51, 51) - Lean scale (applies to Faceshift users) - 15 + 0 leanScaleSpin @@ -1277,21 +957,15 @@ padding: 10px;margin-top:10px - + 0 0 - 95 - 36 - - - - - 70 - 16777215 + 100 + 0 @@ -1309,13 +983,13 @@ padding: 10px;margin-top:10px 0 - 10 + 7 0 - 10 + 7 @@ -1324,14 +998,11 @@ padding: 10px;margin-top:10px Arial - - color: rgb(51, 51, 51) - Avatar scale <span style=" color:#909090;">(default is 1.0)</span> - 15 + 0 avatarScaleSpin @@ -1358,16 +1029,10 @@ padding: 10px;margin-top:10px - - - 0 - 0 - - - 95 - 36 + 100 + 0 @@ -1391,13 +1056,13 @@ padding: 10px;margin-top:10px 0 - 10 + 7 0 - 10 + 7 @@ -1406,14 +1071,11 @@ padding: 10px;margin-top:10px Arial - - color: rgb(51, 51, 51) - Pupil dillation - 15 + 0 pupilDilationSlider @@ -1448,7 +1110,7 @@ padding: 10px;margin-top:10px - 125 + 130 0 @@ -1464,110 +1126,49 @@ padding: 10px;margin-top:10px - - - - - - 0 - - - 10 - - - 0 - - - 10 - - - - - - Arial - - - - color: rgb(51, 51, 51) - - - Enable Dynamic Jitter Buffers - - - 15 - - - dynamicJitterBuffersCheckBox - - - - - - - - Arial - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 32 - 0 - - - - - 0 - 0 - - - - - - - - 32 - 32 - - - - - - - - - + + + + + 0 + 0 + + + + + 0 + 40 + + + + + 0 + 40 + + + + + Arial + + + + Enable Dynamic Jitter Buffers + + + 0 - 10 + 7 0 - 10 + 7 @@ -1576,14 +1177,11 @@ padding: 10px;margin-top:10px Arial - - color: rgb(51, 51, 51) - Static Jitter Buffer Frames - 15 + 0 staticDesiredJitterBufferFramesSpin @@ -1618,8 +1216,202 @@ padding: 10px;margin-top:10px - 95 - 36 + 100 + 0 + + + + + Arial + + + + 0 + + + 10000 + + + 1 + + + + + + + + + 0 + + + 7 + + + 0 + + + 7 + + + + + + Arial + + + + Max Frames Over Desired + + + 0 + + + maxFramesOverDesiredSpin + + + + + + + + Arial + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 100 + 0 + + + + + Arial + + + + 0 + + + 10000 + + + 1 + + + + + + + + + + 0 + 0 + + + + + 0 + 40 + + + + + 0 + 32 + + + + + Arial + + + + Use Stdev for Dynamic Jitter Calc + + + + 32 + 32 + + + + + + + + 0 + + + 7 + + + 0 + + + 7 + + + + + + Arial + + + + Window A Starve Threshold + + + 0 + + + windowStarveThresholdSpin + + + + + + + + Arial + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + + 100 + 0 @@ -1646,573 +1438,231 @@ padding: 10px;margin-top:10px - - - - 0 - - - 10 - - - 0 - - - 10 - - - - - - Arial - - - - color: rgb(51, 51, 51) - - - Max Frames Over Desired - - - 15 - - - maxFramesOverDesiredSpin - - - - - - - - Arial - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 95 - 36 - - - - - 70 - 16777215 - - - - - Arial - - - - 0 - - - 10000 - - - 1 - - - - - - - - - - - - 0 - - - 10 - - - 0 - - - 10 - - - - - - Arial - - - - color: rgb(51, 51, 51) - - - Use Stdev for Dynamic Jitter Calc - - - 15 - - - useStdevForJitterCalcCheckBox - - - - - - - - Arial - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 32 - 0 - - - - - 0 - 0 - - - - - - - - 32 - 32 - - - - - - - - - - - - - - 0 - - - 10 - - - 0 - - - 10 - - - - - - Arial - - - - color: rgb(51, 51, 51) - - - Window A Starve Threshold - - - 15 - - - windowStarveThresholdSpin - - - - - - - - Arial - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 95 - 36 - - - - - 70 - 16777215 - - - - - Arial - - - - 0 - - - 10000 - - - 1 - - - - - - - - - - - - 0 - - - 10 - - - 0 - - - 10 - - - - - - Arial - - - - color: rgb(51, 51, 51) - - - Window A (raise desired on N starves) Seconds - - - 15 - - - windowSecondsForDesiredCalcOnTooManyStarvesSpin - - - - - - - - Arial - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 95 - 36 - - - - - 70 - 16777215 - - - - - Arial - - - - 0 - - - 10000 - - - 1 - - - - - - - - - - - - 0 - - - 10 - - - 0 - - - 10 - - - - - - Arial - - - - color: rgb(51, 51, 51) - - - Window B (desired ceiling) Seconds - - - 15 - - - windowSecondsForDesiredReductionSpin - - - - - - - - Arial - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 95 - 36 - - - - - 70 - 16777215 - - - - - Arial - - - - 0 - - - 10000 - - - 1 - - - - - - - - - - - - 0 - - - 10 - - - 0 - - - 10 - - - - - - Arial - - - - color: rgb(51, 51, 51) - - - Repetition with Fade - - - 15 - - - repetitionWithFadeCheckBox - - - - - - - - Arial - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 32 - 0 - - - - - 0 - 0 - - - - - - - - 32 - 32 - - - - - - - + + + 0 + + + 7 + + + 0 + + + 7 + + + + + + Arial + + + + Window A (raise desired on N starves) Seconds + + + 0 + + + windowSecondsForDesiredCalcOnTooManyStarvesSpin + + + + + + + + Arial + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + + 100 + 0 + + + + + 70 + 16777215 + + + + + Arial + + + + 0 + + + 10000 + + + 1 + + + + + + + + + 0 + + + 7 + + + 0 + + + 7 + + + + + + Arial + + + + Window B (desired ceiling) Seconds + + + 0 + + + windowSecondsForDesiredReductionSpin + + + + + + + + Arial + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + + 100 + 0 + + + + + 70 + 16777215 + + + + + Arial + + + + 0 + + + 10000 + + + 1 + + + + + + + + + + 0 + 0 + + + + + 32 + 40 + + + + + 0 + 0 + + + + + Arial + + + + Repetition with Fade + + + + 32 + 32 + + + + 0 - 10 + 7 0 - 10 + 7 @@ -2221,14 +1671,11 @@ padding: 10px;margin-top:10px Arial - - color: rgb(51, 51, 51) - Faceshift eye detection - 15 + 0 faceshiftEyeDeflectionSider @@ -2263,7 +1710,7 @@ padding: 10px;margin-top:10px - 125 + 130 0 @@ -2282,7 +1729,7 @@ padding: 10px;margin-top:10px - + 0 0 @@ -2296,13 +1743,13 @@ padding: 10px;margin-top:10px Arial - 20 - 50 - false + 18 + 75 + true - color: #0e7077 + color:#29967e Voxels @@ -2318,13 +1765,13 @@ padding: 10px;margin-top:10px 0 - 10 + 7 0 - 10 + 7 @@ -2333,14 +1780,11 @@ padding: 10px;margin-top:10px Arial - - color: rgb(51, 51, 51) - Maximum voxels - 15 + 0 maxVoxelsSpin @@ -2367,16 +1811,10 @@ padding: 10px;margin-top:10px - - - 0 - 0 - - - 125 - 36 + 100 + 0 @@ -2400,13 +1838,13 @@ padding: 10px;margin-top:10px 0 - 10 + 7 0 - 10 + 7 @@ -2419,7 +1857,7 @@ padding: 10px;margin-top:10px Max voxels sent each second - 15 + 0 maxVoxelsPPSSpin @@ -2446,22 +1884,10 @@ padding: 10px;margin-top:10px - - - 0 - 0 - - - 95 - 36 - - - - - 70 - 16777215 + 100 + 0 @@ -2485,7 +1911,7 @@ padding: 10px;margin-top:10px - + 0 0 @@ -2499,13 +1925,13 @@ padding: 10px;margin-top:10px Arial - 20 - 50 - false + 18 + 75 + true - color: #0e7077 + color:#29967e Oculus Rift @@ -2521,13 +1947,13 @@ padding: 10px;margin-top:10px 0 - 10 + 7 0 - 10 + 7 @@ -2536,14 +1962,11 @@ padding: 10px;margin-top:10px Arial - - color: rgb(51, 51, 51) - User Interface Angular Size - 15 + 0 maxVoxelsSpin @@ -2570,16 +1993,10 @@ padding: 10px;margin-top:10px - - - 0 - 0 - - - 125 - 36 + 100 + 0 @@ -2606,7 +2023,7 @@ padding: 10px;margin-top:10px - + 0 0 @@ -2620,13 +2037,13 @@ padding: 10px;margin-top:10px Arial - 20 - 50 - false + 18 + 75 + true - color: #0e7077 + color:#29967e Sixense Controllers @@ -2637,90 +2054,34 @@ padding: 10px;margin-top:10px - - - 0 + + + + 0 + 35 + - - 10 + + + 0 + 40 + - - 0 + + + Arial + - - 10 + + Invert Mouse Buttons - - - - - Arial - - - - color: rgb(51, 51, 51) - - - Invert Mouse Buttons - - - 15 - - - maxVoxelsSpin - - - - - - - - Arial - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 32 - 0 - - - - - 0 - 0 - - - - - - - - 32 - 32 - - - - - + + + 0 + 0 + + + @@ -2728,13 +2089,13 @@ padding: 10px;margin-top:10px 0 - 10 + 7 0 - 10 + 7 @@ -2743,14 +2104,11 @@ padding: 10px;margin-top:10px Arial - - color: rgb(51, 51, 51) - Reticle Movement Speed - 15 + 0 maxVoxelsSpin @@ -2777,16 +2135,10 @@ padding: 10px;margin-top:10px - - - 0 - 0 - - - 125 - 36 + 100 + 0 @@ -2810,31 +2162,81 @@ padding: 10px;margin-top:10px - + - 540 - 24 - 31 - 31 + 0 + 490 + 501 + 50 - - - PreferAntialias - + + QFrame::NoFrame - - + + QFrame::Raised + + + + 0 + 0 + 491 + 41 + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + Arial + + + + Cancel + + + false + + + + + + + + Arial + + + + Save all changes + + + true + + + false + + + + + - - - FramelessDialog - 1 - - @@ -2844,12 +2246,12 @@ padding: 10px;margin-top:10px close() - 966 - 557 + 20 + 20 - 528 - 0 + 20 + 20 @@ -2860,8 +2262,8 @@ padding: 10px;margin-top:10px accept() - 1070 - 557 + 20 + 20 20