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