diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-14 11:08:28 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-14 11:08:28 +0100 |
commit | f71d28a3107bf14ad3fa22109a34c746911b3f61 (patch) | |
tree | 4ab337b92db01f69cb6e264f5ff8180347968af3 /qtmips_gui/peripheralsview.ui | |
parent | 7341a3329994bf655f2490c4e9758929bd95c23f (diff) | |
download | qtmips-f71d28a3107bf14ad3fa22109a34c746911b3f61.tar.gz qtmips-f71d28a3107bf14ad3fa22109a34c746911b3f61.tar.bz2 qtmips-f71d28a3107bf14ad3fa22109a34c746911b3f61.zip |
Implemented graphic representation and update of line and RGB LEDs.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/peripheralsview.ui')
-rw-r--r-- | qtmips_gui/peripheralsview.ui | 212 |
1 files changed, 196 insertions, 16 deletions
diff --git a/qtmips_gui/peripheralsview.ui b/qtmips_gui/peripheralsview.ui index 59a1e4d..60726a2 100644 --- a/qtmips_gui/peripheralsview.ui +++ b/qtmips_gui/peripheralsview.ui @@ -20,6 +20,93 @@ <enum>QLayout::SetMaximumSize</enum> </property> <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_5"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_7"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>LED RGB 1</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="labelRgb1"> + <property name="text"> + <string/> + </property> + <property name="alignment"> + <set>Qt::AlignBottom|Qt::AlignHCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="lineEditRgb1"> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </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> + <item> + <layout class="QVBoxLayout" name="verticalLayout_6"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_8"> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>LED RGB 2</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="labelRgb2"> + <property name="text"> + <string/> + </property> + <property name="alignment"> + <set>Qt::AlignBottom|Qt::AlignHCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="lineEditRgb2"> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </item> + </layout> + </item> + <item> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="sizeConstraint"> <enum>QLayout::SetNoConstraint</enum> @@ -37,6 +124,16 @@ </widget> </item> <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Red Knob</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> <widget class="QSpinBox" name="spinRed"> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> @@ -74,6 +171,16 @@ </widget> </item> <item> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>Green Knob</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> <widget class="QSpinBox" name="spinGreen"> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> @@ -111,6 +218,16 @@ </widget> </item> <item> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>Blue Knob</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> <widget class="QSpinBox" name="spinBlue"> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> @@ -127,31 +244,94 @@ <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> - <widget class="QCheckBox" name="checkBox"> - <property name="text"> - <string>b31</string> + <layout class="QVBoxLayout" name="verticalLayout_9"> + <item> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>Word hexadecimal</string> + </property> + <property name="alignment"> + <set>Qt::AlignBottom|Qt::AlignHCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="lineEditHex"> + <property name="text"> + <string/> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="horizontalSpacer_4"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> - <property name="checkable"> - <bool>false</bool> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> </property> - </widget> + </spacer> </item> <item> - <widget class="QCheckBox" name="checkBox_2"> - <property name="text"> - <string>b30</string> - </property> - </widget> + <layout class="QVBoxLayout" name="verticalLayout_10"> + <item> + <widget class="QLabel" name="label_7"> + <property name="text"> + <string>Word decimal</string> + </property> + <property name="alignment"> + <set>Qt::AlignBottom|Qt::AlignHCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="lineEditDec"> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> </item> <item> - <widget class="QCheckBox" name="checkBox_3"> - <property name="text"> - <string>b29</string> - </property> - </widget> + <layout class="QVBoxLayout" name="verticalLayout_11"/> </item> </layout> </item> + <item> + <widget class="QLabel" name="label_8"> + <property name="text"> + <string>Word binary</string> + </property> + <property name="alignment"> + <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="lineEditBin"> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> </layout> </item> </layout> |