1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

OP-1150 fix and uniform ui style

This commit is contained in:
Alessio Morale 2014-02-06 02:14:59 +01:00
parent 19d1618996
commit 7dc358ecae

View File

@ -33,68 +33,35 @@
<item> <item>
<layout class="QHBoxLayout" name="sensorNoiseLayout"> <layout class="QHBoxLayout" name="sensorNoiseLayout">
<item> <item>
<widget class="QFrame" name="frame_3"> <widget class="QGroupBox" name="groupBox_4">
<property name="frameShape"> <property name="title">
<enum>QFrame::StyledPanel</enum> <string>#1: Thermal calibration</string>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin"> <property name="leftMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>3</number> <number>9</number>
</property> </property>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_thermalbias"> <layout class="QVBoxLayout" name="verticalLayout_thermalbias">
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_thermalbias"> <layout class="QHBoxLayout" name="horizontalLayout_thermalbias">
<item> <item>
<widget class="QLabel" name="label_thermalbias"> <widget class="QLabel" name="label_temperature">
<property name="font"> <property name="font">
<font> <font>
<weight>50</weight> <weight>50</weight>
<bold>false</bold> <bold>false</bold>
</font> </font>
</property> </property>
<property name="text">
<string>#1: Thermal calibration</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_thermalbias">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_thermalbias">
<item>
<widget class="QLabel" name="label_temperature">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text"> <property name="text">
<string>Temperature</string> <string>Temperature</string>
</property> </property>
@ -118,8 +85,8 @@
<widget class="QLabel" name="label_thermalGradient"> <widget class="QLabel" name="label_thermalGradient">
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight> <weight>50</weight>
<bold>true</bold> <bold>false</bold>
</font> </font>
</property> </property>
<property name="text"> <property name="text">
@ -145,8 +112,8 @@
<widget class="QLabel" name="label_thermalGradient"> <widget class="QLabel" name="label_thermalGradient">
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight> <weight>50</weight>
<bold>true</bold> <bold>false</bold>
</font> </font>
</property> </property>
<property name="text"> <property name="text">
@ -173,8 +140,8 @@
<widget class="QLabel" name="label_thermalDescription"> <widget class="QLabel" name="label_thermalDescription">
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight> <weight>50</weight>
<bold>true</bold> <bold>false</bold>
</font> </font>
</property> </property>
<property name="text"> <property name="text">
@ -236,58 +203,25 @@
<item> <item>
<layout class="QHBoxLayout" name="sixPointLayout" stretch="1,2"> <layout class="QHBoxLayout" name="sixPointLayout" stretch="1,2">
<item> <item>
<widget class="QFrame" name="frame"> <widget class="QGroupBox" name="groupBox_4">
<property name="frameShape"> <property name="title">
<enum>QFrame::Box</enum> <string>#2: Magnetometer calibration</string>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_9"> <layout class="QVBoxLayout" name="verticalLayout_9">
<property name="leftMargin"> <property name="leftMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>3</number> <number>9</number>
</property> </property>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>#2: Magnetometer calibration</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item> <item>
<widget class="QGraphicsView" name="sixPointsHelp"> <widget class="QGraphicsView" name="sixPointsHelp">
<property name="toolTip"> <property name="toolTip">
@ -331,63 +265,29 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QFrame" name="frame_2"> <widget class="QGroupBox" name="groupBox_4">
<property name="frameShape"> <property name="title">
<enum>QFrame::Box</enum> <string>#3: Sensor noise calibration</string>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_10"> <layout class="QVBoxLayout" name="verticalLayout_10">
<property name="leftMargin"> <property name="leftMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>3</number> <number>9</number>
</property> </property>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<widget class="QLabel" name="label">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>#3: Sensor noise calibration</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item> <item>
<widget class="QGraphicsView" name="sensorsBargraph"> <widget class="QGraphicsView" name="sensorsBargraph">
<property name="toolTip"> <property name="toolTip">
<string>These are the sensor variance values computed by the AHRS. <string>These are the sensor variance values computed by the AHRS.
Tip: lower is better!</string> Tip: lower is better!</string>
</property> </property>
<property name="verticalScrollBarPolicy"> <property name="verticalScrollBarPolicy">
@ -443,58 +343,25 @@ Hint: run this with engines at cruising speed.</string>
<item> <item>
<layout class="QHBoxLayout" name="sensorNoiseLayout"> <layout class="QHBoxLayout" name="sensorNoiseLayout">
<item> <item>
<widget class="QFrame" name="frame_3"> <widget class="QGroupBox" name="groupBox_4">
<property name="frameShape"> <property name="title">
<enum>QFrame::StyledPanel</enum> <string>#4: Accelerometer Bias calibration</string>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin"> <property name="leftMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>3</number> <number>9</number>
</property> </property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>3</number> <number>9</number>
</property> </property>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_5"> <layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<item>
<widget class="QLabel" name="label_5">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>#4: Accelerometer Bias calibration</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<item> <item>