diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-27 19:52:03 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-27 19:52:03 +0100 |
commit | 9990b05efb6fcd806ec5d996310f4a945a0b0fac (patch) | |
tree | cdfbacdd3b535ca594521265afaa4a1184c25201 /ftnoir_tracker_hatire/ftnoir_hatcontrols.ui | |
parent | 21dbb51ed05bffa69f036c6b82842aa0069b624f (diff) |
merge in the right hatire branch this time!
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_tracker_hatire/ftnoir_hatcontrols.ui')
-rw-r--r-- | ftnoir_tracker_hatire/ftnoir_hatcontrols.ui | 985 |
1 files changed, 670 insertions, 315 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_hatcontrols.ui b/ftnoir_tracker_hatire/ftnoir_hatcontrols.ui index 97db404f..4446ca85 100644 --- a/ftnoir_tracker_hatire/ftnoir_hatcontrols.ui +++ b/ftnoir_tracker_hatire/ftnoir_hatcontrols.ui @@ -6,20 +6,20 @@ <rect> <x>0</x> <y>0</y> - <width>370</width> - <height>520</height> + <width>307</width> + <height>509</height> </rect> </property> <property name="minimumSize"> <size> - <width>370</width> - <height>520</height> + <width>0</width> + <height>0</height> </size> </property> <property name="maximumSize"> <size> - <width>370</width> - <height>520</height> + <width>65536</width> + <height>65536</height> </size> </property> <property name="contextMenuPolicy"> @@ -30,7 +30,7 @@ </property> <property name="windowIcon"> <iconset> - <normaloff>images/hat.png</normaloff>images/hat.png</iconset> + <normaloff>:/images/hat.ico</normaloff>:/images/hat.ico</iconset> </property> <property name="windowOpacity"> <double>1.000000000000000</double> @@ -41,69 +41,111 @@ <property name="autoFillBackground"> <bool>false</bool> </property> - <layout class="QGridLayout" name="gridLayout_5"> + <layout class="QGridLayout" name="gridLayout_7"> + <item row="1" column="2"> + <widget class="QPushButton" name="btnCancel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>80</width> + <height>25</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>80</width> + <height>25</height> + </size> + </property> + <property name="text"> + <string>Cancel</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QPushButton" name="btnOK"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>80</width> + <height>25</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>80</width> + <height>25</height> + </size> + </property> + <property name="text"> + <string>OK</string> + </property> + </widget> + </item> <item row="0" column="0" colspan="3"> <widget class="QTabWidget" name="tabWidget"> <property name="minimumSize"> <size> - <width>360</width> - <height>470</height> + <width>0</width> + <height>0</height> </size> </property> <property name="maximumSize"> <size> - <width>360</width> - <height>470</height> + <width>65535</width> + <height>65535</height> </size> </property> <property name="currentIndex"> <number>0</number> </property> - <property name="usesScrollButtons"> - <bool>true</bool> - </property> <widget class="QWidget" name="tab_config"> - <attribute name="icon"> - <iconset> - <normaloff>:/images/hat.png</normaloff>:/images/hat.png</iconset> - </attribute> <attribute name="title"> <string>General</string> </attribute> - <layout class="QGridLayout" name="gridLayout_4"> - <item row="0" column="0"> - <widget class="QGroupBox" name="groupBox"> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string/> </property> - <layout class="QGridLayout" name="gridLayout_3"> - <item row="2" column="0"> - <widget class="QPushButton" name="btnCenter"> - <property name="minimumSize"> - <size> - <width>80</width> - <height>20</height> - </size> - </property> - <property name="text"> - <string>Center</string> + <property name="flat"> + <bool>true</bool> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <property name="spacing"> + <number>4</number> + </property> + <item row="0" column="0"> + <widget class="QLabel" name="label_5"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QPushButton" name="btnReset"> - <property name="minimumSize"> + <property name="maximumSize"> <size> - <width>80</width> - <height>20</height> + <width>65536</width> + <height>16777215</height> </size> </property> <property name="text"> - <string>Reset</string> + <string>Serial port</string> </property> </widget> </item> - <item row="1" column="1"> + <item row="0" column="1"> <widget class="QComboBox" name="cbSerialPort"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> @@ -113,7 +155,7 @@ </property> <property name="maximumSize"> <size> - <width>100</width> + <width>65535</width> <height>16777215</height> </size> </property> @@ -128,20 +170,49 @@ </property> </widget> </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_info"> - <property name="text"> - <string>Arduino serial port</string> - </property> - <property name="wordWrap"> - <bool>true</bool> - </property> - </widget> - </item> </layout> </widget> </item> - <item row="1" column="0"> + <item> + <widget class="QPushButton" name="btnZero"> + <property name="minimumSize"> + <size> + <width>80</width> + <height>20</height> + </size> + </property> + <property name="text"> + <string>Zero</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="btnCenter"> + <property name="minimumSize"> + <size> + <width>80</width> + <height>20</height> + </size> + </property> + <property name="text"> + <string>Center</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="btnReset"> + <property name="minimumSize"> + <size> + <width>80</width> + <height>20</height> + </size> + </property> + <property name="text"> + <string>Reset</string> + </property> + </widget> + </item> + <item> <widget class="QGroupBox" name="groupBox_3"> <property name="minimumSize"> <size> @@ -150,77 +221,36 @@ </size> </property> <property name="title"> - <string>Axis selection</string> + <string>Axis Configuration</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> </property> - <layout class="QGridLayout" name="gridLayout_2"> - <item row="6" column="2"> - <widget class="QCheckBox" name="chkEnableZ"> - <property name="maximumSize"> - <size> - <width>20</width> - <height>16777215</height> - </size> - </property> - <property name="toolTip"> - <string>Enable Axis</string> - </property> - <property name="layoutDirection"> - <enum>Qt::LeftToRight</enum> - </property> - <property name="text"> - <string/> - </property> - </widget> - </item> - <item row="4" column="4"> - <widget class="QCheckBox" name="chkInvertX"> - <property name="maximumSize"> - <size> - <width>20</width> - <height>16777215</height> - </size> - </property> - <property name="toolTip"> - <string>Invert Axis</string> - </property> - <property name="layoutDirection"> - <enum>Qt::LeftToRight</enum> - </property> - <property name="styleSheet"> - <string notr="true"/> - </property> - <property name="text"> - <string/> - </property> - </widget> - </item> - <item row="4" column="3"> - <widget class="QComboBox" name="cb_x"> + <layout class="QGridLayout" name="gridLayout_6"> + <item row="2" column="2"> + <widget class="QComboBox" name="cb_pitch"> <property name="toolTip"> <string>Associate Axis</string> </property> <item> <property name="text"> - <string>X</string> + <string>RotX</string> </property> </item> <item> <property name="text"> - <string>Y</string> + <string>RotY</string> </property> </item> <item> <property name="text"> - <string>Z</string> + <string>RotZ</string> </property> </item> </widget> </item> - <item row="4" column="2"> - <widget class="QCheckBox" name="chkEnableX"> + <item row="1" column="1"> + <widget class="QCheckBox" name="chkEnableYaw"> <property name="maximumSize"> <size> <width>20</width> @@ -238,29 +268,8 @@ </property> </widget> </item> - <item row="4" column="0"> - <widget class="QLabel" name="label_x"> - <property name="text"> - <string>X</string> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_pitch"> - <property name="text"> - <string>Pitch</string> - </property> - </widget> - </item> - <item row="6" column="0"> - <widget class="QLabel" name="label_z"> - <property name="text"> - <string>Z</string> - </property> - </widget> - </item> - <item row="6" column="4"> - <widget class="QCheckBox" name="chkInvertZ"> + <item row="4" column="1"> + <widget class="QCheckBox" name="chkEnableX"> <property name="maximumSize"> <size> <width>20</width> @@ -268,42 +277,31 @@ </size> </property> <property name="toolTip"> - <string>Invert Axis</string> + <string>Enable Axis</string> </property> <property name="layoutDirection"> <enum>Qt::LeftToRight</enum> </property> - <property name="styleSheet"> - <string notr="true"/> - </property> <property name="text"> <string/> </property> </widget> </item> - <item row="3" column="3"> - <widget class="QComboBox" name="cb_yaw"> - <property name="toolTip"> - <string>Associate Axis</string> + <item row="2" column="0"> + <widget class="QLabel" name="label_pitch"> + <property name="text"> + <string>Pitch:</string> </property> - <item> - <property name="text"> - <string>Yaw</string> - </property> - </item> - <item> - <property name="text"> - <string>Pitch</string> - </property> - </item> - <item> - <property name="text"> - <string>Roll</string> - </property> - </item> </widget> </item> - <item row="2" column="2"> + <item row="0" column="1"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Enable</string> + </property> + </widget> + </item> + <item row="2" column="1"> <widget class="QCheckBox" name="chkEnablePitch"> <property name="maximumSize"> <size> @@ -322,30 +320,29 @@ </property> </widget> </item> - <item row="6" column="3"> - <widget class="QComboBox" name="cb_z"> - <property name="toolTip"> - <string>Associate Axis</string> + <item row="1" column="0"> + <widget class="QLabel" name="label_yaw"> + <property name="text"> + <string>Yaw:</string> </property> - <item> - <property name="text"> - <string>X</string> - </property> - </item> - <item> - <property name="text"> - <string>Y</string> - </property> - </item> - <item> - <property name="text"> - <string>Z</string> - </property> - </item> </widget> </item> - <item row="3" column="4"> - <widget class="QCheckBox" name="chkInvertYaw"> + <item row="0" column="3"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Invert</string> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="QLabel" name="label_y"> + <property name="text"> + <string>Y:</string> + </property> + </widget> + </item> + <item row="3" column="3"> + <widget class="QCheckBox" name="chkInvertRoll"> <property name="maximumSize"> <size> <width>20</width> @@ -366,8 +363,15 @@ </property> </widget> </item> - <item row="5" column="2"> - <widget class="QCheckBox" name="chkEnableY"> + <item row="4" column="0"> + <widget class="QLabel" name="label_x"> + <property name="text"> + <string>X:</string> + </property> + </widget> + </item> + <item row="5" column="3"> + <widget class="QCheckBox" name="chkInvertY"> <property name="maximumSize"> <size> <width>20</width> @@ -375,18 +379,21 @@ </size> </property> <property name="toolTip"> - <string>Enable Axis</string> + <string>Invert Axis</string> </property> <property name="layoutDirection"> <enum>Qt::LeftToRight</enum> </property> + <property name="styleSheet"> + <string notr="true"/> + </property> <property name="text"> <string/> </property> </widget> </item> - <item row="2" column="4"> - <widget class="QCheckBox" name="chkInvertPitch"> + <item row="6" column="3"> + <widget class="QCheckBox" name="chkInvertZ"> <property name="maximumSize"> <size> <width>20</width> @@ -407,30 +414,30 @@ </property> </widget> </item> - <item row="1" column="3"> - <widget class="QComboBox" name="cb_roll"> + <item row="6" column="2"> + <widget class="QComboBox" name="cb_z"> <property name="toolTip"> <string>Associate Axis</string> </property> <item> <property name="text"> - <string>Yaw</string> + <string>X</string> </property> </item> <item> <property name="text"> - <string>Pitch</string> + <string>Y</string> </property> </item> <item> <property name="text"> - <string>Roll</string> + <string>Z</string> </property> </item> </widget> </item> - <item row="3" column="2"> - <widget class="QCheckBox" name="chkEnableYaw"> + <item row="6" column="1"> + <widget class="QCheckBox" name="chkEnableZ"> <property name="maximumSize"> <size> <width>20</width> @@ -448,29 +455,37 @@ </property> </widget> </item> - <item row="0" column="3"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Input</string> - </property> - </widget> - </item> - <item row="0" column="4"> - <widget class="QLabel" name="label_3"> - <property name="text"> - <string>Invert</string> + <item row="5" column="2"> + <widget class="QComboBox" name="cb_y"> + <property name="toolTip"> + <string>Associate Axis</string> </property> + <item> + <property name="text"> + <string>X</string> + </property> + </item> + <item> + <property name="text"> + <string>Y</string> + </property> + </item> + <item> + <property name="text"> + <string>Z</string> + </property> + </item> </widget> </item> <item row="3" column="0"> - <widget class="QLabel" name="label_yaw"> + <widget class="QLabel" name="label_roll"> <property name="text"> - <string>Yaw</string> + <string>Roll:</string> </property> </widget> </item> - <item row="1" column="2"> - <widget class="QCheckBox" name="chkEnableRoll"> + <item row="4" column="3"> + <widget class="QCheckBox" name="chkInvertX"> <property name="maximumSize"> <size> <width>20</width> @@ -478,7 +493,7 @@ </size> </property> <property name="toolTip"> - <string>Enable Axis</string> + <string>Invert Axis</string> </property> <property name="layoutDirection"> <enum>Qt::LeftToRight</enum> @@ -491,8 +506,8 @@ </property> </widget> </item> - <item row="5" column="3"> - <widget class="QComboBox" name="cb_y"> + <item row="4" column="2"> + <widget class="QComboBox" name="cb_x"> <property name="toolTip"> <string>Associate Axis</string> </property> @@ -514,29 +529,58 @@ </widget> </item> <item row="2" column="3"> - <widget class="QComboBox" name="cb_pitch"> + <widget class="QCheckBox" name="chkInvertPitch"> + <property name="maximumSize"> + <size> + <width>20</width> + <height>16777215</height> + </size> + </property> + <property name="toolTip"> + <string>Invert Axis</string> + </property> + <property name="layoutDirection"> + <enum>Qt::LeftToRight</enum> + </property> + <property name="styleSheet"> + <string notr="true"/> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="6" column="0"> + <widget class="QLabel" name="label_z"> + <property name="text"> + <string>Z:</string> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QComboBox" name="cb_roll"> <property name="toolTip"> <string>Associate Axis</string> </property> <item> <property name="text"> - <string>Yaw</string> + <string>RotX</string> </property> </item> <item> <property name="text"> - <string>Pitch</string> + <string>RotY</string> </property> </item> <item> <property name="text"> - <string>Roll</string> + <string>RotZ</string> </property> </item> </widget> </item> - <item row="1" column="4"> - <widget class="QCheckBox" name="chkInvertRoll"> + <item row="3" column="1"> + <widget class="QCheckBox" name="chkEnableRoll"> <property name="maximumSize"> <size> <width>20</width> @@ -544,7 +588,7 @@ </size> </property> <property name="toolTip"> - <string>Invert Axis</string> + <string>Enable Axis</string> </property> <property name="layoutDirection"> <enum>Qt::LeftToRight</enum> @@ -557,15 +601,27 @@ </property> </widget> </item> - <item row="5" column="0"> - <widget class="QLabel" name="label_y"> + <item row="5" column="1"> + <widget class="QCheckBox" name="chkEnableY"> + <property name="maximumSize"> + <size> + <width>20</width> + <height>16777215</height> + </size> + </property> + <property name="toolTip"> + <string>Enable Axis</string> + </property> + <property name="layoutDirection"> + <enum>Qt::LeftToRight</enum> + </property> <property name="text"> - <string>Y</string> + <string/> </property> </widget> </item> - <item row="5" column="4"> - <widget class="QCheckBox" name="chkInvertY"> + <item row="1" column="3"> + <widget class="QCheckBox" name="chkInvertYaw"> <property name="maximumSize"> <size> <width>20</width> @@ -586,48 +642,65 @@ </property> </widget> </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_roll"> - <property name="text"> - <string>Roll</string> + <item row="1" column="2"> + <widget class="QComboBox" name="cb_yaw"> + <property name="toolTip"> + <string>Associate Axis</string> </property> + <item> + <property name="text"> + <string>RotX</string> + </property> + </item> + <item> + <property name="text"> + <string>RotY</string> + </property> + </item> + <item> + <property name="text"> + <string>RotZ</string> + </property> + </item> </widget> </item> <item row="0" column="2"> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Enable</string> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QLabel" name="label_4"> + <widget class="QLabel" name="label_2"> <property name="text"> - <string>Output</string> + <string>Axis</string> </property> </widget> </item> </layout> </widget> </item> - <item row="2" column="0"> + <item> <widget class="QGroupBox" name="groupBox_status"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="title"> - <string>Information</string> + <string>Status</string> </property> - <layout class="QGridLayout" name="gridLayout"> + <property name="flat"> + <bool>false</bool> + </property> + <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> <widget class="QLabel" name="lab_tps"> <property name="minimumSize"> <size> <width>31</width> - <height>0</height> + <height>20</height> </size> </property> <property name="maximumSize"> <size> <width>60</width> - <height>13</height> + <height>20</height> </size> </property> <property name="toolTip"> @@ -638,37 +711,56 @@ </property> </widget> </item> - <item row="1" column="1"> - <widget class="QLabel" name="lab_vstatus"> + <item row="0" column="1"> + <widget class="QLabel" name="lab_vtps"> <property name="minimumSize"> <size> - <width>170</width> - <height>0</height> + <width>31</width> + <height>20</height> </size> </property> <property name="maximumSize"> <size> <width>60</width> - <height>16777215</height> + <height>20</height> </size> </property> <property name="text"> - <string/> + <string>00</string> </property> </widget> </item> - <item row="0" column="1"> - <widget class="QLabel" name="lab_vtps"> + <item row="1" column="0"> + <widget class="QLabel" name="lab_status"> <property name="minimumSize"> <size> - <width>31</width> - <height>0</height> + <width>0</width> + <height>20</height> </size> </property> <property name="maximumSize"> <size> <width>60</width> - <height>13</height> + <height>20</height> + </size> + </property> + <property name="text"> + <string>Info :</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="lab_vstatus"> + <property name="minimumSize"> + <size> + <width>170</width> + <height>20</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>60</width> + <height>20</height> </size> </property> <property name="text"> @@ -676,16 +768,255 @@ </property> </widget> </item> + </layout> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_cmds"> + <attribute name="title"> + <string>Command</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_5"> + <item row="1" column="0"> + <widget class="QGroupBox" name="parametersBox"> + <property name="title"> + <string>Serial Parameters</string> + </property> + <layout class="QGridLayout" name="gridLayout_8"> <item row="1" column="0"> - <widget class="QLabel" name="lab_status"> + <widget class="QLabel" name="dataBitsLabel"> + <property name="text"> + <string>Data bits:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QComboBox" name="QCB_Serial_dataBits"/> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="baudRateLabel"> + <property name="text"> + <string>BaudRate:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QComboBox" name="QCB_Serial_baudRate"/> + </item> + <item row="3" column="1"> + <widget class="QComboBox" name="QCB_Serial_stopBits"/> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="flowControlLabel"> + <property name="text"> + <string>Flow control:</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QComboBox" name="QCB_Serial_flowControl"/> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="parityLabel"> + <property name="text"> + <string>Parity:</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QComboBox" name="QCB_Serial_parity"/> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="stopBitsLabel"> + <property name="text"> + <string>Stop bits:</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="0" column="0"> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Arduino Commands</string> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="1"> + <widget class="QLabel" name="lab_cmd_init_2"> + <property name="text"> + <string>Delay Init</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="lab_cmd_init"> + <property name="text"> + <string>Init</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="le_cmd_init"> + <property name="toolTip"> + <string>Command for Initialising Arduino</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLabel" name="lab_cmd_init_3"> + <property name="text"> + <string>Delay Start</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="lab_cmd_start"> + <property name="text"> + <string>Start:</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QLineEdit" name="le_cmd_start"> + <property name="toolTip"> + <string>Command for Start send sequence</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QLabel" name="lab_cmd_init_4"> + <property name="text"> + <string>Delay Sequence</string> + </property> + </widget> + </item> + <item row="4" column="2"> + <widget class="QSpinBox" name="spb_AfterStart"> + <property name="toolTip"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Delay after Start Command in ms</span></p></body></html></string> + </property> + <property name="maximum"> + <number>5000</number> + </property> + <property name="singleStep"> + <number>50</number> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="QLabel" name="lab_cmd_stop"> + <property name="text"> + <string>Stop:</string> + </property> + </widget> + </item> + <item row="5" column="1"> + <widget class="QLineEdit" name="le_cmd_stop"> + <property name="toolTip"> + <string>Command for Stop send sequence</string> + </property> + </widget> + </item> + <item row="6" column="0"> + <widget class="QLabel" name="lab_cmd_center"> + <property name="text"> + <string>Center:</string> + </property> + </widget> + </item> + <item row="6" column="1"> + <widget class="QLineEdit" name="le_cmd_center"> + <property name="toolTip"> + <string>Command for Center Gyro arduino</string> + </property> + </widget> + </item> + <item row="7" column="0"> + <widget class="QLabel" name="lab_cmd_zero"> + <property name="text"> + <string>Zero:</string> + </property> + </widget> + </item> + <item row="7" column="1"> + <widget class="QLineEdit" name="le_cmd_zero"> + <property name="toolTip"> + <string>Command for Center Gyro arduino</string> + </property> + </widget> + </item> + <item row="8" column="0"> + <widget class="QLabel" name="lab_cmd_reset"> + <property name="text"> + <string>Reset:</string> + </property> + </widget> + </item> + <item row="8" column="1"> + <widget class="QLineEdit" name="le_cmd_reset"> + <property name="toolTip"> + <string>Command for Reset Arduino</string> + </property> + </widget> + </item> + <item row="8" column="2"> + <widget class="QCheckBox" name="cb_Endian"> + <property name="toolTip"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Little or Big Endian for <span style=" font-family:'Arial,Geneva,Helvetica,sans-serif'; font-size:medium; color:#000000;">the serialization of byte order</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Arial,Geneva,Helvetica,sans-serif'; font-size:medium; color:#000000;">Arduino is LittleEndian ( unchecked)</span></p></body></html></string> + </property> + <property name="text"> + <string>Endian</string> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QSpinBox" name="spb_BeforeStart"> + <property name="toolTip"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Delay after Init command in ms</span></p></body></html></string> + </property> + <property name="maximum"> + <number>5000</number> + </property> + <property name="singleStep"> + <number>50</number> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QSpinBox" name="spb_BeforeInit"> <property name="maximumSize"> <size> <width>60</width> <height>16777215</height> </size> </property> - <property name="text"> - <string>Status :</string> + <property name="toolTip"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Delay before Init command in ms</span></p></body></html></string> + </property> + <property name="maximum"> + <number>5000</number> + </property> + <property name="singleStep"> + <number>50</number> </property> </widget> </item> @@ -698,50 +1029,97 @@ <attribute name="title"> <string>About</string> </attribute> - <layout class="QFormLayout" name="formLayout"> + <layout class="QGridLayout" name="gridLayout_4"> <item row="0" column="0"> - <widget class="QLabel" name="label_10"> + <widget class="QLabel" name="label_info_2"> <property name="text"> <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">FTNoIR HAT Plugin<br />Version 1.0</span></p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">by FuraX49</span></p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://hatire.sourceforge.net/"><span style=" font-weight:600; text-decoration: underline; color:#0000ff;">Manual (external)</span></a></p></body></html></string> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">FTNoIR HAT Plugin<br />by FuraX49</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://hatire.sourceforge.net/"><span style=" font-size:8pt; font-weight:600; text-decoration: underline; color:#0000ff;">Manual (external)</span></a></p></body></html></string> </property> <property name="openExternalLinks"> <bool>true</bool> </property> </widget> </item> - <item row="0" column="1"> - <widget class="QLabel" name="label_35"> + <item row="0" column="1" rowspan="2" colspan="2"> + <widget class="QPushButton" name="btn_icone"> + <property name="autoFillBackground"> + <bool>false</bool> + </property> <property name="text"> <string/> </property> - <property name="pixmap"> - <pixmap resource="ftnoir_hat.qrc">:/images/hat_logo.png</pixmap> + <property name="icon"> + <iconset> + <normalon>:/images/hat_logo.png</normalon> + </iconset> + </property> + <property name="iconSize"> + <size> + <width>128</width> + <height>128</height> + </size> + </property> + <property name="flat"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_version"> + <property name="font"> + <font> + <family>Arial Black</family> + <pointsize>10</pointsize> + <weight>75</weight> + <italic>true</italic> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Version 1.0.0</string> + </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> + <property name="openExternalLinks"> + <bool>true</bool> </property> </widget> </item> <item row="2" column="0" colspan="2"> <widget class="QLineEdit" name="lineSend"/> </item> - <item row="4" column="0" colspan="2"> + <item row="2" column="2"> + <widget class="QPushButton" name="btnSend"> + <property name="text"> + <string>Send</string> + </property> + </widget> + </item> + <item row="3" column="0" colspan="3"> <widget class="QPlainTextEdit" name="pteINFO"> + <property name="contextMenuPolicy"> + <enum>Qt::ActionsContextMenu</enum> + </property> <property name="readOnly"> <bool>true</bool> </property> + <property name="plainText"> + <string notr="true"/> + </property> + <property name="textInteractionFlags"> + <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> + </property> <property name="maximumBlockCount"> <number>800</number> </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QPushButton" name="btnSend"> - <property name="text"> - <string>Send</string> + <property name="backgroundVisible"> + <bool>false</bool> </property> </widget> </item> @@ -749,31 +1127,6 @@ p, li { white-space: pre-wrap; } </widget> </widget> </item> - <item row="1" column="0"> - <widget class="QPushButton" name="btnOK"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>80</width> - <height>25</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>80</width> - <height>25</height> - </size> - </property> - <property name="text"> - <string>OK</string> - </property> - </widget> - </item> <item row="1" column="1"> <widget class="QPushButton" name="btnSave"> <property name="minimumSize"> @@ -793,39 +1146,41 @@ p, li { white-space: pre-wrap; } </property> </widget> </item> - <item row="1" column="2"> - <widget class="QPushButton" name="btnCancel"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>80</width> - <height>25</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>80</width> - <height>25</height> - </size> - </property> - <property name="text"> - <string>Cancel</string> - </property> - </widget> - </item> </layout> </widget> <tabstops> + <tabstop>btnOK</tabstop> + <tabstop>btnSave</tabstop> <tabstop>btnCancel</tabstop> + <tabstop>chkEnableYaw</tabstop> + <tabstop>cb_yaw</tabstop> + <tabstop>chkInvertYaw</tabstop> + <tabstop>chkEnablePitch</tabstop> + <tabstop>cb_pitch</tabstop> + <tabstop>chkInvertPitch</tabstop> + <tabstop>chkEnableRoll</tabstop> + <tabstop>cb_roll</tabstop> + <tabstop>chkInvertRoll</tabstop> + <tabstop>chkEnableX</tabstop> + <tabstop>cb_x</tabstop> + <tabstop>chkInvertX</tabstop> + <tabstop>chkEnableY</tabstop> + <tabstop>cb_y</tabstop> + <tabstop>chkInvertY</tabstop> + <tabstop>chkEnableZ</tabstop> + <tabstop>cb_z</tabstop> + <tabstop>chkInvertZ</tabstop> + <tabstop>QCB_Serial_baudRate</tabstop> + <tabstop>QCB_Serial_dataBits</tabstop> + <tabstop>QCB_Serial_parity</tabstop> + <tabstop>QCB_Serial_stopBits</tabstop> + <tabstop>QCB_Serial_flowControl</tabstop> + <tabstop>lineSend</tabstop> + <tabstop>btnSend</tabstop> + <tabstop>pteINFO</tabstop> + <tabstop>tabWidget</tabstop> </tabstops> - <resources> - <include location="ftnoir_hat.qrc"/> - </resources> + <resources/> <connections/> <slots> <slot>startEngineClicked()</slot> |