Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
2b3ab279
Commit
2b3ab279
authored
Nov 19, 2015
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed screwed up rebase/merge
parent
53eda077
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
179 deletions
+0
-179
SettingsDialog.cc
src/ui/SettingsDialog.cc
+0
-17
SettingsDialog.ui
src/ui/SettingsDialog.ui
+0
-162
No files found.
src/ui/SettingsDialog.cc
View file @
2b3ab279
...
...
@@ -63,23 +63,6 @@ SettingsDialog::SettingsDialog(QWidget *parent, int showTab, Qt::WindowFlags fla
this
->
window
()
->
setWindowTitle
(
tr
(
"QGroundControl Settings"
));
<<<<<<<
HEAD
=======
// Audio preferences
_ui
->
audioMuteCheckBox
->
setChecked
(
_audioOutput
->
isMuted
());
connect
(
_ui
->
audioMuteCheckBox
,
SIGNAL
(
toggled
(
bool
)),
_audioOutput
,
SLOT
(
mute
(
bool
)));
connect
(
_audioOutput
,
SIGNAL
(
mutedChanged
(
bool
)),
_ui
->
audioMuteCheckBox
,
SLOT
(
setChecked
(
bool
)));
// Low power mode
_ui
->
lowPowerCheckBox
->
setChecked
(
_mainWindow
->
lowPowerModeEnabled
());
connect
(
_ui
->
lowPowerCheckBox
,
SIGNAL
(
clicked
(
bool
)),
_mainWindow
,
SLOT
(
enableLowPowerMode
(
bool
)));
connect
(
_ui
->
deleteSettings
,
&
QAbstractButton
::
toggled
,
this
,
&
SettingsDialog
::
_deleteSettingsToggled
);
// Application color style
_ui
->
styleChooser
->
setCurrentIndex
(
qgcApp
()
->
styleIsDark
()
?
0
:
1
);
>>>>>>>
origin
/
ACWork
_ui
->
savedFilesLocation
->
setText
(
qgcApp
()
->
savedFilesLocation
());
// Connect signals
...
...
src/ui/SettingsDialog.ui
View file @
2b3ab279
...
...
@@ -37,168 +37,6 @@
</attribute>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_8"
>
<item>
<<<<<<
< HEAD
=======
<widget
class=
"QCheckBox"
name=
"audioMuteCheckBox"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"text"
>
<string>
Mute all audio output
</string>
</property>
<property
name=
"iconSize"
>
<size>
<width>
0
</width>
<height>
0
</height>
</size>
</property>
</widget>
</item>
<item>
<widget
class=
"QCheckBox"
name=
"lowPowerCheckBox"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"toolTip"
>
<string>
Lowers all update rates to save battery power
</string>
</property>
<property
name=
"text"
>
<string>
Enable low power mode
</string>
</property>
<property
name=
"iconSize"
>
<size>
<width>
0
</width>
<height>
0
</height>
</size>
</property>
</widget>
</item>
<item>
<widget
class=
"QCheckBox"
name=
"promptFlightDataSave"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"text"
>
<string>
Prompt to save Flight Data Log after each flight
</string>
</property>
<property
name=
"iconSize"
>
<size>
<width>
0
</width>
<height>
0
</height>
</size>
</property>
</widget>
</item>
<item>
<widget
class=
"QGroupBox"
name=
"groupBox_4"
>
<property
name=
"title"
>
<string>
Map Provider
</string>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<widget
class=
"QRadioButton"
name=
"bingMapRadio"
>
<property
name=
"text"
>
<string>
Bing
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QRadioButton"
name=
"googleMapRadio"
>
<property
name=
"text"
>
<string>
Google
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QRadioButton"
name=
"openMapRadio"
>
<property
name=
"text"
>
<string>
Open Streets
</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget
class=
"QGroupBox"
name=
"groupBox"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"title"
>
<string>
Style
</string>
</property>
<property
name=
"flat"
>
<bool>
false
</bool>
</property>
<property
name=
"checkable"
>
<bool>
false
</bool>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_3"
>
<property
name=
"topMargin"
>
<number>
8
</number>
</property>
<property
name=
"bottomMargin"
>
<number>
8
</number>
</property>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<property
name=
"spacing"
>
<number>
0
</number>
</property>
<property
name=
"sizeConstraint"
>
<enum>
QLayout::SetDefaultConstraint
</enum>
</property>
<property
name=
"leftMargin"
>
<number>
0
</number>
</property>
<property
name=
"rightMargin"
>
<number>
80
</number>
</property>
<item>
<widget
class=
"QComboBox"
name=
"styleChooser"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
200
</width>
<height>
0
</height>
</size>
</property>
<item>
<property
name=
"text"
>
<string>
Dark (for indoor use)
</string>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
Light (for outdoor use)
</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
>>>>>>> origin/ACWork
<widget
class=
"QGroupBox"
name=
"fileLocationsLayout"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"MinimumExpanding"
vsizetype=
"Fixed"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment