| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'preferencesdialog.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 PREFERENCESDIALOG_H |
| 10 |
#define PREFERENCESDIALOG_H |
| 11 |
|
| 12 |
#include <QtCore/QVariant> |
| 13 |
#include <QtWidgets/QApplication> |
| 14 |
#include <QtWidgets/QComboBox> |
| 15 |
#include <QtWidgets/QDialog> |
| 16 |
#include <QtWidgets/QDialogButtonBox> |
| 17 |
#include <QtWidgets/QFrame> |
| 18 |
#include <QtWidgets/QGridLayout> |
| 19 |
#include <QtWidgets/QGroupBox> |
| 20 |
#include <QtWidgets/QHBoxLayout> |
| 21 |
#include <QtWidgets/QListWidget> |
| 22 |
#include <QtWidgets/QSpacerItem> |
| 23 |
#include <QtWidgets/QToolButton> |
| 24 |
#include <QtWidgets/QVBoxLayout> |
| 25 |
#include <previewconfigurationwidget_p.h> |
| 26 |
#include "fontpanel.h" |
| 27 |
#include "gridpanel_p.h" |
| 28 |
|
| 29 |
QT_BEGIN_NAMESPACE |
| 30 |
|
| 31 |
class Ui_PreferencesDialog |
| 32 |
{ |
| 33 |
public: |
| 34 |
QVBoxLayout *vboxLayout; |
| 35 |
QHBoxLayout *hboxLayout; |
| 36 |
QVBoxLayout *vboxLayout1; |
| 37 |
QGroupBox *m_uiModeGroupBox; |
| 38 |
QVBoxLayout *vboxLayout2; |
| 39 |
QComboBox *m_uiModeCombo; |
| 40 |
FontPanel *m_fontPanel; |
| 41 |
qdesigner_internal::PreviewConfigurationWidget *m_previewConfigurationWidget; |
| 42 |
QVBoxLayout *vboxLayout3; |
| 43 |
QGroupBox *m_templatePathGroupBox; |
| 44 |
QGridLayout *gridLayout; |
| 45 |
QListWidget *m_templatePathListWidget; |
| 46 |
QToolButton *m_addTemplatePathButton; |
| 47 |
QToolButton *m_removeTemplatePathButton; |
| 48 |
QSpacerItem *spacerItem; |
| 49 |
qdesigner_internal::GridPanel *m_gridPanel; |
| 50 |
QFrame *line; |
| 51 |
QDialogButtonBox *m_dialogButtonBox; |
| 52 |
|
| 53 |
void setupUi(QDialog *PreferencesDialog) |
| 54 |
{ |
| 55 |
if (PreferencesDialog->objectName().isEmpty()) |
| 56 |
PreferencesDialog->setObjectName(QString::fromUtf8("PreferencesDialog")); |
| 57 |
PreferencesDialog->resize(455, 359); |
| 58 |
PreferencesDialog->setModal(true); |
| 59 |
vboxLayout = new QVBoxLayout(PreferencesDialog); |
| 60 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 61 |
hboxLayout = new QHBoxLayout(); |
| 62 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
| 63 |
vboxLayout1 = new QVBoxLayout(); |
| 64 |
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
| 65 |
m_uiModeGroupBox = new QGroupBox(PreferencesDialog); |
| 66 |
m_uiModeGroupBox->setObjectName(QString::fromUtf8("m_uiModeGroupBox")); |
| 67 |
vboxLayout2 = new QVBoxLayout(m_uiModeGroupBox); |
| 68 |
vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); |
| 69 |
m_uiModeCombo = new QComboBox(m_uiModeGroupBox); |
| 70 |
m_uiModeCombo->setObjectName(QString::fromUtf8("m_uiModeCombo")); |
| 71 |
|
| 72 |
vboxLayout2->addWidget(m_uiModeCombo); |
| 73 |
|
| 74 |
|
| 75 |
vboxLayout1->addWidget(m_uiModeGroupBox); |
| 76 |
|
| 77 |
m_fontPanel = new FontPanel(PreferencesDialog); |
| 78 |
m_fontPanel->setObjectName(QString::fromUtf8("m_fontPanel")); |
| 79 |
|
| 80 |
vboxLayout1->addWidget(m_fontPanel); |
| 81 |
|
| 82 |
m_previewConfigurationWidget = new qdesigner_internal::PreviewConfigurationWidget(PreferencesDialog); |
| 83 |
m_previewConfigurationWidget->setObjectName(QString::fromUtf8("m_previewConfigurationWidget")); |
| 84 |
|
| 85 |
vboxLayout1->addWidget(m_previewConfigurationWidget); |
| 86 |
|
| 87 |
|
| 88 |
hboxLayout->addLayout(vboxLayout1); |
| 89 |
|
| 90 |
vboxLayout3 = new QVBoxLayout(); |
| 91 |
vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3")); |
| 92 |
m_templatePathGroupBox = new QGroupBox(PreferencesDialog); |
| 93 |
m_templatePathGroupBox->setObjectName(QString::fromUtf8("m_templatePathGroupBox")); |
| 94 |
gridLayout = new QGridLayout(m_templatePathGroupBox); |
| 95 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 96 |
m_templatePathListWidget = new QListWidget(m_templatePathGroupBox); |
| 97 |
m_templatePathListWidget->setObjectName(QString::fromUtf8("m_templatePathListWidget")); |
| 98 |
|
| 99 |
gridLayout->addWidget(m_templatePathListWidget, 0, 0, 1, 3); |
| 100 |
|
| 101 |
m_addTemplatePathButton = new QToolButton(m_templatePathGroupBox); |
| 102 |
m_addTemplatePathButton->setObjectName(QString::fromUtf8("m_addTemplatePathButton")); |
| 103 |
|
| 104 |
gridLayout->addWidget(m_addTemplatePathButton, 1, 0, 1, 1); |
| 105 |
|
| 106 |
m_removeTemplatePathButton = new QToolButton(m_templatePathGroupBox); |
| 107 |
m_removeTemplatePathButton->setObjectName(QString::fromUtf8("m_removeTemplatePathButton")); |
| 108 |
|
| 109 |
gridLayout->addWidget(m_removeTemplatePathButton, 1, 1, 1, 1); |
| 110 |
|
| 111 |
spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 112 |
|
| 113 |
gridLayout->addItem(spacerItem, 1, 2, 1, 1); |
| 114 |
|
| 115 |
|
| 116 |
vboxLayout3->addWidget(m_templatePathGroupBox); |
| 117 |
|
| 118 |
m_gridPanel = new qdesigner_internal::GridPanel(PreferencesDialog); |
| 119 |
m_gridPanel->setObjectName(QString::fromUtf8("m_gridPanel")); |
| 120 |
|
| 121 |
vboxLayout3->addWidget(m_gridPanel); |
| 122 |
|
| 123 |
|
| 124 |
hboxLayout->addLayout(vboxLayout3); |
| 125 |
|
| 126 |
|
| 127 |
vboxLayout->addLayout(hboxLayout); |
| 128 |
|
| 129 |
line = new QFrame(PreferencesDialog); |
| 130 |
line->setObjectName(QString::fromUtf8("line")); |
| 131 |
line->setFrameShape(QFrame::HLine); |
| 132 |
line->setFrameShadow(QFrame::Sunken); |
| 133 |
|
| 134 |
vboxLayout->addWidget(line); |
| 135 |
|
| 136 |
m_dialogButtonBox = new QDialogButtonBox(PreferencesDialog); |
| 137 |
m_dialogButtonBox->setObjectName(QString::fromUtf8("m_dialogButtonBox")); |
| 138 |
m_dialogButtonBox->setOrientation(Qt::Horizontal); |
| 139 |
m_dialogButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
| 140 |
|
| 141 |
vboxLayout->addWidget(m_dialogButtonBox); |
| 142 |
|
| 143 |
|
| 144 |
retranslateUi(PreferencesDialog); |
| 145 |
QObject::connect(m_dialogButtonBox, SIGNAL(accepted()), PreferencesDialog, SLOT(accept())); |
| 146 |
QObject::connect(m_dialogButtonBox, SIGNAL(rejected()), PreferencesDialog, SLOT(reject())); |
| 147 |
|
| 148 |
QMetaObject::connectSlotsByName(PreferencesDialog); |
| 149 |
} // setupUi |
| 150 |
|
| 151 |
void retranslateUi(QDialog *PreferencesDialog) |
| 152 |
{ |
| 153 |
PreferencesDialog->setWindowTitle(QCoreApplication::translate("PreferencesDialog", "Preferences", nullptr)); |
| 154 |
m_uiModeGroupBox->setTitle(QCoreApplication::translate("PreferencesDialog", "User Interface Mode", nullptr)); |
| 155 |
m_templatePathGroupBox->setTitle(QCoreApplication::translate("PreferencesDialog", "Additional Template Paths", nullptr)); |
| 156 |
m_addTemplatePathButton->setText(QCoreApplication::translate("PreferencesDialog", "...", nullptr)); |
| 157 |
m_removeTemplatePathButton->setText(QCoreApplication::translate("PreferencesDialog", "...", nullptr)); |
| 158 |
} // retranslateUi |
| 159 |
|
| 160 |
}; |
| 161 |
|
| 162 |
namespace Ui { |
| 163 |
class PreferencesDialog: public Ui_PreferencesDialog {}; |
| 164 |
} // namespace Ui |
| 165 |
|
| 166 |
QT_END_NAMESPACE |
| 167 |
|
| 168 |
#endif // PREFERENCESDIALOG_H |