Changeset View
Changeset View
Standalone View
Standalone View
resources/tomboynotes/configdialog.ui
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
---|---|---|---|---|---|
2 | <ui version="4.0"> | 2 | <ui version="4.0"> | ||
3 | <author>Till Adam <adam@kde.org></author> | 3 | <author>Till Adam <adam@kde.org></author> | ||
4 | <class>ConfigDialog</class> | 4 | <class>ConfigDialog</class> | ||
5 | <widget class="QWidget" name="ConfigDialog"> | 5 | <widget class="QWidget" name="ConfigDialog"> | ||
6 | <property name="geometry"> | 6 | <property name="geometry"> | ||
7 | <rect> | 7 | <rect> | ||
8 | <x>0</x> | 8 | <x>0</x> | ||
9 | <y>0</y> | 9 | <y>0</y> | ||
10 | <width>400</width> | 10 | <width>400</width> | ||
11 | <height>290</height> | 11 | <height>314</height> | ||
12 | </rect> | 12 | </rect> | ||
13 | </property> | 13 | </property> | ||
14 | <property name="windowTitle"> | 14 | <property name="windowTitle"> | ||
15 | <string>Tomboy Server Settings</string> | 15 | <string>Tomboy Server Settings</string> | ||
16 | </property> | 16 | </property> | ||
17 | <layout class="QVBoxLayout" name="verticalLayout"> | 17 | <layout class="QVBoxLayout" name="verticalLayout"> | ||
18 | <property name="leftMargin"> | 18 | <property name="leftMargin"> | ||
19 | <number>0</number> | 19 | <number>0</number> | ||
▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 61 | <item> | |||
63 | <property name="toolTip"> | 63 | <property name="toolTip"> | ||
64 | <string>This value is not changeable after first setup</string> | 64 | <string>This value is not changeable after first setup</string> | ||
65 | </property> | 65 | </property> | ||
66 | <property name="showClearButton" stdset="0"> | 66 | <property name="showClearButton" stdset="0"> | ||
67 | <bool>true</bool> | 67 | <bool>true</bool> | ||
68 | </property> | 68 | </property> | ||
69 | </widget> | 69 | </widget> | ||
70 | </item> | 70 | </item> | ||
71 | <item alignment="Qt::AlignLeft"> | ||||
72 | <widget class="QWidget" name="widget_2" native="true"> | ||||
73 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | ||||
74 | <item> | ||||
75 | <widget class="QLabel" name="label_3"> | ||||
76 | <property name="text"> | ||||
77 | <string>Update interval:</string> | ||||
78 | </property> | ||||
79 | </widget> | ||||
80 | </item> | ||||
81 | <item> | ||||
82 | <widget class="QSpinBox" name="kcfg_refreshInterval"/> | ||||
83 | </item> | ||||
84 | <item> | ||||
85 | <widget class="QLabel" name="label_4"> | ||||
86 | <property name="text"> | ||||
87 | <string>minutes</string> | ||||
88 | </property> | ||||
89 | </widget> | ||||
dvratil: Use QSpinBox rather than KLineEdit, you can do it like
[QLabel "Update interval:"] [QSpinBox]… | |||||
90 | </item> | ||||
91 | </layout> | ||||
92 | </widget> | ||||
93 | </item> | ||||
71 | <item> | 94 | <item> | ||
72 | <widget class="QCheckBox" name="kcfg_ReadOnly"> | 95 | <widget class="QCheckBox" name="kcfg_ReadOnly"> | ||
73 | <property name="text"> | 96 | <property name="text"> | ||
74 | <string>Open in read-only mode</string> | 97 | <string>Open in read-only mode</string> | ||
75 | </property> | 98 | </property> | ||
76 | </widget> | 99 | </widget> | ||
77 | </item> | 100 | </item> | ||
78 | <item> | 101 | <item> | ||
Show All 15 Lines | 113 | <property name="sizeHint" stdset="0"> | |||
94 | </size> | 117 | </size> | ||
95 | </property> | 118 | </property> | ||
96 | </spacer> | 119 | </spacer> | ||
97 | </item> | 120 | </item> | ||
98 | </layout> | 121 | </layout> | ||
99 | </widget> | 122 | </widget> | ||
100 | </widget> | 123 | </widget> | ||
101 | </item> | 124 | </item> | ||
102 | <item> | | |||
103 | <widget class="QLabel" name="statusLabel"> | | |||
104 | <property name="text"> | | |||
105 | <string/> | | |||
106 | </property> | | |||
107 | <property name="wordWrap"> | | |||
108 | <bool>true</bool> | | |||
109 | </property> | | |||
110 | </widget> | | |||
111 | </item> | | |||
112 | </layout> | 125 | </layout> | ||
113 | </widget> | 126 | </widget> | ||
114 | <customwidgets> | 127 | <customwidgets> | ||
115 | <customwidget> | 128 | <customwidget> | ||
116 | <class>KLineEdit</class> | 129 | <class>KLineEdit</class> | ||
117 | <extends>QLineEdit</extends> | 130 | <extends>QLineEdit</extends> | ||
118 | <header>klineedit.h</header> | 131 | <header>klineedit.h</header> | ||
119 | </customwidget> | 132 | </customwidget> | ||
120 | </customwidgets> | 133 | </customwidgets> | ||
121 | <resources/> | 134 | <resources/> | ||
122 | <connections/> | 135 | <connections/> | ||
123 | </ui> | 136 | </ui> |
Use QSpinBox rather than KLineEdit, you can do it like
[QLabel "Update interval:"] [QSpinBox] [QLabel "minutes"]