1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'stylesheeteditor.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_STYLESHEETEDITOR_H |
10 | #define UI_STYLESHEETEDITOR_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QApplication> |
14 | #include <QtWidgets/QComboBox> |
15 | #include <QtWidgets/QGridLayout> |
16 | #include <QtWidgets/QHBoxLayout> |
17 | #include <QtWidgets/QLabel> |
18 | #include <QtWidgets/QPushButton> |
19 | #include <QtWidgets/QSpacerItem> |
20 | #include <QtWidgets/QTextEdit> |
21 | #include <QtWidgets/QWidget> |
22 | |
23 | QT_BEGIN_NAMESPACE |
24 | |
25 | class Ui_StyleSheetEditor |
26 | { |
27 | public: |
28 | QGridLayout *gridLayout; |
29 | QSpacerItem *spacerItem; |
30 | QSpacerItem *spacerItem1; |
31 | QComboBox *styleSheetCombo; |
32 | QSpacerItem *spacerItem2; |
33 | QComboBox *styleCombo; |
34 | QLabel *label_7; |
35 | QHBoxLayout *hboxLayout; |
36 | QSpacerItem *spacerItem3; |
37 | QPushButton *applyButton; |
38 | QTextEdit *styleTextEdit; |
39 | QLabel *label_8; |
40 | |
41 | void setupUi(QWidget *StyleSheetEditor) |
42 | { |
43 | if (StyleSheetEditor->objectName().isEmpty()) |
44 | StyleSheetEditor->setObjectName(QString::fromUtf8(str: "StyleSheetEditor" )); |
45 | StyleSheetEditor->resize(w: 445, h: 289); |
46 | gridLayout = new QGridLayout(StyleSheetEditor); |
47 | #ifndef Q_OS_MAC |
48 | gridLayout->setSpacing(6); |
49 | #endif |
50 | #ifndef Q_OS_MAC |
51 | gridLayout->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9); |
52 | #endif |
53 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
54 | spacerItem = new QSpacerItem(32, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
55 | |
56 | gridLayout->addItem(item: spacerItem, row: 0, column: 6, rowSpan: 1, columnSpan: 1); |
57 | |
58 | spacerItem1 = new QSpacerItem(32, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
59 | |
60 | gridLayout->addItem(item: spacerItem1, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
61 | |
62 | styleSheetCombo = new QComboBox(StyleSheetEditor); |
63 | styleSheetCombo->addItem(atext: QString()); |
64 | styleSheetCombo->addItem(atext: QString()); |
65 | styleSheetCombo->addItem(atext: QString()); |
66 | styleSheetCombo->setObjectName(QString::fromUtf8(str: "styleSheetCombo" )); |
67 | |
68 | gridLayout->addWidget(styleSheetCombo, row: 0, column: 5, rowSpan: 1, columnSpan: 1); |
69 | |
70 | spacerItem2 = new QSpacerItem(10, 16, QSizePolicy::Fixed, QSizePolicy::Minimum); |
71 | |
72 | gridLayout->addItem(item: spacerItem2, row: 0, column: 3, rowSpan: 1, columnSpan: 1); |
73 | |
74 | styleCombo = new QComboBox(StyleSheetEditor); |
75 | styleCombo->setObjectName(QString::fromUtf8(str: "styleCombo" )); |
76 | QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); |
77 | sizePolicy.setHorizontalStretch(0); |
78 | sizePolicy.setVerticalStretch(0); |
79 | sizePolicy.setHeightForWidth(styleCombo->sizePolicy().hasHeightForWidth()); |
80 | styleCombo->setSizePolicy(sizePolicy); |
81 | |
82 | gridLayout->addWidget(styleCombo, row: 0, column: 2, rowSpan: 1, columnSpan: 1); |
83 | |
84 | label_7 = new QLabel(StyleSheetEditor); |
85 | label_7->setObjectName(QString::fromUtf8(str: "label_7" )); |
86 | QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Preferred); |
87 | sizePolicy1.setHorizontalStretch(0); |
88 | sizePolicy1.setVerticalStretch(0); |
89 | sizePolicy1.setHeightForWidth(label_7->sizePolicy().hasHeightForWidth()); |
90 | label_7->setSizePolicy(sizePolicy1); |
91 | |
92 | gridLayout->addWidget(label_7, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
93 | |
94 | hboxLayout = new QHBoxLayout(); |
95 | #ifndef Q_OS_MAC |
96 | hboxLayout->setSpacing(6); |
97 | #endif |
98 | hboxLayout->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
99 | hboxLayout->setObjectName(QString::fromUtf8(str: "hboxLayout" )); |
100 | spacerItem3 = new QSpacerItem(321, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
101 | |
102 | hboxLayout->addItem(spacerItem3); |
103 | |
104 | applyButton = new QPushButton(StyleSheetEditor); |
105 | applyButton->setObjectName(QString::fromUtf8(str: "applyButton" )); |
106 | applyButton->setEnabled(false); |
107 | |
108 | hboxLayout->addWidget(applyButton); |
109 | |
110 | |
111 | gridLayout->addLayout(hboxLayout, row: 2, column: 0, rowSpan: 1, columnSpan: 7); |
112 | |
113 | styleTextEdit = new QTextEdit(StyleSheetEditor); |
114 | styleTextEdit->setObjectName(QString::fromUtf8(str: "styleTextEdit" )); |
115 | |
116 | gridLayout->addWidget(styleTextEdit, row: 1, column: 0, rowSpan: 1, columnSpan: 7); |
117 | |
118 | label_8 = new QLabel(StyleSheetEditor); |
119 | label_8->setObjectName(QString::fromUtf8(str: "label_8" )); |
120 | sizePolicy1.setHeightForWidth(label_8->sizePolicy().hasHeightForWidth()); |
121 | label_8->setSizePolicy(sizePolicy1); |
122 | |
123 | gridLayout->addWidget(label_8, row: 0, column: 4, rowSpan: 1, columnSpan: 1); |
124 | |
125 | |
126 | retranslateUi(StyleSheetEditor); |
127 | |
128 | QMetaObject::connectSlotsByName(o: StyleSheetEditor); |
129 | } // setupUi |
130 | |
131 | void retranslateUi(QWidget *StyleSheetEditor) |
132 | { |
133 | StyleSheetEditor->setWindowTitle(QCoreApplication::translate(context: "StyleSheetEditor" , key: "Style Editor" , disambiguation: nullptr)); |
134 | styleSheetCombo->setItemText(index: 0, text: QCoreApplication::translate(context: "StyleSheetEditor" , key: "Default" , disambiguation: nullptr)); |
135 | styleSheetCombo->setItemText(index: 1, text: QCoreApplication::translate(context: "StyleSheetEditor" , key: "Coffee" , disambiguation: nullptr)); |
136 | styleSheetCombo->setItemText(index: 2, text: QCoreApplication::translate(context: "StyleSheetEditor" , key: "Pagefold" , disambiguation: nullptr)); |
137 | |
138 | label_7->setText(QCoreApplication::translate(context: "StyleSheetEditor" , key: "Style:" , disambiguation: nullptr)); |
139 | applyButton->setText(QCoreApplication::translate(context: "StyleSheetEditor" , key: "&Apply" , disambiguation: nullptr)); |
140 | label_8->setText(QCoreApplication::translate(context: "StyleSheetEditor" , key: "Style Sheet:" , disambiguation: nullptr)); |
141 | } // retranslateUi |
142 | |
143 | }; |
144 | |
145 | namespace Ui { |
146 | class StyleSheetEditor: public Ui_StyleSheetEditor {}; |
147 | } // namespace Ui |
148 | |
149 | QT_END_NAMESPACE |
150 | |
151 | #endif // UI_STYLESHEETEDITOR_H |
152 | |