| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'stylesheeteditor.ui' |
| 3 |
** |
| 4 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 5 |
** |
| 6 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 |
********************************************************************************/ |
| 8 |
|
| 9 |
#ifndef STYLESHEETEDITOR_H |
| 10 |
#define 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("StyleSheetEditor")); |
| 45 |
StyleSheetEditor->resize(445, 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(9, 9, 9, 9); |
| 52 |
#endif |
| 53 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 54 |
spacerItem = new QSpacerItem(32, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
| 55 |
|
| 56 |
gridLayout->addItem(spacerItem, 0, 6, 1, 1); |
| 57 |
|
| 58 |
spacerItem1 = new QSpacerItem(32, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
| 59 |
|
| 60 |
gridLayout->addItem(spacerItem1, 0, 0, 1, 1); |
| 61 |
|
| 62 |
styleSheetCombo = new QComboBox(StyleSheetEditor); |
| 63 |
styleSheetCombo->addItem(QString()); |
| 64 |
styleSheetCombo->addItem(QString()); |
| 65 |
styleSheetCombo->addItem(QString()); |
| 66 |
styleSheetCombo->setObjectName(QString::fromUtf8("styleSheetCombo")); |
| 67 |
|
| 68 |
gridLayout->addWidget(styleSheetCombo, 0, 5, 1, 1); |
| 69 |
|
| 70 |
spacerItem2 = new QSpacerItem(10, 16, QSizePolicy::Fixed, QSizePolicy::Minimum); |
| 71 |
|
| 72 |
gridLayout->addItem(spacerItem2, 0, 3, 1, 1); |
| 73 |
|
| 74 |
styleCombo = new QComboBox(StyleSheetEditor); |
| 75 |
styleCombo->setObjectName(QString::fromUtf8("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, 0, 2, 1, 1); |
| 83 |
|
| 84 |
label_7 = new QLabel(StyleSheetEditor); |
| 85 |
label_7->setObjectName(QString::fromUtf8("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, 0, 1, 1, 1); |
| 93 |
|
| 94 |
hboxLayout = new QHBoxLayout(); |
| 95 |
#ifndef Q_OS_MAC |
| 96 |
hboxLayout->setSpacing(6); |
| 97 |
#endif |
| 98 |
hboxLayout->setContentsMargins(0, 0, 0, 0); |
| 99 |
hboxLayout->setObjectName(QString::fromUtf8("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("applyButton")); |
| 106 |
applyButton->setEnabled(false); |
| 107 |
|
| 108 |
hboxLayout->addWidget(applyButton); |
| 109 |
|
| 110 |
|
| 111 |
gridLayout->addLayout(hboxLayout, 2, 0, 1, 7); |
| 112 |
|
| 113 |
styleTextEdit = new QTextEdit(StyleSheetEditor); |
| 114 |
styleTextEdit->setObjectName(QString::fromUtf8("styleTextEdit")); |
| 115 |
|
| 116 |
gridLayout->addWidget(styleTextEdit, 1, 0, 1, 7); |
| 117 |
|
| 118 |
label_8 = new QLabel(StyleSheetEditor); |
| 119 |
label_8->setObjectName(QString::fromUtf8("label_8")); |
| 120 |
sizePolicy1.setHeightForWidth(label_8->sizePolicy().hasHeightForWidth()); |
| 121 |
label_8->setSizePolicy(sizePolicy1); |
| 122 |
|
| 123 |
gridLayout->addWidget(label_8, 0, 4, 1, 1); |
| 124 |
|
| 125 |
|
| 126 |
retranslateUi(StyleSheetEditor); |
| 127 |
|
| 128 |
QMetaObject::connectSlotsByName(StyleSheetEditor); |
| 129 |
} // setupUi |
| 130 |
|
| 131 |
void retranslateUi(QWidget *StyleSheetEditor) |
| 132 |
{ |
| 133 |
StyleSheetEditor->setWindowTitle(QCoreApplication::translate("StyleSheetEditor", "Style Editor", nullptr)); |
| 134 |
styleSheetCombo->setItemText(0, QCoreApplication::translate("StyleSheetEditor", "Default", nullptr)); |
| 135 |
styleSheetCombo->setItemText(1, QCoreApplication::translate("StyleSheetEditor", "Coffee", nullptr)); |
| 136 |
styleSheetCombo->setItemText(2, QCoreApplication::translate("StyleSheetEditor", "Pagefold", nullptr)); |
| 137 |
|
| 138 |
label_7->setText(QCoreApplication::translate("StyleSheetEditor", "Style:", nullptr)); |
| 139 |
applyButton->setText(QCoreApplication::translate("StyleSheetEditor", "&Apply", nullptr)); |
| 140 |
label_8->setText(QCoreApplication::translate("StyleSheetEditor", "Style Sheet:", 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 // STYLESHEETEDITOR_H |