Changeset View
Changeset View
Standalone View
Standalone View
src/confpagemisc.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 | <class>confPageMisc</class> | 3 | <class>confPageMisc</class> | ||
4 | <widget class="QWidget" name="confPageMisc"> | 4 | <widget class="QWidget" name="confPageMisc"> | ||
5 | <property name="geometry"> | 5 | <property name="geometry"> | ||
6 | <rect> | 6 | <rect> | ||
7 | <x>0</x> | 7 | <x>0</x> | ||
8 | <y>0</y> | 8 | <y>0</y> | ||
9 | <width>289</width> | 9 | <width>417</width> | ||
10 | <height>123</height> | 10 | <height>76</height> | ||
11 | </rect> | 11 | </rect> | ||
12 | </property> | 12 | </property> | ||
13 | <layout class="QGridLayout"> | 13 | <layout class="QVBoxLayout"> | ||
14 | <property name="margin"> | 14 | <item> | ||
15 | <number>0</number> | 15 | <layout class="QFormLayout" name="formLayout"> | ||
16 | </property> | 16 | <item row="1" column="0"> | ||
17 | <item row="1" column="2"> | | |||
18 | <widget class="QSpinBox" name="autoSaveInterval"> | | |||
19 | <property name="whatsThis"> | | |||
20 | <string>This is the number of minutes KJots will wait before automatically saving changes.</string> | | |||
21 | </property> | | |||
22 | <property name="specialValueText"> | | |||
23 | <string>1 minute</string> | | |||
24 | </property> | | |||
25 | <property name="suffix"> | | |||
26 | <string> minutes</string> | | |||
27 | </property> | | |||
28 | <property name="minimum"> | | |||
29 | <number>1</number> | | |||
30 | </property> | | |||
31 | <property name="maximum"> | | |||
32 | <number>1440</number> | | |||
33 | </property> | | |||
34 | </widget> | | |||
35 | </item> | | |||
36 | <item row="1" column="1"> | | |||
37 | <widget class="QLabel" name="textLabel1"> | 17 | <widget class="QLabel" name="textLabel1"> | ||
38 | <property name="whatsThis"> | 18 | <property name="whatsThis"> | ||
39 | <string>This is the number of minutes KJots will wait before automatically saving changes.</string> | 19 | <string>This is the number of minutes KJots will wait before automatically saving changes.</string> | ||
40 | </property> | 20 | </property> | ||
41 | <property name="text"> | 21 | <property name="text"> | ||
42 | <string>S&ave every:</string> | 22 | <string>S&ave every:</string> | ||
43 | </property> | 23 | </property> | ||
44 | <property name="wordWrap"> | 24 | <property name="wordWrap"> | ||
45 | <bool>false</bool> | 25 | <bool>false</bool> | ||
46 | </property> | 26 | </property> | ||
47 | <property name="buddy"> | 27 | <property name="buddy"> | ||
48 | <cstring>autoSaveInterval</cstring> | 28 | <cstring>kcfg_AutoSaveInterval</cstring> | ||
49 | </property> | 29 | </property> | ||
50 | </widget> | 30 | </widget> | ||
51 | </item> | 31 | </item> | ||
52 | <item row="1" column="3"> | 32 | <item row="1" column="1"> | ||
53 | <spacer name="spacer1"> | 33 | <widget class="QSpinBox" name="kcfg_AutoSaveInterval"> | ||
54 | <property name="orientation"> | 34 | <property name="whatsThis"> | ||
55 | <enum>Qt::Horizontal</enum> | 35 | <string>This is the number of minutes KJots will wait before automatically saving changes.</string> | ||
56 | </property> | | |||
57 | <property name="sizeType"> | | |||
58 | <enum>QSizePolicy::Expanding</enum> | | |||
59 | </property> | | |||
60 | <property name="sizeHint" stdset="0"> | | |||
61 | <size> | | |||
62 | <width>40</width> | | |||
63 | <height>20</height> | | |||
64 | </size> | | |||
65 | </property> | 36 | </property> | ||
66 | </spacer> | 37 | <property name="specialValueText"> | ||
67 | </item> | 38 | <string>1 minute</string> | ||
68 | <item row="3" column="2"> | | |||
69 | <spacer name="spacer4"> | | |||
70 | <property name="orientation"> | | |||
71 | <enum>Qt::Vertical</enum> | | |||
72 | </property> | | |||
73 | <property name="sizeType"> | | |||
74 | <enum>QSizePolicy::Expanding</enum> | | |||
75 | </property> | | |||
76 | <property name="sizeHint" stdset="0"> | | |||
77 | <size> | | |||
78 | <width>20</width> | | |||
79 | <height>30</height> | | |||
80 | </size> | | |||
81 | </property> | 39 | </property> | ||
82 | </spacer> | 40 | <property name="suffix"> | ||
83 | </item> | 41 | <string> minutes</string> | ||
84 | <item row="1" column="0"> | | |||
85 | <spacer name="spacer3"> | | |||
86 | <property name="orientation"> | | |||
87 | <enum>Qt::Horizontal</enum> | | |||
88 | </property> | | |||
89 | <property name="sizeType"> | | |||
90 | <enum>QSizePolicy::Fixed</enum> | | |||
91 | </property> | | |||
92 | <property name="sizeHint" stdset="0"> | | |||
93 | <size> | | |||
94 | <width>20</width> | | |||
95 | <height>20</height> | | |||
96 | </size> | | |||
97 | </property> | 42 | </property> | ||
98 | </spacer> | 43 | <property name="minimum"> | ||
44 | <number>1</number> | ||||
45 | </property> | ||||
46 | <property name="maximum"> | ||||
47 | <number>1440</number> | ||||
48 | </property> | ||||
49 | </widget> | ||||
99 | </item> | 50 | </item> | ||
100 | <item row="0" column="0" colspan="4"> | 51 | <item row="0" column="1"> | ||
101 | <widget class="QCheckBox" name="autoSave"> | 52 | <widget class="QCheckBox" name="kcfg_AutoSave"> | ||
102 | <property name="whatsThis"> | 53 | <property name="whatsThis"> | ||
103 | <string>When "Save changes periodically" is checked, KJots will automatically save changes made to books at the interval defined below.</string> | 54 | <string>When "Save changes periodically" is checked, KJots will automatically save changes made to books at the interval defined below.</string> | ||
104 | </property> | 55 | </property> | ||
105 | <property name="text"> | 56 | <property name="text"> | ||
106 | <string>&Save changes periodically</string> | 57 | <string>&Save changes periodically</string> | ||
107 | </property> | 58 | </property> | ||
108 | <property name="checked"> | 59 | <property name="checked"> | ||
109 | <bool>true</bool> | 60 | <bool>true</bool> | ||
110 | </property> | 61 | </property> | ||
111 | </widget> | 62 | </widget> | ||
112 | </item> | 63 | </item> | ||
113 | </layout> | 64 | </layout> | ||
65 | </item> | ||||
66 | </layout> | ||||
114 | </widget> | 67 | </widget> | ||
115 | <resources/> | 68 | <resources/> | ||
116 | <connections> | 69 | <connections> | ||
117 | <connection> | 70 | <connection> | ||
118 | <sender>kcfg_AutoSave</sender> | 71 | <sender>kcfg_AutoSave</sender> | ||
119 | <signal>toggled(bool)</signal> | 72 | <signal>toggled(bool)</signal> | ||
120 | <receiver>kcfg_AutoSaveInterval</receiver> | 73 | <receiver>kcfg_AutoSaveInterval</receiver> | ||
121 | <slot>setEnabled(bool)</slot> | 74 | <slot>setEnabled(bool)</slot> | ||
122 | <hints> | | |||
123 | <hint type="sourcelabel"> | | |||
124 | <x>20</x> | | |||
125 | <y>20</y> | | |||
126 | </hint> | | |||
127 | <hint type="destinationlabel"> | | |||
128 | <x>20</x> | | |||
129 | <y>20</y> | | |||
130 | </hint> | | |||
131 | </hints> | | |||
132 | </connection> | 75 | </connection> | ||
133 | <connection> | 76 | <connection> | ||
134 | <sender>kcfg_AutoSave</sender> | 77 | <sender>kcfg_AutoSave</sender> | ||
135 | <signal>toggled(bool)</signal> | 78 | <signal>toggled(bool)</signal> | ||
136 | <receiver>textLabel1</receiver> | 79 | <receiver>textLabel1</receiver> | ||
137 | <slot>setEnabled(bool)</slot> | 80 | <slot>setEnabled(bool)</slot> | ||
138 | <hints> | | |||
139 | <hint type="sourcelabel"> | | |||
140 | <x>20</x> | | |||
141 | <y>20</y> | | |||
142 | </hint> | | |||
143 | <hint type="destinationlabel"> | | |||
144 | <x>20</x> | | |||
145 | <y>20</y> | | |||
146 | </hint> | | |||
147 | </hints> | | |||
148 | </connection> | 81 | </connection> | ||
149 | </connections> | 82 | </connections> | ||
150 | </ui> | 83 | </ui> |