diff options
author | JT Pennington <jt@obs-sec.com> | 2016-10-13 14:44:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-13 14:44:12 -0400 |
commit | 6cdd979279875d5f60f8772eeae55bec372ef581 (patch) | |
tree | 0b8422de018aee065de6a801d767fdf0556502d1 /src-qt5/desktop-utils/lumina-calculator | |
parent | Another large update to lumina-fm: (diff) | |
download | lumina-6cdd979279875d5f60f8772eeae55bec372ef581.tar.gz lumina-6cdd979279875d5f60f8772eeae55bec372ef581.tar.bz2 lumina-6cdd979279875d5f60f8772eeae55bec372ef581.zip |
add buttons
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator')
-rw-r--r-- | src-qt5/desktop-utils/lumina-calculator/mainUI.ui | 192 |
1 files changed, 165 insertions, 27 deletions
diff --git a/src-qt5/desktop-utils/lumina-calculator/mainUI.ui b/src-qt5/desktop-utils/lumina-calculator/mainUI.ui index 0e52f4db..2ca316ed 100644 --- a/src-qt5/desktop-utils/lumina-calculator/mainUI.ui +++ b/src-qt5/desktop-utils/lumina-calculator/mainUI.ui @@ -6,48 +6,186 @@ <rect> <x>0</x> <y>0</y> - <width>245</width> - <height>149</height> + <width>255</width> + <height>376</height> </rect> </property> <property name="windowTitle"> <string>Calculator</string> </property> <widget class="QWidget" name="centralwidget"> - <layout class="QVBoxLayout" name="verticalLayout"> - <item> - <widget class="QListWidget" name="list_results"/> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout"> + <widget class="QSplitter" name="splitter"> + <property name="geometry"> + <rect> + <x>9</x> + <y>9</y> + <width>241</width> + <height>361</height> + </rect> + </property> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <widget class="QWidget" name=""> + <layout class="QVBoxLayout" name="verticalLayout"> <item> - <widget class="QLineEdit" name="line_eq"/> + <widget class="QListWidget" name="list_results"/> </item> <item> - <widget class="QToolButton" name="tool_start"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLineEdit" name="line_eq"/> + </item> + <item> + <widget class="QToolButton" name="tool_clear"> + <property name="text"> + <string>C</string> + </property> + <property name="autoRaise"> + <bool>false</bool> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <widget class="QWidget" name=""> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QPushButton" name="button_7"> + <property name="text"> + <string>7</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QPushButton" name="button_8"> + <property name="text"> + <string>8</string> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QPushButton" name="button_9"> + <property name="text"> + <string>9</string> + </property> + </widget> + </item> + <item row="0" column="3"> + <widget class="QPushButton" name="button_Divide"> + <property name="text"> + <string>/</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QPushButton" name="button_4"> + <property name="text"> + <string>4</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QPushButton" name="button_5"> + <property name="text"> + <string>5</string> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QPushButton" name="button_6"> + <property name="text"> + <string>6</string> + </property> + </widget> + </item> + <item row="1" column="3"> + <widget class="QPushButton" name="button_Multiply"> + <property name="text"> + <string>*</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QPushButton" name="button_1"> + <property name="text"> + <string>1</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QPushButton" name="button_2"> + <property name="text"> + <string>2</string> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QPushButton" name="button_3"> + <property name="text"> + <string>3</string> + </property> + </widget> + </item> + <item row="2" column="3"> + <widget class="QPushButton" name="button_Subtract"> + <property name="text"> + <string>-</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QPushButton" name="button_0"> + <property name="text"> + <string>0</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QPushButton" name="button_Decimal"> + <property name="text"> + <string>.</string> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QPushButton" name="button_Equal"> + <property name="text"> + <string>=</string> + </property> + </widget> + </item> + <item row="3" column="3"> + <widget class="QPushButton" name="button_Add"> <property name="text"> - <string>...</string> + <string>+</string> </property> </widget> </item> </layout> - </item> - <item> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - </layout> + </widget> + </widget> + <zorder>list_results</zorder> + <zorder>button_7</zorder> + <zorder>button_8</zorder> + <zorder>button_9</zorder> + <zorder>button_Divide</zorder> + <zorder>button_4</zorder> + <zorder>button_5</zorder> + <zorder>button_6</zorder> + <zorder>button_Multiply</zorder> + <zorder>button_1</zorder> + <zorder>button_2</zorder> + <zorder>button_3</zorder> + <zorder>button_Subtract</zorder> + <zorder>button_0</zorder> + <zorder>button_Decimal</zorder> + <zorder>button_Equal</zorder> + <zorder>button_Add</zorder> + <zorder>line_eq</zorder> </widget> - <widget class="QStatusBar" name="statusbar"/> </widget> <resources/> <connections/> |