added push buttons and text labels

This commit is contained in:
purpasmart96 2014-08-31 13:54:22 -07:00
parent 76372feb19
commit 3210a318ea

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>503</width>
<height>293</height>
<width>505</width>
<height>304</height>
</rect>
</property>
<property name="sizePolicy">
@ -25,6 +25,26 @@
</property>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="2">
<spacer name="horizontalSpacer">
<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 row="1" column="2">
<widget class="QCheckBox" name="checkBox">
<property name="text">
<string>Enabled</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="activeControllerCB">
<item>
@ -49,23 +69,10 @@
</item>
</widget>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer">
<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 row="1" column="2">
<widget class="QCheckBox" name="checkBox">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Enabled</string>
<string>Input Source:</string>
</property>
</widget>
</item>
@ -90,19 +97,18 @@
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Input Source:</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex">
<number>0</number>
<number>3</number>
</property>
<widget class="QWidget" name="mainStickTab">
<attribute name="title">
@ -226,8 +232,38 @@
<attribute name="title">
<string>D-Pad</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_5">
<item row="1" column="2">
</widget>
<widget class="QWidget" name="buttonsTab">
<property name="enabled">
<bool>true</bool>
</property>
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="toolTipDuration">
<number>-1</number>
</property>
<property name="pushbutton" stdset="0">
<string/>
</property>
<attribute name="title">
<string>Buttons</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="4">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>30</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="4">
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -240,33 +276,20 @@
</property>
</spacer>
</item>
<item row="0" column="1">
<spacer name="verticalSpacer_7">
<item row="3" column="4">
<spacer name="horizontalSpacer_9">
<property name="orientation">
<enum>Qt::Vertical</enum>
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="1">
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<item row="2" column="4">
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -279,13 +302,189 @@
</property>
</spacer>
</item>
</layout>
<item row="0" column="3" rowspan="4">
<spacer name="verticalSpacer_8">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>30</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" rowspan="4">
<spacer name="verticalSpacer_7">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>30</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="7">
<widget class="QPushButton" name="button_Start">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>PushButton</string>
</property>
</widget>
<widget class="QWidget" name="buttonsTab">
<attribute name="title">
<string>Buttons</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2"/>
</item>
<item row="3" column="2">
<widget class="QPushButton" name="button_Y">
<property name="text">
<string>PushButton</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Y</string>
</property>
</widget>
</item>
<item row="1" column="6">
<widget class="QLabel" name="label_8">
<property name="text">
<string>L</string>
</property>
</widget>
</item>
<item row="3" column="6">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Select</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="button_B">
<property name="text">
<string>PushButton</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="button_X">
<property name="text">
<string>PushButton</string>
</property>
</widget>
</item>
<item row="0" column="7">
<widget class="QPushButton" name="button_R">
<property name="text">
<string>PushButton</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_4">
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="text">
<string>B</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_5">
<property name="text">
<string>X</string>
</property>
</widget>
</item>
<item row="2" column="6">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Start</string>
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QLabel" name="label_7">
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="button_A">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>PushButton</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_3">
<property name="text">
<string>A</string>
</property>
</widget>
</item>
<item row="3" column="7">
<widget class="QPushButton" name="button_Select">
<property name="text">
<string>PushButton</string>
</property>
</widget>
</item>
<item row="1" column="7">
<widget class="QPushButton" name="button_L">
<property name="text">
<string>PushButton</string>
</property>
</widget>
</item>
<item row="0" column="5" rowspan="4">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>30</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="8" rowspan="4">
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>30</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>