summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-03-07 20:16:05 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-03-07 20:16:05 +0100
commit57ab688b4f422a0165795f69182caf4d2430a549 (patch)
treeb0cf1f8ad696ec755dd4ba67a618e47a48f5f296 /gui
parent2138103b7c3af54e9cecd081403e8f536db6de1e (diff)
remove unused center_method setting
Diffstat (limited to 'gui')
-rwxr-xr-x[-rw-r--r--]gui/options-dialog.cpp2
-rwxr-xr-x[-rw-r--r--]gui/settings.ui90
2 files changed, 25 insertions, 67 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp
index 1e734135..d57b9f35 100644..100755
--- a/gui/options-dialog.cpp
+++ b/gui/options-dialog.cpp
@@ -111,8 +111,6 @@ OptionsDialog::OptionsDialog(main_settings& main,
tie_setting(main.camera_pitch, ui.camera_pitch);
tie_setting(main.camera_roll, ui.camera_roll);
- tie_setting(main.center_method, ui.center_method);
-
connect(ui.bind_center, &QPushButton::pressed, [&]() -> void { bind_key(main.key_center, ui.center_text); });
connect(ui.bind_zero, &QPushButton::pressed, [&]() -> void { bind_key(main.key_zero, ui.zero_text); });
connect(ui.bind_toggle, &QPushButton::pressed, [&]() -> void { bind_key(main.key_toggle, ui.toggle_text); });
diff --git a/gui/settings.ui b/gui/settings.ui
index b00e0960..59c98e96 100644..100755
--- a/gui/settings.ui
+++ b/gui/settings.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>428</width>
- <height>525</height>
+ <width>441</width>
+ <height>552</height>
</rect>
</property>
<property name="windowTitle">
@@ -34,33 +34,6 @@
<string>Shortcuts</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_9">
- <item row="2" column="0">
- <widget class="QCheckBox" name="center_at_startup">
- <property name="text">
- <string>Center at startup</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="3" column="0">
- <widget class="QCheckBox" name="trayp">
- <property name="text">
- <string>Minimize to tray</string>
- </property>
- </widget>
- </item>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_8">
<property name="title">
@@ -240,43 +213,30 @@
</widget>
</item>
<item row="1" column="0">
- <widget class="QGroupBox" name="groupBox_9111">
- <property name="title">
- <string>Centering method</string>
+ <widget class="QCheckBox" name="center_at_startup">
+ <property name="text">
+ <string>Center at startup</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="0">
+ <widget class="QCheckBox" name="trayp">
+ <property name="text">
+ <string>Minimize to tray</string>
</property>
- <layout class="QGridLayout" name="gridLayout111">
- <item row="1" column="0">
- <widget class="QLabel" name="label_26">
- <property name="text">
- <string>Method</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QComboBox" name="center_method">
- <item>
- <property name="text">
- <string>Relative (inertial device)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Absolute (camera device)</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLabel" name="label_25">
- <property name="text">
- <string>Try changing this if centering doesn't perform correctly for your input device.</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
</widget>
</item>
</layout>