From a651ef38fbd5a712261f8a40d0417e2ddb91b530 Mon Sep 17 00:00:00 2001 From: harlekin Date: Wed, 26 Mar 2003 10:08:41 +0000 Subject: make calculator behave better when display hight is small --- (limited to 'noncore/tools') 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 @@ -30,8 +30,8 @@ 0 0 - 271 - 404 + 389 + 562 @@ -72,56 +72,28 @@ spacing - 0 + 2 - QLCDNumber - - name - LCD - - - sizePolicy - - 1 - 1 - - - - font - - 7 - - - - numDigits - 15 - - - segmentStyle - Flat - - - QLayoutWidget name - Layout4 + Layout7 - + margin 0 spacing - 0 + 6 - QComboBox + QLCDNumber name - ComboBoxFunction + LCD sizePolicy @@ -130,380 +102,445 @@ 1 - - - QPushButton - - name - PushButtonMPlus - - - sizePolicy - - 5 - 5 - - - - focusPolicy - TabFocus - - - text - M+ - - - - QPushButton - - name - PushButtonMR - - - sizePolicy - - 5 - 5 - - - - focusPolicy - TabFocus - - - text - MR - - - - QPushButton - - name - PushButtonMC - - - sizePolicy - - 5 - 5 - - - - focusPolicy - TabFocus - - - text - MC - - - - QPushButton - - name - PushButtonCE - - - sizePolicy - - 5 - 5 - - - - focusPolicy - TabFocus - - - text - CE - - - - - - QLayoutWidget - - name - Layout10 - - - layoutSpacing - - - - margin - 0 - - - spacing - 0 - - - QPushButton - - name - PushButtonF6 - - - sizePolicy - - 5 - 5 - - - - text - - - - - QPushButton - - name - PushButtonF7 - - - sizePolicy - - 5 - 5 - - - - text - - - - - QPushButton - - name - PushButtonF8 - - - sizePolicy - - 5 - 5 - - - - text - log - - - - QPushButton - - name - PushButtonF9 - - - sizePolicy - - 5 - 5 - - - - focusPolicy - TabFocus - - - text - ln - - - - QPushButton - - name - PushButtonF11 - - - sizePolicy - - 5 - 5 - - - text - ( - - - - QPushButton - - name - PushButtonF12 - - - sizePolicy - - 5 - 5 - - - - text - ) - - - - - - QLayoutWidget - - name - Layout11 - - - layoutSpacing - - - - margin - 0 - - - spacing - 0 - - - QPushButton - - name - PushButtonF1 - - - sizePolicy - - 5 - 5 - - - - focusPolicy - TabFocus - - - text - sin - - - - QPushButton - - name - PushButtonF2 - - - sizePolicy - - 5 - 5 - - - - focusPolicy - TabFocus - - - text - cos - - - - QPushButton - - name - PushButtonF3 - - - sizePolicy - - 5 - 5 - - - - focusPolicy - TabFocus - - - text - tan - - - - QPushButton - - name - PushButtonF4 - - - sizePolicy - - 5 - 5 - - - - focusPolicy - TabFocus - - - text - - - - - QPushButton - - name - PushButtonF5 - - - sizePolicy - - 5 - 5 - + font + + 7 + - focusPolicy - TabFocus + numDigits + 15 - text - % + segmentStyle + Flat - QPushButton + QLayoutWidget name - PushButtonF10 - - - sizePolicy - - 5 - 5 - - - - focusPolicy - TabFocus - - - text - +/- - + Layout6 + + + layoutSpacing + + + + margin + 0 + + + spacing + 2 + + + QLayoutWidget + + name + Layout4 + + + + margin + 0 + + + spacing + 0 + + + QComboBox + + name + ComboBoxFunction + + + sizePolicy + + 1 + 1 + + + + + QPushButton + + name + PushButtonMPlus + + + sizePolicy + + 5 + 5 + + + + focusPolicy + TabFocus + + + text + M+ + + + + QPushButton + + name + PushButtonMR + + + sizePolicy + + 5 + 5 + + + + focusPolicy + TabFocus + + + text + MR + + + + QPushButton + + name + PushButtonMC + + + sizePolicy + + 5 + 5 + + + + focusPolicy + TabFocus + + + text + MC + + + + QPushButton + + name + PushButtonCE + + + sizePolicy + + 5 + 5 + + + + focusPolicy + TabFocus + + + text + CE + + + + + + QLayoutWidget + + name + Layout10 + + + layoutSpacing + + + + margin + 0 + + + spacing + 0 + + + QPushButton + + name + PushButtonF6 + + + sizePolicy + + 5 + 5 + + + + text + + + + + QPushButton + + name + PushButtonF7 + + + sizePolicy + + 5 + 5 + + + + text + + + + + QPushButton + + name + PushButtonF8 + + + sizePolicy + + 5 + 5 + + + + text + log + + + + QPushButton + + name + PushButtonF9 + + + sizePolicy + + 5 + 5 + + + + focusPolicy + TabFocus + + + text + ln + + + + QPushButton + + name + PushButtonF11 + + + sizePolicy + + 5 + 5 + + + + text + ( + + + + QPushButton + + name + PushButtonF12 + + + sizePolicy + + 5 + 5 + + + + text + ) + + + + + + QLayoutWidget + + name + Layout11 + + + layoutSpacing + + + + margin + 0 + + + spacing + 0 + + + QPushButton + + name + PushButtonF1 + + + sizePolicy + + 5 + 5 + + + + focusPolicy + TabFocus + + + text + sin + + + + QPushButton + + name + PushButtonF2 + + + sizePolicy + + 5 + 5 + + + + focusPolicy + TabFocus + + + text + cos + + + + QPushButton + + name + PushButtonF3 + + + sizePolicy + + 5 + 5 + + + + focusPolicy + TabFocus + + + text + tan + + + + QPushButton + + name + PushButtonF4 + + + sizePolicy + + 5 + 5 + + + + focusPolicy + TabFocus + + + text + + + + + QPushButton + + name + PushButtonF5 + + + sizePolicy + + 5 + 5 + + + + focusPolicy + TabFocus + + + text + % + + + + QPushButton + + name + PushButtonF10 + + + sizePolicy + + 5 + 5 + + + + focusPolicy + TabFocus + + + text + +/- + + + + + - + QLayoutWidget @@ -536,8 +573,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -565,8 +602,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -594,8 +631,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -623,8 +660,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -652,8 +689,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -681,8 +718,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -710,8 +747,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -739,8 +776,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -768,8 +805,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -797,8 +834,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -826,8 +863,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -855,8 +892,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -884,8 +921,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -913,8 +950,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -942,8 +979,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 @@ -971,8 +1008,8 @@ font - adobe-helvetica - 24 + adobe-courier + 16 -- cgit v0.9.0.2