blob: 63d95a33683c9edf2a1212c88e53ae71874091a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
<ui version="4.0" >
<class>formFraction</class>
<widget class="QWidget" name="formFraction" >
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="labelNumerator" >
<property name="text" >
<string>Numerator:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>varNumerator</cstring>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="KIntNumInput" name="varNumerator" >
<property name="toolTip" >
<string>Numerator of the fraction</string>
</property>
<property name="statusTip" >
<string>Numerator of the fraction</string>
</property>
<property name="whatsThis" >
<string>Numerator of the fraction</string>
</property>
<property name="minimum" >
<number>0</number>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="labelDenominator" >
<property name="text" >
<string>Denominator:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>varDenominator</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="KIntNumInput" name="varDenominator" >
<property name="toolTip" >
<string>Denominator of the fraction</string>
</property>
<property name="statusTip" >
<string>Denominator of the fraction</string>
</property>
<property name="whatsThis" >
<string>Denominator of the fraction</string>
</property>
<property name="minimum" >
<number>1</number>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="labelValue" >
<property name="text" >
<string>Value:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>varValue</cstring>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="KLineEdit" name="varValue" >
<property name="toolTip" >
<string>Decimal value of the fraction</string>
</property>
<property name="statusTip" >
<string>Decimal value of the fraction</string>
</property>
<property name="whatsThis" >
<string>Decimal value of the fraction</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntNumInput</class>
<extends>QWidget</extends>
<header location="global" >KIntNumInput</header>
</customwidget>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header location="global" >KLineEdit</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>varNumerator</tabstop>
<tabstop>varDenominator</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>
|