|
1 /******************************************************************************** |
|
2 ** Form generated from reading UI file 'mainwindow.ui' |
|
3 ** |
|
4 ** Created: Fri Sep 4 10:17:13 2009 |
|
5 ** by: Qt User Interface Compiler version 4.6.0 |
|
6 ** |
|
7 ** WARNING! All changes made in this file will be lost when recompiling UI file! |
|
8 ********************************************************************************/ |
|
9 |
|
10 #ifndef MAINWINDOW_H |
|
11 #define MAINWINDOW_H |
|
12 |
|
13 #include <QtCore/QVariant> |
|
14 #include <QtGui/QAction> |
|
15 #include <QtGui/QApplication> |
|
16 #include <QtGui/QButtonGroup> |
|
17 #include <QtGui/QCheckBox> |
|
18 #include <QtGui/QComboBox> |
|
19 #include <QtGui/QFontComboBox> |
|
20 #include <QtGui/QGroupBox> |
|
21 #include <QtGui/QHBoxLayout> |
|
22 #include <QtGui/QHeaderView> |
|
23 #include <QtGui/QLabel> |
|
24 #include <QtGui/QLineEdit> |
|
25 #include <QtGui/QListWidget> |
|
26 #include <QtGui/QMainWindow> |
|
27 #include <QtGui/QMenu> |
|
28 #include <QtGui/QMenuBar> |
|
29 #include <QtGui/QPushButton> |
|
30 #include <QtGui/QRadioButton> |
|
31 #include <QtGui/QSpacerItem> |
|
32 #include <QtGui/QSpinBox> |
|
33 #include <QtGui/QStatusBar> |
|
34 #include <QtGui/QVBoxLayout> |
|
35 #include <QtGui/QWidget> |
|
36 |
|
37 QT_BEGIN_NAMESPACE |
|
38 |
|
39 class Ui_MainWindow |
|
40 { |
|
41 public: |
|
42 QAction *actionAdd_Custom_Font; |
|
43 QAction *action_Exit; |
|
44 QWidget *centralwidget; |
|
45 QVBoxLayout *vboxLayout; |
|
46 QGroupBox *groupBox; |
|
47 QHBoxLayout *hboxLayout; |
|
48 QLabel *label; |
|
49 QFontComboBox *fontComboBox; |
|
50 QLabel *label_2; |
|
51 QSpinBox *pixelSize; |
|
52 QLabel *label_7; |
|
53 QComboBox *weightCombo; |
|
54 QCheckBox *italic; |
|
55 QSpacerItem *spacerItem; |
|
56 QGroupBox *groupBox_2; |
|
57 QVBoxLayout *vboxLayout1; |
|
58 QRadioButton *chooseFromCodePoints; |
|
59 QVBoxLayout *vboxLayout2; |
|
60 QListWidget *characterRangeView; |
|
61 QHBoxLayout *hboxLayout1; |
|
62 QPushButton *selectAll; |
|
63 QPushButton *deselectAll; |
|
64 QPushButton *invertSelection; |
|
65 QSpacerItem *spacerItem1; |
|
66 QRadioButton *chooseFromSampleFile; |
|
67 QHBoxLayout *hboxLayout2; |
|
68 QLabel *label_5; |
|
69 QLineEdit *sampleFile; |
|
70 QPushButton *browseSampleFile; |
|
71 QLabel *charCount; |
|
72 QGroupBox *groupBox_3; |
|
73 QHBoxLayout *hboxLayout3; |
|
74 QLineEdit *preview; |
|
75 QGroupBox *groupBox_4; |
|
76 QHBoxLayout *hboxLayout4; |
|
77 QLabel *label_3; |
|
78 QLineEdit *path; |
|
79 QPushButton *browsePath; |
|
80 QLabel *label_4; |
|
81 QLineEdit *fileName; |
|
82 QHBoxLayout *hboxLayout5; |
|
83 QPushButton *generate; |
|
84 QSpacerItem *spacerItem2; |
|
85 QMenuBar *menubar; |
|
86 QMenu *menuFile; |
|
87 QStatusBar *statusbar; |
|
88 |
|
89 void setupUi(QMainWindow *MainWindow) |
|
90 { |
|
91 if (MainWindow->objectName().isEmpty()) |
|
92 MainWindow->setObjectName(QString::fromUtf8("MainWindow")); |
|
93 MainWindow->resize(829, 813); |
|
94 actionAdd_Custom_Font = new QAction(MainWindow); |
|
95 actionAdd_Custom_Font->setObjectName(QString::fromUtf8("actionAdd_Custom_Font")); |
|
96 action_Exit = new QAction(MainWindow); |
|
97 action_Exit->setObjectName(QString::fromUtf8("action_Exit")); |
|
98 centralwidget = new QWidget(MainWindow); |
|
99 centralwidget->setObjectName(QString::fromUtf8("centralwidget")); |
|
100 vboxLayout = new QVBoxLayout(centralwidget); |
|
101 #ifndef Q_OS_MAC |
|
102 vboxLayout->setSpacing(6); |
|
103 #endif |
|
104 #ifndef Q_OS_MAC |
|
105 vboxLayout->setContentsMargins(9, 9, 9, 9); |
|
106 #endif |
|
107 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
108 groupBox = new QGroupBox(centralwidget); |
|
109 groupBox->setObjectName(QString::fromUtf8("groupBox")); |
|
110 hboxLayout = new QHBoxLayout(groupBox); |
|
111 #ifndef Q_OS_MAC |
|
112 hboxLayout->setSpacing(6); |
|
113 #endif |
|
114 #ifndef Q_OS_MAC |
|
115 hboxLayout->setContentsMargins(9, 9, 9, 9); |
|
116 #endif |
|
117 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
118 label = new QLabel(groupBox); |
|
119 label->setObjectName(QString::fromUtf8("label")); |
|
120 |
|
121 hboxLayout->addWidget(label); |
|
122 |
|
123 fontComboBox = new QFontComboBox(groupBox); |
|
124 fontComboBox->setObjectName(QString::fromUtf8("fontComboBox")); |
|
125 |
|
126 hboxLayout->addWidget(fontComboBox); |
|
127 |
|
128 label_2 = new QLabel(groupBox); |
|
129 label_2->setObjectName(QString::fromUtf8("label_2")); |
|
130 |
|
131 hboxLayout->addWidget(label_2); |
|
132 |
|
133 pixelSize = new QSpinBox(groupBox); |
|
134 pixelSize->setObjectName(QString::fromUtf8("pixelSize")); |
|
135 pixelSize->setMinimum(1); |
|
136 |
|
137 hboxLayout->addWidget(pixelSize); |
|
138 |
|
139 label_7 = new QLabel(groupBox); |
|
140 label_7->setObjectName(QString::fromUtf8("label_7")); |
|
141 |
|
142 hboxLayout->addWidget(label_7); |
|
143 |
|
144 weightCombo = new QComboBox(groupBox); |
|
145 weightCombo->setObjectName(QString::fromUtf8("weightCombo")); |
|
146 |
|
147 hboxLayout->addWidget(weightCombo); |
|
148 |
|
149 italic = new QCheckBox(groupBox); |
|
150 italic->setObjectName(QString::fromUtf8("italic")); |
|
151 |
|
152 hboxLayout->addWidget(italic); |
|
153 |
|
154 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
155 |
|
156 hboxLayout->addItem(spacerItem); |
|
157 |
|
158 |
|
159 vboxLayout->addWidget(groupBox); |
|
160 |
|
161 groupBox_2 = new QGroupBox(centralwidget); |
|
162 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2")); |
|
163 vboxLayout1 = new QVBoxLayout(groupBox_2); |
|
164 #ifndef Q_OS_MAC |
|
165 vboxLayout1->setSpacing(6); |
|
166 #endif |
|
167 #ifndef Q_OS_MAC |
|
168 vboxLayout1->setContentsMargins(9, 9, 9, 9); |
|
169 #endif |
|
170 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
|
171 chooseFromCodePoints = new QRadioButton(groupBox_2); |
|
172 chooseFromCodePoints->setObjectName(QString::fromUtf8("chooseFromCodePoints")); |
|
173 chooseFromCodePoints->setChecked(true); |
|
174 |
|
175 vboxLayout1->addWidget(chooseFromCodePoints); |
|
176 |
|
177 vboxLayout2 = new QVBoxLayout(); |
|
178 #ifndef Q_OS_MAC |
|
179 vboxLayout2->setSpacing(6); |
|
180 #endif |
|
181 vboxLayout2->setContentsMargins(0, 0, 0, 0); |
|
182 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); |
|
183 characterRangeView = new QListWidget(groupBox_2); |
|
184 characterRangeView->setObjectName(QString::fromUtf8("characterRangeView")); |
|
185 |
|
186 vboxLayout2->addWidget(characterRangeView); |
|
187 |
|
188 hboxLayout1 = new QHBoxLayout(); |
|
189 #ifndef Q_OS_MAC |
|
190 hboxLayout1->setSpacing(6); |
|
191 #endif |
|
192 hboxLayout1->setContentsMargins(0, 0, 0, 0); |
|
193 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); |
|
194 selectAll = new QPushButton(groupBox_2); |
|
195 selectAll->setObjectName(QString::fromUtf8("selectAll")); |
|
196 |
|
197 hboxLayout1->addWidget(selectAll); |
|
198 |
|
199 deselectAll = new QPushButton(groupBox_2); |
|
200 deselectAll->setObjectName(QString::fromUtf8("deselectAll")); |
|
201 |
|
202 hboxLayout1->addWidget(deselectAll); |
|
203 |
|
204 invertSelection = new QPushButton(groupBox_2); |
|
205 invertSelection->setObjectName(QString::fromUtf8("invertSelection")); |
|
206 |
|
207 hboxLayout1->addWidget(invertSelection); |
|
208 |
|
209 spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
210 |
|
211 hboxLayout1->addItem(spacerItem1); |
|
212 |
|
213 |
|
214 vboxLayout2->addLayout(hboxLayout1); |
|
215 |
|
216 |
|
217 vboxLayout1->addLayout(vboxLayout2); |
|
218 |
|
219 chooseFromSampleFile = new QRadioButton(groupBox_2); |
|
220 chooseFromSampleFile->setObjectName(QString::fromUtf8("chooseFromSampleFile")); |
|
221 |
|
222 vboxLayout1->addWidget(chooseFromSampleFile); |
|
223 |
|
224 hboxLayout2 = new QHBoxLayout(); |
|
225 #ifndef Q_OS_MAC |
|
226 hboxLayout2->setSpacing(6); |
|
227 #endif |
|
228 hboxLayout2->setContentsMargins(0, 0, 0, 0); |
|
229 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2")); |
|
230 label_5 = new QLabel(groupBox_2); |
|
231 label_5->setObjectName(QString::fromUtf8("label_5")); |
|
232 label_5->setEnabled(false); |
|
233 |
|
234 hboxLayout2->addWidget(label_5); |
|
235 |
|
236 sampleFile = new QLineEdit(groupBox_2); |
|
237 sampleFile->setObjectName(QString::fromUtf8("sampleFile")); |
|
238 sampleFile->setEnabled(false); |
|
239 |
|
240 hboxLayout2->addWidget(sampleFile); |
|
241 |
|
242 browseSampleFile = new QPushButton(groupBox_2); |
|
243 browseSampleFile->setObjectName(QString::fromUtf8("browseSampleFile")); |
|
244 browseSampleFile->setEnabled(false); |
|
245 |
|
246 hboxLayout2->addWidget(browseSampleFile); |
|
247 |
|
248 charCount = new QLabel(groupBox_2); |
|
249 charCount->setObjectName(QString::fromUtf8("charCount")); |
|
250 charCount->setEnabled(false); |
|
251 |
|
252 hboxLayout2->addWidget(charCount); |
|
253 |
|
254 |
|
255 vboxLayout1->addLayout(hboxLayout2); |
|
256 |
|
257 |
|
258 vboxLayout->addWidget(groupBox_2); |
|
259 |
|
260 groupBox_3 = new QGroupBox(centralwidget); |
|
261 groupBox_3->setObjectName(QString::fromUtf8("groupBox_3")); |
|
262 hboxLayout3 = new QHBoxLayout(groupBox_3); |
|
263 #ifndef Q_OS_MAC |
|
264 hboxLayout3->setSpacing(6); |
|
265 #endif |
|
266 #ifndef Q_OS_MAC |
|
267 hboxLayout3->setContentsMargins(9, 9, 9, 9); |
|
268 #endif |
|
269 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3")); |
|
270 preview = new QLineEdit(groupBox_3); |
|
271 preview->setObjectName(QString::fromUtf8("preview")); |
|
272 |
|
273 hboxLayout3->addWidget(preview); |
|
274 |
|
275 |
|
276 vboxLayout->addWidget(groupBox_3); |
|
277 |
|
278 groupBox_4 = new QGroupBox(centralwidget); |
|
279 groupBox_4->setObjectName(QString::fromUtf8("groupBox_4")); |
|
280 hboxLayout4 = new QHBoxLayout(groupBox_4); |
|
281 #ifndef Q_OS_MAC |
|
282 hboxLayout4->setSpacing(6); |
|
283 #endif |
|
284 #ifndef Q_OS_MAC |
|
285 hboxLayout4->setContentsMargins(9, 9, 9, 9); |
|
286 #endif |
|
287 hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4")); |
|
288 label_3 = new QLabel(groupBox_4); |
|
289 label_3->setObjectName(QString::fromUtf8("label_3")); |
|
290 |
|
291 hboxLayout4->addWidget(label_3); |
|
292 |
|
293 path = new QLineEdit(groupBox_4); |
|
294 path->setObjectName(QString::fromUtf8("path")); |
|
295 |
|
296 hboxLayout4->addWidget(path); |
|
297 |
|
298 browsePath = new QPushButton(groupBox_4); |
|
299 browsePath->setObjectName(QString::fromUtf8("browsePath")); |
|
300 |
|
301 hboxLayout4->addWidget(browsePath); |
|
302 |
|
303 label_4 = new QLabel(groupBox_4); |
|
304 label_4->setObjectName(QString::fromUtf8("label_4")); |
|
305 |
|
306 hboxLayout4->addWidget(label_4); |
|
307 |
|
308 fileName = new QLineEdit(groupBox_4); |
|
309 fileName->setObjectName(QString::fromUtf8("fileName")); |
|
310 fileName->setEnabled(false); |
|
311 |
|
312 hboxLayout4->addWidget(fileName); |
|
313 |
|
314 |
|
315 vboxLayout->addWidget(groupBox_4); |
|
316 |
|
317 hboxLayout5 = new QHBoxLayout(); |
|
318 #ifndef Q_OS_MAC |
|
319 hboxLayout5->setSpacing(6); |
|
320 #endif |
|
321 hboxLayout5->setContentsMargins(0, 0, 0, 0); |
|
322 hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5")); |
|
323 generate = new QPushButton(centralwidget); |
|
324 generate->setObjectName(QString::fromUtf8("generate")); |
|
325 |
|
326 hboxLayout5->addWidget(generate); |
|
327 |
|
328 spacerItem2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
329 |
|
330 hboxLayout5->addItem(spacerItem2); |
|
331 |
|
332 |
|
333 vboxLayout->addLayout(hboxLayout5); |
|
334 |
|
335 MainWindow->setCentralWidget(centralwidget); |
|
336 menubar = new QMenuBar(MainWindow); |
|
337 menubar->setObjectName(QString::fromUtf8("menubar")); |
|
338 menubar->setGeometry(QRect(0, 0, 829, 29)); |
|
339 menuFile = new QMenu(menubar); |
|
340 menuFile->setObjectName(QString::fromUtf8("menuFile")); |
|
341 MainWindow->setMenuBar(menubar); |
|
342 statusbar = new QStatusBar(MainWindow); |
|
343 statusbar->setObjectName(QString::fromUtf8("statusbar")); |
|
344 MainWindow->setStatusBar(statusbar); |
|
345 |
|
346 menubar->addAction(menuFile->menuAction()); |
|
347 menuFile->addAction(actionAdd_Custom_Font); |
|
348 menuFile->addSeparator(); |
|
349 menuFile->addAction(action_Exit); |
|
350 |
|
351 retranslateUi(MainWindow); |
|
352 QObject::connect(action_Exit, SIGNAL(triggered()), MainWindow, SLOT(close())); |
|
353 QObject::connect(chooseFromCodePoints, SIGNAL(toggled(bool)), characterRangeView, SLOT(setEnabled(bool))); |
|
354 QObject::connect(chooseFromCodePoints, SIGNAL(toggled(bool)), selectAll, SLOT(setEnabled(bool))); |
|
355 QObject::connect(chooseFromCodePoints, SIGNAL(toggled(bool)), deselectAll, SLOT(setEnabled(bool))); |
|
356 QObject::connect(chooseFromCodePoints, SIGNAL(toggled(bool)), invertSelection, SLOT(setEnabled(bool))); |
|
357 QObject::connect(chooseFromSampleFile, SIGNAL(toggled(bool)), sampleFile, SLOT(setEnabled(bool))); |
|
358 QObject::connect(chooseFromSampleFile, SIGNAL(toggled(bool)), browseSampleFile, SLOT(setEnabled(bool))); |
|
359 QObject::connect(chooseFromSampleFile, SIGNAL(toggled(bool)), charCount, SLOT(setEnabled(bool))); |
|
360 QObject::connect(chooseFromSampleFile, SIGNAL(toggled(bool)), label_5, SLOT(setEnabled(bool))); |
|
361 |
|
362 QMetaObject::connectSlotsByName(MainWindow); |
|
363 } // setupUi |
|
364 |
|
365 void retranslateUi(QMainWindow *MainWindow) |
|
366 { |
|
367 MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MakeQPF", 0, QApplication::UnicodeUTF8)); |
|
368 actionAdd_Custom_Font->setText(QApplication::translate("MainWindow", "&Add Custom Font...", 0, QApplication::UnicodeUTF8)); |
|
369 action_Exit->setText(QApplication::translate("MainWindow", "&Exit", 0, QApplication::UnicodeUTF8)); |
|
370 groupBox->setTitle(QApplication::translate("MainWindow", "Font Properties", 0, QApplication::UnicodeUTF8)); |
|
371 label->setText(QApplication::translate("MainWindow", "Family:", 0, QApplication::UnicodeUTF8)); |
|
372 label_2->setText(QApplication::translate("MainWindow", "Pixel Size:", 0, QApplication::UnicodeUTF8)); |
|
373 label_7->setText(QApplication::translate("MainWindow", "Weight:", 0, QApplication::UnicodeUTF8)); |
|
374 italic->setText(QApplication::translate("MainWindow", "Italic", 0, QApplication::UnicodeUTF8)); |
|
375 groupBox_2->setTitle(QApplication::translate("MainWindow", "Glyph Coverage", 0, QApplication::UnicodeUTF8)); |
|
376 chooseFromCodePoints->setText(QApplication::translate("MainWindow", "Choose from Unicode Codepoints:", 0, QApplication::UnicodeUTF8)); |
|
377 selectAll->setText(QApplication::translate("MainWindow", "Select &All", 0, QApplication::UnicodeUTF8)); |
|
378 deselectAll->setText(QApplication::translate("MainWindow", "&Deselect All", 0, QApplication::UnicodeUTF8)); |
|
379 invertSelection->setText(QApplication::translate("MainWindow", "&Invert Selection", 0, QApplication::UnicodeUTF8)); |
|
380 chooseFromSampleFile->setText(QApplication::translate("MainWindow", "Choose from Sample Text File (UTF-8 Encoded):", 0, QApplication::UnicodeUTF8)); |
|
381 label_5->setText(QApplication::translate("MainWindow", "Path:", 0, QApplication::UnicodeUTF8)); |
|
382 browseSampleFile->setText(QApplication::translate("MainWindow", "Browse...", 0, QApplication::UnicodeUTF8)); |
|
383 charCount->setText(QApplication::translate("MainWindow", "TextLabel", 0, QApplication::UnicodeUTF8)); |
|
384 groupBox_3->setTitle(QApplication::translate("MainWindow", "Preview", 0, QApplication::UnicodeUTF8)); |
|
385 groupBox_4->setTitle(QApplication::translate("MainWindow", "Output Options", 0, QApplication::UnicodeUTF8)); |
|
386 label_3->setText(QApplication::translate("MainWindow", "Path:", 0, QApplication::UnicodeUTF8)); |
|
387 browsePath->setText(QApplication::translate("MainWindow", "Browse...", 0, QApplication::UnicodeUTF8)); |
|
388 label_4->setText(QApplication::translate("MainWindow", "Filename:", 0, QApplication::UnicodeUTF8)); |
|
389 generate->setText(QApplication::translate("MainWindow", "Generate Pre-Rendered Font...", 0, QApplication::UnicodeUTF8)); |
|
390 menuFile->setTitle(QApplication::translate("MainWindow", "File", 0, QApplication::UnicodeUTF8)); |
|
391 } // retranslateUi |
|
392 |
|
393 }; |
|
394 |
|
395 namespace Ui { |
|
396 class MainWindow: public Ui_MainWindow {}; |
|
397 } // namespace Ui |
|
398 |
|
399 QT_END_NAMESPACE |
|
400 |
|
401 #endif // MAINWINDOW_H |