1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'editorcolorschemewidget.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.3 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_EDITORCOLORSCHEMEWIDGET_H |
10 | #define UI_EDITORCOLORSCHEMEWIDGET_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QAction> |
14 | #include <QtWidgets/QApplication> |
15 | #include <QtWidgets/QCheckBox> |
16 | #include <QtWidgets/QFrame> |
17 | #include <QtWidgets/QGridLayout> |
18 | #include <QtWidgets/QGroupBox> |
19 | #include <QtWidgets/QHBoxLayout> |
20 | #include <QtWidgets/QHeaderView> |
21 | #include <QtWidgets/QLabel> |
22 | #include <QtWidgets/QSpacerItem> |
23 | #include <QtWidgets/QSplitter> |
24 | #include <QtWidgets/QToolButton> |
25 | #include <QtWidgets/QTreeView> |
26 | #include <QtWidgets/QVBoxLayout> |
27 | #include <QtWidgets/QWidget> |
28 | #include <editor.h> |
29 | #include <widgets/coloredit.h> |
30 | #include <widgets/qpatchedcombobox.h> |
31 | |
32 | QT_BEGIN_NAMESPACE |
33 | |
34 | class Ui_EditorColorSchemeWidget |
35 | { |
36 | public: |
37 | QAction *actionCopy_Scheme; |
38 | QAction *actionRename_Scheme; |
39 | QAction *actionReset_Scheme; |
40 | QAction *actionImport_Scheme; |
41 | QAction *actionExport_Scheme; |
42 | QAction *actionDelete_Scheme; |
43 | QVBoxLayout *verticalLayout; |
44 | QWidget *widget; |
45 | QHBoxLayout *horizontalLayout; |
46 | QLabel *label; |
47 | QPatchedComboBox *cbScheme; |
48 | QToolButton *; |
49 | QSpacerItem *horizontalSpacer; |
50 | QFrame *line; |
51 | QWidget *widget_2; |
52 | QHBoxLayout *horizontalLayout_3; |
53 | QSplitter *splitter; |
54 | QWidget *widget_3; |
55 | QVBoxLayout *verticalLayout_2; |
56 | QTreeView *treeItems; |
57 | QWidget *widget_5; |
58 | QVBoxLayout *verticalLayout_4; |
59 | QWidget *widgetSchemeItem; |
60 | QGridLayout *gridLayout; |
61 | QCheckBox *cbBackground; |
62 | QCheckBox *cbForeground; |
63 | ColorEdit *colorForeground; |
64 | QSpacerItem *horizontalSpacer_2; |
65 | ColorEdit *colorBackground; |
66 | QWidget *widget_4; |
67 | QHBoxLayout *horizontalLayout_2; |
68 | QGroupBox *grpFontStyles; |
69 | QVBoxLayout *verticalLayout_3; |
70 | QCheckBox *cbBold; |
71 | QCheckBox *cbItalic; |
72 | QCheckBox *cbStrikeout; |
73 | QCheckBox *cbUnderlined; |
74 | QSpacerItem *horizontalSpacer_3; |
75 | Editor *editDemo; |
76 | QFrame *line_2; |
77 | QCheckBox *chkRainborParenthesis; |
78 | |
79 | void setupUi(QWidget *EditorColorSchemeWidget) |
80 | { |
81 | if (EditorColorSchemeWidget->objectName().isEmpty()) |
82 | EditorColorSchemeWidget->setObjectName(QString::fromUtf8("EditorColorSchemeWidget" )); |
83 | EditorColorSchemeWidget->resize(781, 556); |
84 | QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); |
85 | sizePolicy.setHorizontalStretch(0); |
86 | sizePolicy.setVerticalStretch(0); |
87 | sizePolicy.setHeightForWidth(EditorColorSchemeWidget->sizePolicy().hasHeightForWidth()); |
88 | EditorColorSchemeWidget->setSizePolicy(sizePolicy); |
89 | actionCopy_Scheme = new QAction(EditorColorSchemeWidget); |
90 | actionCopy_Scheme->setObjectName(QString::fromUtf8("actionCopy_Scheme" )); |
91 | actionRename_Scheme = new QAction(EditorColorSchemeWidget); |
92 | actionRename_Scheme->setObjectName(QString::fromUtf8("actionRename_Scheme" )); |
93 | actionReset_Scheme = new QAction(EditorColorSchemeWidget); |
94 | actionReset_Scheme->setObjectName(QString::fromUtf8("actionReset_Scheme" )); |
95 | actionImport_Scheme = new QAction(EditorColorSchemeWidget); |
96 | actionImport_Scheme->setObjectName(QString::fromUtf8("actionImport_Scheme" )); |
97 | actionExport_Scheme = new QAction(EditorColorSchemeWidget); |
98 | actionExport_Scheme->setObjectName(QString::fromUtf8("actionExport_Scheme" )); |
99 | actionDelete_Scheme = new QAction(EditorColorSchemeWidget); |
100 | actionDelete_Scheme->setObjectName(QString::fromUtf8("actionDelete_Scheme" )); |
101 | verticalLayout = new QVBoxLayout(EditorColorSchemeWidget); |
102 | verticalLayout->setObjectName(QString::fromUtf8("verticalLayout" )); |
103 | widget = new QWidget(EditorColorSchemeWidget); |
104 | widget->setObjectName(QString::fromUtf8("widget" )); |
105 | horizontalLayout = new QHBoxLayout(widget); |
106 | horizontalLayout->setSpacing(7); |
107 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
108 | horizontalLayout->setContentsMargins(0, 0, 0, 0); |
109 | label = new QLabel(widget); |
110 | label->setObjectName(QString::fromUtf8("label" )); |
111 | |
112 | horizontalLayout->addWidget(label); |
113 | |
114 | cbScheme = new QPatchedComboBox(widget); |
115 | cbScheme->setObjectName(QString::fromUtf8("cbScheme" )); |
116 | |
117 | horizontalLayout->addWidget(cbScheme); |
118 | |
119 | btnSchemeMenu = new QToolButton(widget); |
120 | btnSchemeMenu->setObjectName(QString::fromUtf8("btnSchemeMenu" )); |
121 | |
122 | horizontalLayout->addWidget(btnSchemeMenu); |
123 | |
124 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
125 | |
126 | horizontalLayout->addItem(horizontalSpacer); |
127 | |
128 | |
129 | verticalLayout->addWidget(widget); |
130 | |
131 | line = new QFrame(EditorColorSchemeWidget); |
132 | line->setObjectName(QString::fromUtf8("line" )); |
133 | line->setFrameShape(QFrame::HLine); |
134 | line->setFrameShadow(QFrame::Sunken); |
135 | |
136 | verticalLayout->addWidget(line); |
137 | |
138 | widget_2 = new QWidget(EditorColorSchemeWidget); |
139 | widget_2->setObjectName(QString::fromUtf8("widget_2" )); |
140 | QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding); |
141 | sizePolicy1.setHorizontalStretch(0); |
142 | sizePolicy1.setVerticalStretch(0); |
143 | sizePolicy1.setHeightForWidth(widget_2->sizePolicy().hasHeightForWidth()); |
144 | widget_2->setSizePolicy(sizePolicy1); |
145 | horizontalLayout_3 = new QHBoxLayout(widget_2); |
146 | horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3" )); |
147 | horizontalLayout_3->setContentsMargins(0, 0, 0, 0); |
148 | splitter = new QSplitter(widget_2); |
149 | splitter->setObjectName(QString::fromUtf8("splitter" )); |
150 | splitter->setOrientation(Qt::Horizontal); |
151 | widget_3 = new QWidget(splitter); |
152 | widget_3->setObjectName(QString::fromUtf8("widget_3" )); |
153 | widget_3->setEnabled(true); |
154 | QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred); |
155 | sizePolicy2.setHorizontalStretch(1); |
156 | sizePolicy2.setVerticalStretch(0); |
157 | sizePolicy2.setHeightForWidth(widget_3->sizePolicy().hasHeightForWidth()); |
158 | widget_3->setSizePolicy(sizePolicy2); |
159 | verticalLayout_2 = new QVBoxLayout(widget_3); |
160 | verticalLayout_2->setSpacing(7); |
161 | verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2" )); |
162 | verticalLayout_2->setContentsMargins(0, 0, 0, 0); |
163 | treeItems = new QTreeView(widget_3); |
164 | treeItems->setObjectName(QString::fromUtf8("treeItems" )); |
165 | sizePolicy1.setHeightForWidth(treeItems->sizePolicy().hasHeightForWidth()); |
166 | treeItems->setSizePolicy(sizePolicy1); |
167 | treeItems->setEditTriggers(QAbstractItemView::NoEditTriggers); |
168 | treeItems->header()->setVisible(false); |
169 | |
170 | verticalLayout_2->addWidget(treeItems); |
171 | |
172 | widget_5 = new QWidget(widget_3); |
173 | widget_5->setObjectName(QString::fromUtf8("widget_5" )); |
174 | verticalLayout_4 = new QVBoxLayout(widget_5); |
175 | verticalLayout_4->setSpacing(7); |
176 | verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4" )); |
177 | verticalLayout_4->setContentsMargins(0, 0, 0, 0); |
178 | widgetSchemeItem = new QWidget(widget_5); |
179 | widgetSchemeItem->setObjectName(QString::fromUtf8("widgetSchemeItem" )); |
180 | widgetSchemeItem->setEnabled(true); |
181 | gridLayout = new QGridLayout(widgetSchemeItem); |
182 | gridLayout->setObjectName(QString::fromUtf8("gridLayout" )); |
183 | gridLayout->setContentsMargins(0, 0, 0, 0); |
184 | cbBackground = new QCheckBox(widgetSchemeItem); |
185 | cbBackground->setObjectName(QString::fromUtf8("cbBackground" )); |
186 | |
187 | gridLayout->addWidget(cbBackground, 0, 1, 1, 1); |
188 | |
189 | cbForeground = new QCheckBox(widgetSchemeItem); |
190 | cbForeground->setObjectName(QString::fromUtf8("cbForeground" )); |
191 | |
192 | gridLayout->addWidget(cbForeground, 1, 1, 1, 1); |
193 | |
194 | colorForeground = new ColorEdit(widgetSchemeItem); |
195 | colorForeground->setObjectName(QString::fromUtf8("colorForeground" )); |
196 | sizePolicy.setHeightForWidth(colorForeground->sizePolicy().hasHeightForWidth()); |
197 | colorForeground->setSizePolicy(sizePolicy); |
198 | colorForeground->setFrameShape(QFrame::StyledPanel); |
199 | colorForeground->setFrameShadow(QFrame::Raised); |
200 | |
201 | gridLayout->addWidget(colorForeground, 1, 2, 1, 1); |
202 | |
203 | horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
204 | |
205 | gridLayout->addItem(horizontalSpacer_2, 0, 3, 1, 1); |
206 | |
207 | colorBackground = new ColorEdit(widgetSchemeItem); |
208 | colorBackground->setObjectName(QString::fromUtf8("colorBackground" )); |
209 | sizePolicy.setHeightForWidth(colorBackground->sizePolicy().hasHeightForWidth()); |
210 | colorBackground->setSizePolicy(sizePolicy); |
211 | colorBackground->setFrameShape(QFrame::StyledPanel); |
212 | colorBackground->setFrameShadow(QFrame::Raised); |
213 | |
214 | gridLayout->addWidget(colorBackground, 0, 2, 1, 1); |
215 | |
216 | |
217 | verticalLayout_4->addWidget(widgetSchemeItem); |
218 | |
219 | widget_4 = new QWidget(widget_5); |
220 | widget_4->setObjectName(QString::fromUtf8("widget_4" )); |
221 | horizontalLayout_2 = new QHBoxLayout(widget_4); |
222 | horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2" )); |
223 | horizontalLayout_2->setContentsMargins(0, 0, 0, 0); |
224 | grpFontStyles = new QGroupBox(widget_4); |
225 | grpFontStyles->setObjectName(QString::fromUtf8("grpFontStyles" )); |
226 | verticalLayout_3 = new QVBoxLayout(grpFontStyles); |
227 | verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3" )); |
228 | cbBold = new QCheckBox(grpFontStyles); |
229 | cbBold->setObjectName(QString::fromUtf8("cbBold" )); |
230 | |
231 | verticalLayout_3->addWidget(cbBold); |
232 | |
233 | cbItalic = new QCheckBox(grpFontStyles); |
234 | cbItalic->setObjectName(QString::fromUtf8("cbItalic" )); |
235 | |
236 | verticalLayout_3->addWidget(cbItalic); |
237 | |
238 | cbStrikeout = new QCheckBox(grpFontStyles); |
239 | cbStrikeout->setObjectName(QString::fromUtf8("cbStrikeout" )); |
240 | |
241 | verticalLayout_3->addWidget(cbStrikeout); |
242 | |
243 | cbUnderlined = new QCheckBox(grpFontStyles); |
244 | cbUnderlined->setObjectName(QString::fromUtf8("cbUnderlined" )); |
245 | |
246 | verticalLayout_3->addWidget(cbUnderlined); |
247 | |
248 | |
249 | horizontalLayout_2->addWidget(grpFontStyles); |
250 | |
251 | horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
252 | |
253 | horizontalLayout_2->addItem(horizontalSpacer_3); |
254 | |
255 | |
256 | verticalLayout_4->addWidget(widget_4); |
257 | |
258 | |
259 | verticalLayout_2->addWidget(widget_5); |
260 | |
261 | splitter->addWidget(widget_3); |
262 | editDemo = new Editor(splitter); |
263 | editDemo->setObjectName(QString::fromUtf8("editDemo" )); |
264 | QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Expanding); |
265 | sizePolicy3.setHorizontalStretch(2); |
266 | sizePolicy3.setVerticalStretch(0); |
267 | sizePolicy3.setHeightForWidth(editDemo->sizePolicy().hasHeightForWidth()); |
268 | editDemo->setSizePolicy(sizePolicy3); |
269 | editDemo->setFrameShape(QFrame::StyledPanel); |
270 | editDemo->setFrameShadow(QFrame::Raised); |
271 | splitter->addWidget(editDemo); |
272 | |
273 | horizontalLayout_3->addWidget(splitter); |
274 | |
275 | |
276 | verticalLayout->addWidget(widget_2); |
277 | |
278 | line_2 = new QFrame(EditorColorSchemeWidget); |
279 | line_2->setObjectName(QString::fromUtf8("line_2" )); |
280 | line_2->setFrameShape(QFrame::HLine); |
281 | line_2->setFrameShadow(QFrame::Sunken); |
282 | |
283 | verticalLayout->addWidget(line_2); |
284 | |
285 | chkRainborParenthesis = new QCheckBox(EditorColorSchemeWidget); |
286 | chkRainborParenthesis->setObjectName(QString::fromUtf8("chkRainborParenthesis" )); |
287 | |
288 | verticalLayout->addWidget(chkRainborParenthesis); |
289 | |
290 | |
291 | retranslateUi(EditorColorSchemeWidget); |
292 | |
293 | QMetaObject::connectSlotsByName(EditorColorSchemeWidget); |
294 | } // setupUi |
295 | |
296 | void retranslateUi(QWidget *EditorColorSchemeWidget) |
297 | { |
298 | EditorColorSchemeWidget->setWindowTitle(QCoreApplication::translate("EditorColorSchemeWidget" , "Form" , nullptr)); |
299 | actionCopy_Scheme->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Duplicate..." , nullptr)); |
300 | actionRename_Scheme->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Rename..." , nullptr)); |
301 | actionReset_Scheme->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Restore to Default" , nullptr)); |
302 | actionImport_Scheme->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Import Scheme..." , nullptr)); |
303 | actionExport_Scheme->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Export..." , nullptr)); |
304 | actionDelete_Scheme->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Delete..." , nullptr)); |
305 | label->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Scheme" , nullptr)); |
306 | btnSchemeMenu->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "..." , nullptr)); |
307 | cbBackground->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Background:" , nullptr)); |
308 | cbForeground->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Foreground:" , nullptr)); |
309 | grpFontStyles->setTitle(QCoreApplication::translate("EditorColorSchemeWidget" , "Font Styles" , nullptr)); |
310 | cbBold->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Bold" , nullptr)); |
311 | cbItalic->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Italic" , nullptr)); |
312 | cbStrikeout->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Strikeout" , nullptr)); |
313 | cbUnderlined->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Underlined" , nullptr)); |
314 | chkRainborParenthesis->setText(QCoreApplication::translate("EditorColorSchemeWidget" , "Rainbow parenthesis" , nullptr)); |
315 | } // retranslateUi |
316 | |
317 | }; |
318 | |
319 | namespace Ui { |
320 | class EditorColorSchemeWidget: public Ui_EditorColorSchemeWidget {}; |
321 | } // namespace Ui |
322 | |
323 | QT_END_NAMESPACE |
324 | |
325 | #endif // UI_EDITORCOLORSCHEMEWIDGET_H |
326 | |