Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/SettingsDialog/SaveOptions.ui
- This file was added.
1 | <?xml version="1.0" encoding="UTF-8"?> | ||||
---|---|---|---|---|---|
2 | <ui version="4.0"> | ||||
3 | <class>SaveOptions</class> | ||||
4 | <widget class="QWidget" name="SaveOptions"> | ||||
5 | <property name="geometry"> | ||||
6 | <rect> | ||||
7 | <x>0</x> | ||||
8 | <y>0</y> | ||||
9 | <width>598</width> | ||||
10 | <height>286</height> | ||||
11 | </rect> | ||||
12 | </property> | ||||
13 | <layout class="QFormLayout" name="formLayout"> | ||||
14 | <item row="1" column="0"> | ||||
15 | <widget class="QLabel" name="saveLocationLabel"> | ||||
16 | <property name="text"> | ||||
17 | <string>Save Location:</string> | ||||
18 | </property> | ||||
19 | <property name="buddy"> | ||||
20 | <cstring>kcfg_defaultSaveLocation</cstring> | ||||
21 | </property> | ||||
22 | </widget> | ||||
23 | </item> | ||||
24 | <item row="1" column="1"> | ||||
25 | <widget class="KUrlRequester" name="kcfg_defaultSaveLocation"> | ||||
26 | <property name="mode"> | ||||
27 | <set>KFile::Directory|KFile::LocalOnly</set> | ||||
28 | </property> | ||||
29 | </widget> | ||||
30 | </item> | ||||
31 | <item row="2" column="1"> | ||||
32 | <widget class="QCheckBox" name="kcfg_copySaveLocation"> | ||||
33 | <property name="text"> | ||||
34 | <string>Copy file location to clipboard after saving</string> | ||||
35 | </property> | ||||
36 | </widget> | ||||
37 | </item> | ||||
38 | <item row="3" column="0" colspan="2"> | ||||
39 | <spacer name="verticalSpacer"> | ||||
40 | <property name="orientation"> | ||||
41 | <enum>Qt::Vertical</enum> | ||||
42 | </property> | ||||
43 | <property name="sizeType"> | ||||
44 | <enum>QSizePolicy::Fixed</enum> | ||||
45 | </property> | ||||
46 | <property name="sizeHint" stdset="0"> | ||||
47 | <size> | ||||
48 | <width>0</width> | ||||
49 | <height>18</height> | ||||
50 | </size> | ||||
51 | </property> | ||||
52 | </spacer> | ||||
53 | </item> | ||||
54 | <item row="4" column="0"> | ||||
55 | <widget class="QLabel" name="qualityLabel"> | ||||
56 | <property name="text"> | ||||
57 | <string>Compression Quality:</string> | ||||
58 | </property> | ||||
59 | <property name="buddy"> | ||||
60 | <cstring>qualitySpinner</cstring> | ||||
61 | </property> | ||||
62 | </widget> | ||||
63 | </item> | ||||
64 | <item row="4" column="1"> | ||||
65 | <layout class="QVBoxLayout" name="qualityVLayout"> | ||||
66 | <item> | ||||
67 | <layout class="QHBoxLayout" name="qualityHLayout"> | ||||
68 | <item> | ||||
69 | <widget class="QSlider" name="kcfg_compressionQuality"> | ||||
70 | <property name="orientation"> | ||||
71 | <enum>Qt::Horizontal</enum> | ||||
72 | </property> | ||||
73 | </widget> | ||||
74 | </item> | ||||
75 | <item> | ||||
76 | <widget class="QSpinBox" name="qualitySpinner"> | ||||
77 | <property name="suffix"> | ||||
78 | <string>%</string> | ||||
79 | </property> | ||||
80 | <property name="maximum"> | ||||
81 | <number>100</number> | ||||
82 | </property> | ||||
83 | </widget> | ||||
84 | </item> | ||||
85 | </layout> | ||||
86 | </item> | ||||
87 | <item> | ||||
88 | <widget class="QLabel" name="label"> | ||||
89 | <property name="text"> | ||||
90 | <string>Choose the image quality when saving with lossy image formats like JPEG</string> | ||||
91 | </property> | ||||
92 | </widget> | ||||
93 | </item> | ||||
94 | </layout> | ||||
95 | </item> | ||||
96 | <item row="5" column="0"> | ||||
97 | <widget class="QLabel" name="filenameLabel"> | ||||
98 | <property name="text"> | ||||
99 | <string>Filename:</string> | ||||
100 | </property> | ||||
101 | <property name="buddy"> | ||||
102 | <cstring>kcfg_saveFilenameFormat</cstring> | ||||
103 | </property> | ||||
104 | </widget> | ||||
105 | </item> | ||||
106 | <item row="5" column="1"> | ||||
107 | <layout class="QHBoxLayout" name="saveLayout"> | ||||
108 | <item> | ||||
109 | <widget class="QLineEdit" name="kcfg_saveFilenameFormat"> | ||||
110 | <property name="placeholderText"> | ||||
111 | <string notr="true">%d</string> | ||||
112 | </property> | ||||
113 | </widget> | ||||
114 | </item> | ||||
115 | <item> | ||||
116 | <widget class="QComboBox" name="kcfg_defaultSaveImageFormat"> | ||||
117 | <property name="kcfg_property" stdset="0"> | ||||
118 | <string>currentText</string> | ||||
119 | </property> | ||||
120 | </widget> | ||||
121 | </item> | ||||
122 | </layout> | ||||
123 | </item> | ||||
124 | <item row="8" column="0"> | ||||
125 | <widget class="QLabel" name="PreviewLabel"> | ||||
126 | <property name="text"> | ||||
127 | <string comment="Preview of the user configured filename">Preview:</string> | ||||
128 | </property> | ||||
129 | </widget> | ||||
130 | </item> | ||||
131 | <item row="8" column="1"> | ||||
132 | <widget class="QLabel" name="preview"> | ||||
133 | <property name="text"> | ||||
134 | <string/> | ||||
135 | </property> | ||||
136 | </widget> | ||||
137 | </item> | ||||
138 | <item row="9" column="1"> | ||||
139 | <widget class="QLabel" name="helpTextLabel"> | ||||
140 | <property name="text"> | ||||
141 | <string/> | ||||
142 | </property> | ||||
143 | <property name="wordWrap"> | ||||
144 | <bool>true</bool> | ||||
145 | </property> | ||||
146 | </widget> | ||||
147 | </item> | ||||
148 | <item row="7" column="0" colspan="2"> | ||||
149 | <spacer name="verticalSpacer_2"> | ||||
150 | <property name="orientation"> | ||||
151 | <enum>Qt::Vertical</enum> | ||||
152 | </property> | ||||
153 | <property name="sizeType"> | ||||
154 | <enum>QSizePolicy::Fixed</enum> | ||||
155 | </property> | ||||
156 | <property name="sizeHint" stdset="0"> | ||||
157 | <size> | ||||
158 | <width>0</width> | ||||
159 | <height>18</height> | ||||
160 | </size> | ||||
161 | </property> | ||||
162 | </spacer> | ||||
163 | </item> | ||||
164 | </layout> | ||||
165 | </widget> | ||||
166 | <customwidgets> | ||||
167 | <customwidget> | ||||
168 | <class>KUrlRequester</class> | ||||
169 | <extends>QWidget</extends> | ||||
170 | <header>kurlrequester.h</header> | ||||
171 | </customwidget> | ||||
172 | </customwidgets> | ||||
173 | <resources/> | ||||
174 | <connections> | ||||
175 | <connection> | ||||
176 | <sender>kcfg_compressionQuality</sender> | ||||
177 | <signal>valueChanged(int)</signal> | ||||
178 | <receiver>qualitySpinner</receiver> | ||||
179 | <slot>setValue(int)</slot> | ||||
180 | </connection> | ||||
181 | <connection> | ||||
182 | <sender>qualitySpinner</sender> | ||||
183 | <signal>valueChanged(int)</signal> | ||||
184 | <receiver>kcfg_compressionQuality</receiver> | ||||
185 | <slot>setValue(int)</slot> | ||||
186 | </connection> | ||||
187 | </connections> | ||||
188 | </ui> |