1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +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>
<layout class="QHBoxLayout" name="sensorNoiseLayout">
<item>
<widget class="QFrame" name="frame_3">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>#1: Thermal calibration</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>3</number>
<number>9</number>
</property>
<property name="topMargin">
<number>3</number>
<number>9</number>
</property>
<property name="rightMargin">
<number>3</number>
<number>9</number>
</property>
<property name="bottomMargin">
<number>3</number>
<number>9</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_thermalbias">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_thermalbias">
<item>
<widget class="QLabel" name="label_thermalbias">
<widget class="QLabel" name="label_temperature">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</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">
<string>Temperature</string>
</property>
@ -118,8 +85,8 @@
<widget class="QLabel" name="label_thermalGradient">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
@ -145,8 +112,8 @@
<widget class="QLabel" name="label_thermalGradient">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
@ -173,8 +140,8 @@
<widget class="QLabel" name="label_thermalDescription">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
@ -236,58 +203,25 @@
<item>
<layout class="QHBoxLayout" name="sixPointLayout" stretch="1,2">
<item>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>#2: Magnetometer calibration</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_9">
<property name="leftMargin">
<number>3</number>
<number>9</number>
</property>
<property name="topMargin">
<number>3</number>
<number>9</number>
</property>
<property name="rightMargin">
<number>3</number>
<number>9</number>
</property>
<property name="bottomMargin">
<number>3</number>
<number>9</number>
</property>
<item>
<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>
<widget class="QGraphicsView" name="sixPointsHelp">
<property name="toolTip">
@ -331,63 +265,29 @@
</widget>
</item>
<item>
<widget class="QFrame" name="frame_2">
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>#3: Sensor noise calibration</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_10">
<property name="leftMargin">
<number>3</number>
<number>9</number>
</property>
<property name="topMargin">
<number>3</number>
<number>9</number>
</property>
<property name="rightMargin">
<number>3</number>
<number>9</number>
</property>
<property name="bottomMargin">
<number>3</number>
<number>9</number>
</property>
<item>
<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>
<widget class="QGraphicsView" name="sensorsBargraph">
<property name="toolTip">
<string>These are the sensor variance values computed by the AHRS.
Tip: lower is better!</string>
</property>
<property name="verticalScrollBarPolicy">
@ -443,58 +343,25 @@ Hint: run this with engines at cruising speed.</string>
<item>
<layout class="QHBoxLayout" name="sensorNoiseLayout">
<item>
<widget class="QFrame" name="frame_3">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>#4: Accelerometer Bias calibration</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>3</number>
<number>9</number>
</property>
<property name="topMargin">
<number>3</number>
<number>9</number>
</property>
<property name="rightMargin">
<number>3</number>
<number>9</number>
</property>
<property name="bottomMargin">
<number>3</number>
<number>9</number>
</property>
<item>
<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>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>