Commit 9fb46a10 authored by Lorenz Meier's avatar Lorenz Meier

More usability improvements

parent 32dfbd99
* { 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: #151518;
background-color: #191919;
color: #DDDDDF;
background-clip: border;
/*background-clip: border;*/
font-size: 11px;
border: 0px;
padding: 1px;
}
QGroupBox {
......
......@@ -1672,7 +1672,7 @@ void MainWindow::loadViewState()
headUpDockWidget->show();
video1DockWidget->hide();
video2DockWidget->hide();
mavlinkInspectorWidget->show();
mavlinkInspectorWidget->hide();
break;
}
}
......
......@@ -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)
......
......@@ -75,7 +75,7 @@ void QGCToolBar::heartbeatTimeout(bool timeout, unsigned int ms)
void QGCToolBar::createUI()
{
setStyleSheet("QToolBar {margin: 1px; 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: 0px; 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
......
......@@ -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
......
......@@ -7,20 +7,13 @@
<x>0</x>
<y>0</y>
<width>372</width>
<height>288</height>
<height>299</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>Connect to Autopilot</string>
<string>Click Icon to Connect</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>
......
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