1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'deviceprofiledialog.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_DEVICEPROFILEDIALOG_H |
10 | #define UI_DEVICEPROFILEDIALOG_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/QFontComboBox> |
18 | #include <QtWidgets/QFormLayout> |
19 | #include <QtWidgets/QLabel> |
20 | #include <QtWidgets/QLineEdit> |
21 | #include <QtWidgets/QVBoxLayout> |
22 | #include <QtWidgets/QWidget> |
23 | #include "dpi_chooser.h" |
24 | |
25 | QT_BEGIN_NAMESPACE |
26 | |
27 | class Ui_DeviceProfileDialog |
28 | { |
29 | public: |
30 | QVBoxLayout *verticalLayout; |
31 | QWidget *SystemSettingsWidget; |
32 | QFormLayout *formLayout; |
33 | QLabel *m_systemFontFamilyLabel; |
34 | QFontComboBox *m_systemFontComboBox; |
35 | QLabel *m_systemFontSizeLabel; |
36 | QComboBox *m_systemFontSizeCombo; |
37 | QLabel *m_styleLabel; |
38 | QComboBox *m_styleCombo; |
39 | QLabel *m_systemDPILabel; |
40 | qdesigner_internal::DPI_Chooser *m_dpiChooser; |
41 | QLabel *m_nameLabel; |
42 | QLineEdit *m_nameLineEdit; |
43 | QDialogButtonBox *buttonBox; |
44 | |
45 | void setupUi(QDialog *dialog) |
46 | { |
47 | if (dialog->objectName().isEmpty()) |
48 | dialog->setObjectName(QString::fromUtf8(str: "dialog" )); |
49 | dialog->resize(w: 348, h: 209); |
50 | verticalLayout = new QVBoxLayout(dialog); |
51 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
52 | SystemSettingsWidget = new QWidget(dialog); |
53 | SystemSettingsWidget->setObjectName(QString::fromUtf8(str: "SystemSettingsWidget" )); |
54 | formLayout = new QFormLayout(SystemSettingsWidget); |
55 | formLayout->setObjectName(QString::fromUtf8(str: "formLayout" )); |
56 | m_systemFontFamilyLabel = new QLabel(SystemSettingsWidget); |
57 | m_systemFontFamilyLabel->setObjectName(QString::fromUtf8(str: "m_systemFontFamilyLabel" )); |
58 | |
59 | formLayout->setWidget(row: 1, role: QFormLayout::LabelRole, widget: m_systemFontFamilyLabel); |
60 | |
61 | m_systemFontComboBox = new QFontComboBox(SystemSettingsWidget); |
62 | m_systemFontComboBox->setObjectName(QString::fromUtf8(str: "m_systemFontComboBox" )); |
63 | |
64 | formLayout->setWidget(row: 1, role: QFormLayout::FieldRole, widget: m_systemFontComboBox); |
65 | |
66 | m_systemFontSizeLabel = new QLabel(SystemSettingsWidget); |
67 | m_systemFontSizeLabel->setObjectName(QString::fromUtf8(str: "m_systemFontSizeLabel" )); |
68 | |
69 | formLayout->setWidget(row: 2, role: QFormLayout::LabelRole, widget: m_systemFontSizeLabel); |
70 | |
71 | m_systemFontSizeCombo = new QComboBox(SystemSettingsWidget); |
72 | m_systemFontSizeCombo->setObjectName(QString::fromUtf8(str: "m_systemFontSizeCombo" )); |
73 | m_systemFontSizeCombo->setEditable(true); |
74 | |
75 | formLayout->setWidget(row: 2, role: QFormLayout::FieldRole, widget: m_systemFontSizeCombo); |
76 | |
77 | m_styleLabel = new QLabel(SystemSettingsWidget); |
78 | m_styleLabel->setObjectName(QString::fromUtf8(str: "m_styleLabel" )); |
79 | |
80 | formLayout->setWidget(row: 3, role: QFormLayout::LabelRole, widget: m_styleLabel); |
81 | |
82 | m_styleCombo = new QComboBox(SystemSettingsWidget); |
83 | m_styleCombo->setObjectName(QString::fromUtf8(str: "m_styleCombo" )); |
84 | |
85 | formLayout->setWidget(row: 3, role: QFormLayout::FieldRole, widget: m_styleCombo); |
86 | |
87 | m_systemDPILabel = new QLabel(SystemSettingsWidget); |
88 | m_systemDPILabel->setObjectName(QString::fromUtf8(str: "m_systemDPILabel" )); |
89 | |
90 | formLayout->setWidget(row: 4, role: QFormLayout::LabelRole, widget: m_systemDPILabel); |
91 | |
92 | m_dpiChooser = new qdesigner_internal::DPI_Chooser(SystemSettingsWidget); |
93 | m_dpiChooser->setObjectName(QString::fromUtf8(str: "m_dpiChooser" )); |
94 | |
95 | formLayout->setWidget(row: 4, role: QFormLayout::FieldRole, widget: m_dpiChooser); |
96 | |
97 | m_nameLabel = new QLabel(SystemSettingsWidget); |
98 | m_nameLabel->setObjectName(QString::fromUtf8(str: "m_nameLabel" )); |
99 | |
100 | formLayout->setWidget(row: 0, role: QFormLayout::LabelRole, widget: m_nameLabel); |
101 | |
102 | m_nameLineEdit = new QLineEdit(SystemSettingsWidget); |
103 | m_nameLineEdit->setObjectName(QString::fromUtf8(str: "m_nameLineEdit" )); |
104 | |
105 | formLayout->setWidget(row: 0, role: QFormLayout::FieldRole, widget: m_nameLineEdit); |
106 | |
107 | |
108 | verticalLayout->addWidget(SystemSettingsWidget); |
109 | |
110 | buttonBox = new QDialogButtonBox(dialog); |
111 | buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox" )); |
112 | buttonBox->setOrientation(Qt::Horizontal); |
113 | buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Open|QDialogButtonBox::Save); |
114 | |
115 | verticalLayout->addWidget(buttonBox); |
116 | |
117 | #if QT_CONFIG(shortcut) |
118 | m_systemFontFamilyLabel->setBuddy(m_systemFontComboBox); |
119 | m_systemFontSizeLabel->setBuddy(m_systemFontSizeCombo); |
120 | m_styleLabel->setBuddy(m_styleCombo); |
121 | #endif // QT_CONFIG(shortcut) |
122 | QWidget::setTabOrder(m_nameLineEdit, m_systemFontComboBox); |
123 | QWidget::setTabOrder(m_systemFontComboBox, m_systemFontSizeCombo); |
124 | QWidget::setTabOrder(m_systemFontSizeCombo, m_styleCombo); |
125 | QWidget::setTabOrder(m_styleCombo, buttonBox); |
126 | |
127 | retranslateUi(dialog); |
128 | |
129 | QMetaObject::connectSlotsByName(o: dialog); |
130 | } // setupUi |
131 | |
132 | void retranslateUi(QDialog *dialog) |
133 | { |
134 | m_systemFontFamilyLabel->setText(QCoreApplication::translate(context: "DeviceProfileDialog" , key: "&Family" , disambiguation: nullptr)); |
135 | m_systemFontSizeLabel->setText(QCoreApplication::translate(context: "DeviceProfileDialog" , key: "&Point Size" , disambiguation: nullptr)); |
136 | m_styleLabel->setText(QCoreApplication::translate(context: "DeviceProfileDialog" , key: "Style" , disambiguation: nullptr)); |
137 | m_systemDPILabel->setText(QCoreApplication::translate(context: "DeviceProfileDialog" , key: "Device DPI" , disambiguation: nullptr)); |
138 | m_nameLabel->setText(QCoreApplication::translate(context: "DeviceProfileDialog" , key: "Name" , disambiguation: nullptr)); |
139 | (void)dialog; |
140 | } // retranslateUi |
141 | |
142 | }; |
143 | |
144 | namespace Ui { |
145 | class DeviceProfileDialog: public Ui_DeviceProfileDialog {}; |
146 | } // namespace Ui |
147 | |
148 | QT_END_NAMESPACE |
149 | |
150 | #endif // UI_DEVICEPROFILEDIALOG_H |
151 | |