author | harlekin <harlekin> | 2003-03-26 10:08:41 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-26 10:08:41 (UTC) |
commit | a651ef38fbd5a712261f8a40d0417e2ddb91b530 (patch) (side-by-side diff) | |
tree | 0f735605a8f333bd0d8c6189d096902a802df568 | |
parent | f3edecb809e09354c4abdaf9b0f606e68f41b649 (diff) | |
download | opie-a651ef38fbd5a712261f8a40d0417e2ddb91b530.zip opie-a651ef38fbd5a712261f8a40d0417e2ddb91b530.tar.gz opie-a651ef38fbd5a712261f8a40d0417e2ddb91b530.tar.bz2 |
make calculator behave better when display hight is small
-rw-r--r-- | noncore/tools/calculator/calculator.ui | 899 |
1 files changed, 468 insertions, 431 deletions
diff --git a/noncore/tools/calculator/calculator.ui b/noncore/tools/calculator/calculator.ui index e8218ab..0f26040 100644 --- a/noncore/tools/calculator/calculator.ui +++ b/noncore/tools/calculator/calculator.ui @@ -32,4 +32,4 @@ <y>0</y> - <width>271</width> - <height>404</height> + <width>389</width> + <height>562</height> </rect> @@ -74,33 +74,5 @@ <name>spacing</name> - <number>0</number> + <number>2</number> </property> <widget> - <class>QLCDNumber</class> - <property stdset="1"> - <name>name</name> - <cstring>LCD</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>1</hsizetype> - <vsizetype>1</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>font</name> - <font> - <pointsize>7</pointsize> - </font> - </property> - <property stdset="1"> - <name>numDigits</name> - <number>15</number> - </property> - <property stdset="1"> - <name>segmentStyle</name> - <enum>Flat</enum> - </property> - </widget> - <widget> <class>QLayoutWidget</class> @@ -108,5 +80,5 @@ <name>name</name> - <cstring>Layout4</cstring> + <cstring>Layout7</cstring> </property> - <hbox> + <vbox> <property stdset="1"> @@ -117,9 +89,9 @@ <name>spacing</name> - <number>0</number> + <number>6</number> </property> <widget> - <class>QComboBox</class> + <class>QLCDNumber</class> <property stdset="1"> <name>name</name> - <cstring>ComboBoxFunction</cstring> + <cstring>LCD</cstring> </property> @@ -132,351 +104,15 @@ </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonMPlus</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>focusPolicy</name> - <enum>TabFocus</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>M+</string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonMR</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>focusPolicy</name> - <enum>TabFocus</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>MR</string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonMC</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>focusPolicy</name> - <enum>TabFocus</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>MC</string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonCE</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>focusPolicy</name> - <enum>TabFocus</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>CE</string> - </property> - </widget> - </hbox> - </widget> - <widget> - <class>QLayoutWidget</class> - <property stdset="1"> - <name>name</name> - <cstring>Layout10</cstring> - </property> - <property> - <name>layoutSpacing</name> - </property> - <hbox> - <property stdset="1"> - <name>margin</name> - <number>0</number> - </property> - <property stdset="1"> - <name>spacing</name> - <number>0</number> - </property> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonF6</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>text</name> - <string></string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonF7</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>text</name> - <string></string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonF8</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>text</name> - <string>log</string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonF9</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>focusPolicy</name> - <enum>TabFocus</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>ln</string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonF11</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> <property stdset="1"> - <name>text</name> - <string>(</string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonF12</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>text</name> - <string>)</string> - </property> - </widget> - </hbox> - </widget> - <widget> - <class>QLayoutWidget</class> - <property stdset="1"> - <name>name</name> - <cstring>Layout11</cstring> - </property> - <property> - <name>layoutSpacing</name> - </property> - <hbox> - <property stdset="1"> - <name>margin</name> - <number>0</number> - </property> - <property stdset="1"> - <name>spacing</name> - <number>0</number> - </property> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonF1</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>focusPolicy</name> - <enum>TabFocus</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>sin</string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonF2</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>focusPolicy</name> - <enum>TabFocus</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>cos</string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonF3</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>focusPolicy</name> - <enum>TabFocus</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>tan</string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonF4</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>focusPolicy</name> - <enum>TabFocus</enum> - </property> - <property stdset="1"> - <name>text</name> - <string></string> - </property> - </widget> - <widget> - <class>QPushButton</class> - <property stdset="1"> - <name>name</name> - <cstring>PushButtonF5</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> + <name>font</name> + <font> + <pointsize>7</pointsize> + </font> </property> <property stdset="1"> - <name>focusPolicy</name> - <enum>TabFocus</enum> + <name>numDigits</name> + <number>15</number> </property> <property stdset="1"> - <name>text</name> - <string>%</string> + <name>segmentStyle</name> + <enum>Flat</enum> </property> @@ -484,24 +120,425 @@ <widget> - <class>QPushButton</class> + <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> - <cstring>PushButtonF10</cstring> - </property> - <property stdset="1"> - <name>sizePolicy</name> - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - </sizepolicy> - </property> - <property stdset="1"> - <name>focusPolicy</name> - <enum>TabFocus</enum> - </property> - <property stdset="1"> - <name>text</name> - <string>+/-</string> - </property> + <cstring>Layout6</cstring> + </property> + <property> + <name>layoutSpacing</name> + </property> + <vbox> + <property stdset="1"> + <name>margin</name> + <number>0</number> + </property> + <property stdset="1"> + <name>spacing</name> + <number>2</number> + </property> + <widget> + <class>QLayoutWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>Layout4</cstring> + </property> + <hbox> + <property stdset="1"> + <name>margin</name> + <number>0</number> + </property> + <property stdset="1"> + <name>spacing</name> + <number>0</number> + </property> + <widget> + <class>QComboBox</class> + <property stdset="1"> + <name>name</name> + <cstring>ComboBoxFunction</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>1</vsizetype> + </sizepolicy> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonMPlus</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>focusPolicy</name> + <enum>TabFocus</enum> + </property> + <property stdset="1"> + <name>text</name> + <string>M+</string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonMR</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>focusPolicy</name> + <enum>TabFocus</enum> + </property> + <property stdset="1"> + <name>text</name> + <string>MR</string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonMC</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>focusPolicy</name> + <enum>TabFocus</enum> + </property> + <property stdset="1"> + <name>text</name> + <string>MC</string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonCE</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>focusPolicy</name> + <enum>TabFocus</enum> + </property> + <property stdset="1"> + <name>text</name> + <string>CE</string> + </property> + </widget> + </hbox> + </widget> + <widget> + <class>QLayoutWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>Layout10</cstring> + </property> + <property> + <name>layoutSpacing</name> + </property> + <hbox> + <property stdset="1"> + <name>margin</name> + <number>0</number> + </property> + <property stdset="1"> + <name>spacing</name> + <number>0</number> + </property> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF6</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string></string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF7</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string></string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF8</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string>log</string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF9</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>focusPolicy</name> + <enum>TabFocus</enum> + </property> + <property stdset="1"> + <name>text</name> + <string>ln</string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF11</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string>(</string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF12</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>text</name> + <string>)</string> + </property> + </widget> + </hbox> + </widget> + <widget> + <class>QLayoutWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>Layout11</cstring> + </property> + <property> + <name>layoutSpacing</name> + </property> + <hbox> + <property stdset="1"> + <name>margin</name> + <number>0</number> + </property> + <property stdset="1"> + <name>spacing</name> + <number>0</number> + </property> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF1</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>focusPolicy</name> + <enum>TabFocus</enum> + </property> + <property stdset="1"> + <name>text</name> + <string>sin</string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF2</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>focusPolicy</name> + <enum>TabFocus</enum> + </property> + <property stdset="1"> + <name>text</name> + <string>cos</string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF3</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>focusPolicy</name> + <enum>TabFocus</enum> + </property> + <property stdset="1"> + <name>text</name> + <string>tan</string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF4</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>focusPolicy</name> + <enum>TabFocus</enum> + </property> + <property stdset="1"> + <name>text</name> + <string></string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF5</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>focusPolicy</name> + <enum>TabFocus</enum> + </property> + <property stdset="1"> + <name>text</name> + <string>%</string> + </property> + </widget> + <widget> + <class>QPushButton</class> + <property stdset="1"> + <name>name</name> + <cstring>PushButtonF10</cstring> + </property> + <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> + <name>focusPolicy</name> + <enum>TabFocus</enum> + </property> + <property stdset="1"> + <name>text</name> + <string>+/-</string> + </property> + </widget> + </hbox> + </widget> + </vbox> </widget> - </hbox> + </vbox> </widget> @@ -538,4 +575,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -567,4 +604,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -596,4 +633,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -625,4 +662,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -654,4 +691,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -683,4 +720,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -712,4 +749,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -741,4 +778,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -770,4 +807,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -799,4 +836,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -828,4 +865,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -857,4 +894,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -886,4 +923,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -915,4 +952,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -944,4 +981,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> @@ -973,4 +1010,4 @@ <font> - <family>adobe-helvetica</family> - <pointsize>24</pointsize> + <family>adobe-courier</family> + <pointsize>16</pointsize> </font> |