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