9 #ifndef UI_GUI_CSSEDITOR_H 10 #define UI_GUI_CSSEDITOR_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QDialog> 16 #include <QtWidgets/QFrame> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QHBoxLayout> 19 #include <QtWidgets/QLabel> 20 #include <QtWidgets/QPlainTextEdit> 21 #include <QtWidgets/QPushButton> 22 #include <QtWidgets/QSpacerItem> 29 QGridLayout *gridLayout;
32 QPlainTextEdit *te_css;
33 QHBoxLayout *horizontalLayout;
34 QSpacerItem *horizontalSpacer;
35 QPushButton *btn_cancel;
36 QPushButton *btn_undo;
37 QPushButton *btn_apply;
38 QPushButton *btn_save;
39 QHBoxLayout *horizontalLayout_2;
41 QSpacerItem *horizontalSpacer_2;
42 QCheckBox *cb_darkMode;
47 GUI_CssEditor->setObjectName(QString::fromUtf8(
"GUI_CssEditor"));
50 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
52 line->setObjectName(QString::fromUtf8(
"line"));
53 line->setFrameShape(QFrame::HLine);
54 line->setFrameShadow(QFrame::Sunken);
56 gridLayout->addWidget(line, 2, 0, 1, 1);
59 line_2->setObjectName(QString::fromUtf8(
"line_2"));
60 line_2->setFrameShape(QFrame::HLine);
61 line_2->setFrameShadow(QFrame::Sunken);
63 gridLayout->addWidget(line_2, 4, 0, 1, 1);
66 te_css->setObjectName(QString::fromUtf8(
"te_css"));
68 font.setFamily(QString::fromUtf8(
"DejaVu Sans Mono"));
69 te_css->setFont(font);
70 te_css->setTabStopWidth(10);
72 gridLayout->addWidget(te_css, 3, 0, 1, 1);
74 horizontalLayout =
new QHBoxLayout();
75 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
76 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
78 horizontalLayout->addItem(horizontalSpacer);
81 btn_cancel->setObjectName(QString::fromUtf8(
"btn_cancel"));
82 btn_cancel->setText(QString::fromUtf8(
"Cancel"));
84 horizontalLayout->addWidget(btn_cancel);
87 btn_undo->setObjectName(QString::fromUtf8(
"btn_undo"));
88 btn_undo->setText(QString::fromUtf8(
"Undo"));
90 horizontalLayout->addWidget(btn_undo);
93 btn_apply->setObjectName(QString::fromUtf8(
"btn_apply"));
94 btn_apply->setText(QString::fromUtf8(
"Apply"));
96 horizontalLayout->addWidget(btn_apply);
99 btn_save->setObjectName(QString::fromUtf8(
"btn_save"));
100 btn_save->setText(QString::fromUtf8(
"Save"));
102 horizontalLayout->addWidget(btn_save);
105 gridLayout->addLayout(horizontalLayout, 5, 0, 1, 1);
107 horizontalLayout_2 =
new QHBoxLayout();
108 horizontalLayout_2->setObjectName(QString::fromUtf8(
"horizontalLayout_2"));
110 lab_header->setObjectName(QString::fromUtf8(
"lab_header"));
113 font1.setItalic(
true);
115 lab_header->setFont(font1);
117 horizontalLayout_2->addWidget(lab_header);
119 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
121 horizontalLayout_2->addItem(horizontalSpacer_2);
124 cb_darkMode->setObjectName(QString::fromUtf8(
"cb_darkMode"));
126 horizontalLayout_2->addWidget(cb_darkMode);
129 gridLayout->addLayout(horizontalLayout_2, 1, 0, 1, 1);
139 lab_header->setText(QApplication::translate(
"GUI_CssEditor",
"Edit style sheet",
nullptr));
140 cb_darkMode->setText(QApplication::translate(
"GUI_CssEditor",
"Dark mode",
nullptr));
152 #endif // UI_GUI_CSSEDITOR_H Definition: GUI_CssEditor.h:9
Definition: ui_GUI_CssEditor.h:147
Definition: ui_GUI_CssEditor.h:26