2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'preferencesdialog.ui'
|
|
|
|
**
|
2020-04-24 12:29:29 +00:00
|
|
|
** Created by: Qt User Interface Compiler version 6.0.0
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef PREFERENCESDIALOG_H
|
|
|
|
#define PREFERENCESDIALOG_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2020-04-19 09:23:55 +00:00
|
|
|
#include <QtWidgets/QAbstractButton>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QComboBox>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
|
|
#include <QtWidgets/QFrame>
|
|
|
|
#include <QtWidgets/QGridLayout>
|
|
|
|
#include <QtWidgets/QGroupBox>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QListWidget>
|
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
|
#include <QtWidgets/QToolButton>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
2011-04-27 10:05:43 +00:00
|
|
|
#include <previewconfigurationwidget_p.h>
|
|
|
|
#include "fontpanel.h"
|
|
|
|
#include "gridpanel_p.h"
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_PreferencesDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QVBoxLayout *vboxLayout;
|
|
|
|
QHBoxLayout *hboxLayout;
|
|
|
|
QVBoxLayout *vboxLayout1;
|
|
|
|
QGroupBox *m_uiModeGroupBox;
|
|
|
|
QVBoxLayout *vboxLayout2;
|
|
|
|
QComboBox *m_uiModeCombo;
|
|
|
|
FontPanel *m_fontPanel;
|
|
|
|
qdesigner_internal::PreviewConfigurationWidget *m_previewConfigurationWidget;
|
|
|
|
QVBoxLayout *vboxLayout3;
|
|
|
|
QGroupBox *m_templatePathGroupBox;
|
|
|
|
QGridLayout *gridLayout;
|
|
|
|
QListWidget *m_templatePathListWidget;
|
|
|
|
QToolButton *m_addTemplatePathButton;
|
|
|
|
QToolButton *m_removeTemplatePathButton;
|
|
|
|
QSpacerItem *spacerItem;
|
|
|
|
qdesigner_internal::GridPanel *m_gridPanel;
|
|
|
|
QFrame *line;
|
|
|
|
QDialogButtonBox *m_dialogButtonBox;
|
|
|
|
|
|
|
|
void setupUi(QDialog *PreferencesDialog)
|
|
|
|
{
|
|
|
|
if (PreferencesDialog->objectName().isEmpty())
|
2018-07-13 09:02:14 +00:00
|
|
|
PreferencesDialog->setObjectName(QString::fromUtf8("PreferencesDialog"));
|
2011-04-27 10:05:43 +00:00
|
|
|
PreferencesDialog->resize(455, 359);
|
|
|
|
PreferencesDialog->setModal(true);
|
|
|
|
vboxLayout = new QVBoxLayout(PreferencesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
hboxLayout = new QHBoxLayout();
|
2018-07-13 09:02:14 +00:00
|
|
|
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
vboxLayout1 = new QVBoxLayout();
|
2018-07-13 09:02:14 +00:00
|
|
|
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
|
2011-04-27 10:05:43 +00:00
|
|
|
m_uiModeGroupBox = new QGroupBox(PreferencesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
m_uiModeGroupBox->setObjectName(QString::fromUtf8("m_uiModeGroupBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
vboxLayout2 = new QVBoxLayout(m_uiModeGroupBox);
|
2018-07-13 09:02:14 +00:00
|
|
|
vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
m_uiModeCombo = new QComboBox(m_uiModeGroupBox);
|
2018-07-13 09:02:14 +00:00
|
|
|
m_uiModeCombo->setObjectName(QString::fromUtf8("m_uiModeCombo"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
vboxLayout2->addWidget(m_uiModeCombo);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout1->addWidget(m_uiModeGroupBox);
|
|
|
|
|
|
|
|
m_fontPanel = new FontPanel(PreferencesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
m_fontPanel->setObjectName(QString::fromUtf8("m_fontPanel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
vboxLayout1->addWidget(m_fontPanel);
|
|
|
|
|
|
|
|
m_previewConfigurationWidget = new qdesigner_internal::PreviewConfigurationWidget(PreferencesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
m_previewConfigurationWidget->setObjectName(QString::fromUtf8("m_previewConfigurationWidget"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
vboxLayout1->addWidget(m_previewConfigurationWidget);
|
|
|
|
|
|
|
|
|
|
|
|
hboxLayout->addLayout(vboxLayout1);
|
|
|
|
|
|
|
|
vboxLayout3 = new QVBoxLayout();
|
2018-07-13 09:02:14 +00:00
|
|
|
vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
|
2011-04-27 10:05:43 +00:00
|
|
|
m_templatePathGroupBox = new QGroupBox(PreferencesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
m_templatePathGroupBox->setObjectName(QString::fromUtf8("m_templatePathGroupBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
gridLayout = new QGridLayout(m_templatePathGroupBox);
|
2018-07-13 09:02:14 +00:00
|
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
m_templatePathListWidget = new QListWidget(m_templatePathGroupBox);
|
2018-07-13 09:02:14 +00:00
|
|
|
m_templatePathListWidget->setObjectName(QString::fromUtf8("m_templatePathListWidget"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(m_templatePathListWidget, 0, 0, 1, 3);
|
|
|
|
|
|
|
|
m_addTemplatePathButton = new QToolButton(m_templatePathGroupBox);
|
2018-07-13 09:02:14 +00:00
|
|
|
m_addTemplatePathButton->setObjectName(QString::fromUtf8("m_addTemplatePathButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(m_addTemplatePathButton, 1, 0, 1, 1);
|
|
|
|
|
|
|
|
m_removeTemplatePathButton = new QToolButton(m_templatePathGroupBox);
|
2018-07-13 09:02:14 +00:00
|
|
|
m_removeTemplatePathButton->setObjectName(QString::fromUtf8("m_removeTemplatePathButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(m_removeTemplatePathButton, 1, 1, 1, 1);
|
|
|
|
|
|
|
|
spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
gridLayout->addItem(spacerItem, 1, 2, 1, 1);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout3->addWidget(m_templatePathGroupBox);
|
|
|
|
|
|
|
|
m_gridPanel = new qdesigner_internal::GridPanel(PreferencesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
m_gridPanel->setObjectName(QString::fromUtf8("m_gridPanel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
vboxLayout3->addWidget(m_gridPanel);
|
|
|
|
|
|
|
|
|
|
|
|
hboxLayout->addLayout(vboxLayout3);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addLayout(hboxLayout);
|
|
|
|
|
|
|
|
line = new QFrame(PreferencesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
line->setObjectName(QString::fromUtf8("line"));
|
2011-04-27 10:05:43 +00:00
|
|
|
line->setFrameShape(QFrame::HLine);
|
|
|
|
line->setFrameShadow(QFrame::Sunken);
|
|
|
|
|
|
|
|
vboxLayout->addWidget(line);
|
|
|
|
|
|
|
|
m_dialogButtonBox = new QDialogButtonBox(PreferencesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
m_dialogButtonBox->setObjectName(QString::fromUtf8("m_dialogButtonBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
m_dialogButtonBox->setOrientation(Qt::Horizontal);
|
|
|
|
m_dialogButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
|
|
|
|
|
|
|
vboxLayout->addWidget(m_dialogButtonBox);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(PreferencesDialog);
|
2020-04-19 09:23:55 +00:00
|
|
|
QObject::connect(m_dialogButtonBox, &QDialogButtonBox::accepted, PreferencesDialog, &QDialog::accept);
|
|
|
|
QObject::connect(m_dialogButtonBox, &QDialogButtonBox::rejected, PreferencesDialog, &QDialog::reject);
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(PreferencesDialog);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *PreferencesDialog)
|
|
|
|
{
|
2018-11-27 11:31:57 +00:00
|
|
|
PreferencesDialog->setWindowTitle(QCoreApplication::translate("PreferencesDialog", "Preferences", nullptr));
|
|
|
|
m_uiModeGroupBox->setTitle(QCoreApplication::translate("PreferencesDialog", "User Interface Mode", nullptr));
|
|
|
|
m_templatePathGroupBox->setTitle(QCoreApplication::translate("PreferencesDialog", "Additional Template Paths", nullptr));
|
|
|
|
m_addTemplatePathButton->setText(QCoreApplication::translate("PreferencesDialog", "...", nullptr));
|
|
|
|
m_removeTemplatePathButton->setText(QCoreApplication::translate("PreferencesDialog", "...", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class PreferencesDialog: public Ui_PreferencesDialog {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // PREFERENCESDIALOG_H
|