diff options
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator/mainUI.ui')
-rw-r--r-- | src-qt5/desktop-utils/lumina-calculator/mainUI.ui | 437 |
1 files changed, 371 insertions, 66 deletions
diff --git a/src-qt5/desktop-utils/lumina-calculator/mainUI.ui b/src-qt5/desktop-utils/lumina-calculator/mainUI.ui index 8586bc8e..699915f2 100644 --- a/src-qt5/desktop-utils/lumina-calculator/mainUI.ui +++ b/src-qt5/desktop-utils/lumina-calculator/mainUI.ui @@ -6,20 +6,44 @@ <rect> <x>0</x> <y>0</y> - <width>271</width> - <height>393</height> + <width>171</width> + <height>258</height> </rect> </property> <property name="windowTitle"> <string>Calculator</string> </property> + <property name="animated"> + <bool>false</bool> + </property> <widget class="QWidget" name="centralwidget"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <layout class="QVBoxLayout" name="verticalLayout_2"> + <property name="leftMargin"> + <number>4</number> + </property> + <property name="topMargin"> + <number>4</number> + </property> + <property name="rightMargin"> + <number>4</number> + </property> + <property name="bottomMargin"> + <number>4</number> + </property> <item> <widget class="QSplitter" name="splitter"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> + <property name="handleWidth"> + <number>10</number> + </property> <property name="childrenCollapsible"> <bool>true</bool> </property> @@ -38,10 +62,23 @@ <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> - <widget class="QLineEdit" name="line_eq"/> + <widget class="QLineEdit" name="line_eq"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> </item> <item> <widget class="QToolButton" name="tool_clear"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> @@ -58,260 +95,528 @@ </layout> </widget> <widget class="QWidget" name="layoutWidget"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0"> - <widget class="QPushButton" name="button_7"> + <item row="3" column="3" rowspan="2"> + <widget class="QPushButton" name="button_Equal"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> + <property name="baseSize"> + <size> + <width>30</width> + <height>30</height> + </size> + </property> + <property name="font"> + <font> + <pointsize>11</pointsize> + <weight>75</weight> + <italic>false</italic> + <bold>true</bold> + <underline>false</underline> + </font> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">7</string> + <string notr="true">=</string> </property> </widget> </item> - <item row="0" column="1"> - <widget class="QPushButton" name="button_8"> + <item row="0" column="2"> + <widget class="QPushButton" name="button_Multiply"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">8</string> + <string notr="true">*</string> </property> </widget> </item> - <item row="0" column="2"> - <widget class="QPushButton" name="button_9"> + <item row="1" column="3" rowspan="2"> + <widget class="QPushButton" name="button_Add"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">9</string> + <string notr="true">+</string> </property> </widget> </item> - <item row="0" column="3"> - <widget class="QPushButton" name="button_Divide"> + <item row="4" column="2"> + <widget class="QPushButton" name="button_Decimal"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">/</string> + <string notr="true">.</string> </property> </widget> </item> - <item row="1" column="0"> - <widget class="QPushButton" name="button_4"> + <item row="4" column="0" colspan="2"> + <widget class="QPushButton" name="button_0"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">4</string> + <string notr="true">0</string> </property> </widget> </item> - <item row="1" column="1"> - <widget class="QPushButton" name="button_5"> + <item row="0" column="3"> + <widget class="QPushButton" name="button_Subtract"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">5</string> + <string notr="true">-</string> </property> </widget> </item> - <item row="1" column="2"> - <widget class="QPushButton" name="button_6"> + <item row="0" column="1"> + <widget class="QPushButton" name="button_Divide"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">6</string> + <string notr="true">/</string> </property> </widget> </item> - <item row="1" column="3"> - <widget class="QPushButton" name="button_Multiply"> + <item row="1" column="0"> + <widget class="QPushButton" name="button_7"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">*</string> + <string notr="true">7</string> </property> </widget> </item> - <item row="2" column="0"> - <widget class="QPushButton" name="button_1"> + <item row="1" column="1"> + <widget class="QPushButton" name="button_8"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">1</string> + <string notr="true">8</string> </property> </widget> </item> - <item row="2" column="1"> - <widget class="QPushButton" name="button_2"> + <item row="1" column="2"> + <widget class="QPushButton" name="button_9"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">2</string> + <string notr="true">9</string> </property> </widget> </item> - <item row="2" column="2"> - <widget class="QPushButton" name="button_3"> + <item row="2" column="0"> + <widget class="QPushButton" name="button_4"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">3</string> + <string notr="true">4</string> </property> </widget> </item> - <item row="2" column="3"> - <widget class="QPushButton" name="button_Subtract"> + <item row="2" column="1"> + <widget class="QPushButton" name="button_5"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">-</string> + <string notr="true">5</string> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QPushButton" name="button_6"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> + <property name="focusPolicy"> + <enum>Qt::NoFocus</enum> + </property> + <property name="text"> + <string notr="true">6</string> </property> </widget> </item> <item row="3" column="0"> - <widget class="QPushButton" name="button_0"> + <widget class="QPushButton" name="button_1"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">0</string> + <string notr="true">1</string> </property> </widget> </item> <item row="3" column="1"> - <widget class="QPushButton" name="button_Decimal"> + <widget class="QPushButton" name="button_2"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">.</string> + <string notr="true">2</string> </property> </widget> </item> <item row="3" column="2"> - <widget class="QPushButton" name="button_Equal"> + <widget class="QPushButton" name="button_3"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="text"> - <string notr="true">=</string> + <string notr="true">3</string> </property> </widget> </item> - <item row="3" column="3"> - <widget class="QPushButton" name="button_Add"> + <item row="0" column="0"> + <widget class="QPushButton" name="button_Percent"> <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="sizeIncrement"> + <size> + <width>5</width> + <height>5</height> + </size> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> </property> <property name="text"> - <string notr="true">+</string> + <string>%</string> </property> </widget> </item> |