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
9fb46a10
Commit
9fb46a10
authored
Apr 29, 2013
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More usability improvements
parent
32dfbd99
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
19 deletions
+25
-19
style-indoor.css
files/styles/style-indoor.css
+3
-5
MainWindow.cc
src/ui/MainWindow.cc
+1
-1
QGCStatusBar.cc
src/ui/QGCStatusBar.cc
+3
-1
QGCToolBar.cc
src/ui/QGCToolBar.cc
+1
-1
QGCUnconnectedInfoWidget.cc
src/ui/uas/QGCUnconnectedInfoWidget.cc
+1
-1
QGCUnconnectedInfoWidget.ui
src/ui/uas/QGCUnconnectedInfoWidget.ui
+16
-10
No files found.
files/styles/style-indoor.css
View file @
9fb46a10
*
{
font-family
:
"Bitstream Vera Sans"
;
font
:
"Roman"
;
font-size
:
12px
;
border
:
0px
solid
;
}
/** { font-family: "Bitstream Vera Sans"; font: "Roman"; font-size: 12px; }*/
QWidget
#colorIcon
{}
QWidget
{
background-color
:
#1
51518
;
background-color
:
#1
91919
;
color
:
#DDDDDF
;
background-clip
:
border
;
/*background-clip: border;*/
font-size
:
11px
;
border
:
0px
;
padding
:
1px
;
}
QGroupBox
{
...
...
src/ui/MainWindow.cc
View file @
9fb46a10
...
...
@@ -1672,7 +1672,7 @@ void MainWindow::loadViewState()
headUpDockWidget
->
show
();
video1DockWidget
->
hide
();
video2DockWidget
->
hide
();
mavlinkInspectorWidget
->
show
();
mavlinkInspectorWidget
->
hide
();
break
;
}
}
...
...
src/ui/QGCStatusBar.cc
View file @
9fb46a10
...
...
@@ -44,7 +44,9 @@ QGCStatusBar::QGCStatusBar(QWidget *parent) :
loadSettings
();
setStyleSheet
(
"QStatusBar {margin: 1px; border-bottom: 1px solid #252525; border-top: 1px solid #969696; padding: 1px"
);
//setStyleSheet("QStatusBar {margin: 1px; border-bottom: 1px solid #252525; border-top: 1px solid #969696; padding: 1px");
setStyleSheet
(
"* { border-color: transparent; margin: 0px; } QWidget { border-color: transparent; } QStatusBar {border-bottom: 1px solid #101010; border-top: 1px solid #4F4F4F; background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #4B4B4B, stop:0.3 #404040, stop:0.34 #383838, stop:1 #181818);}"
);
}
void
QGCStatusBar
::
setLogPlayer
(
QGCMAVLinkLogPlayer
*
player
)
...
...
src/ui/QGCToolBar.cc
View file @
9fb46a10
...
...
@@ -75,7 +75,7 @@ void QGCToolBar::heartbeatTimeout(bool timeout, unsigned int ms)
void
QGCToolBar
::
createUI
()
{
setStyleSheet
(
"QToolBar {margin:
1
px; border-bottom: 1px solid #484848; border-top: 1px solid #969696; background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #8B8B8B, stop:0.3 #808080, stop:0.34 #747474, stop:1 #484848);}"
);
setStyleSheet
(
"QToolBar {margin:
0
px; border-bottom: 1px solid #484848; border-top: 1px solid #969696; background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #8B8B8B, stop:0.3 #808080, stop:0.34 #747474, stop:1 #484848);}"
);
// CREATE TOOLBAR ITEMS
// Add internal actions
...
...
src/ui/uas/QGCUnconnectedInfoWidget.cc
View file @
9fb46a10
...
...
@@ -11,7 +11,7 @@ QGCUnconnectedInfoWidget::QGCUnconnectedInfoWidget(QWidget *parent) :
{
ui
->
setupUi
(
this
);
connect
(
ui
->
simulationButton
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
simulate
()));
//
connect(ui->simulationButton, SIGNAL(clicked()), this, SLOT(simulate()));
connect
(
ui
->
connectButton
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
addLink
()));
// Overwrite global style sheet
...
...
src/ui/uas/QGCUnconnectedInfoWidget.ui
View file @
9fb46a10
...
...
@@ -7,20 +7,13 @@
<x>
0
</x>
<y>
0
</y>
<width>
372
</width>
<height>
2
88
</height>
<height>
2
99
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
<string>
Form
</string>
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout"
rowstretch=
"100,1"
>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QPushButton"
name=
"simulationButton"
>
<property
name=
"text"
>
<string>
Demo Mode
</string>
</property>
</widget>
</item>
<layout
class=
"QGridLayout"
name=
"gridLayout"
rowstretch=
"90,100"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QToolButton"
name=
"connectButton"
>
<property
name=
"minimumSize"
>
...
...
@@ -33,7 +26,7 @@
<string
notr=
"true"
/>
</property>
<property
name=
"text"
>
<string>
C
onnect to Autopilo
t
</string>
<string>
C
lick Icon to Connec
t
</string>
</property>
<property
name=
"icon"
>
<iconset
resource=
"../../../qgroundcontrol.qrc"
>
...
...
@@ -50,6 +43,19 @@
</property>
</widget>
</item>
<item
row=
"1"
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>
</layout>
</widget>
<resources>
...
...
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