0
|
1 |
/********************************************************************************
|
|
2 |
** Form generated from reading UI file 'stylesheeteditor.ui'
|
|
3 |
**
|
|
4 |
** Created: Fri Sep 4 10:17:14 2009
|
|
5 |
** by: Qt User Interface Compiler version 4.6.0
|
|
6 |
**
|
|
7 |
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
8 |
********************************************************************************/
|
|
9 |
|
|
10 |
#ifndef STYLESHEETEDITOR_H
|
|
11 |
#define STYLESHEETEDITOR_H
|
|
12 |
|
|
13 |
#include <QtCore/QVariant>
|
|
14 |
#include <QtGui/QAction>
|
|
15 |
#include <QtGui/QApplication>
|
|
16 |
#include <QtGui/QButtonGroup>
|
|
17 |
#include <QtGui/QComboBox>
|
|
18 |
#include <QtGui/QGridLayout>
|
|
19 |
#include <QtGui/QHBoxLayout>
|
|
20 |
#include <QtGui/QHeaderView>
|
|
21 |
#include <QtGui/QLabel>
|
|
22 |
#include <QtGui/QPushButton>
|
|
23 |
#include <QtGui/QSpacerItem>
|
|
24 |
#include <QtGui/QTextEdit>
|
|
25 |
#include <QtGui/QWidget>
|
|
26 |
|
|
27 |
QT_BEGIN_NAMESPACE
|
|
28 |
|
|
29 |
class Ui_StyleSheetEditor
|
|
30 |
{
|
|
31 |
public:
|
|
32 |
QGridLayout *gridLayout;
|
|
33 |
QSpacerItem *spacerItem;
|
|
34 |
QSpacerItem *spacerItem1;
|
|
35 |
QComboBox *styleSheetCombo;
|
|
36 |
QSpacerItem *spacerItem2;
|
|
37 |
QComboBox *styleCombo;
|
|
38 |
QLabel *label_7;
|
|
39 |
QHBoxLayout *hboxLayout;
|
|
40 |
QSpacerItem *spacerItem3;
|
|
41 |
QPushButton *applyButton;
|
|
42 |
QTextEdit *styleTextEdit;
|
|
43 |
QLabel *label_8;
|
|
44 |
|
|
45 |
void setupUi(QWidget *StyleSheetEditor)
|
|
46 |
{
|
|
47 |
if (StyleSheetEditor->objectName().isEmpty())
|
|
48 |
StyleSheetEditor->setObjectName(QString::fromUtf8("StyleSheetEditor"));
|
|
49 |
StyleSheetEditor->resize(445, 289);
|
|
50 |
gridLayout = new QGridLayout(StyleSheetEditor);
|
|
51 |
#ifndef Q_OS_MAC
|
|
52 |
gridLayout->setSpacing(6);
|
|
53 |
#endif
|
|
54 |
#ifndef Q_OS_MAC
|
|
55 |
gridLayout->setContentsMargins(9, 9, 9, 9);
|
|
56 |
#endif
|
|
57 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
58 |
spacerItem = new QSpacerItem(32, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
|
|
59 |
|
|
60 |
gridLayout->addItem(spacerItem, 0, 6, 1, 1);
|
|
61 |
|
|
62 |
spacerItem1 = new QSpacerItem(32, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
|
|
63 |
|
|
64 |
gridLayout->addItem(spacerItem1, 0, 0, 1, 1);
|
|
65 |
|
|
66 |
styleSheetCombo = new QComboBox(StyleSheetEditor);
|
|
67 |
styleSheetCombo->setObjectName(QString::fromUtf8("styleSheetCombo"));
|
|
68 |
|
|
69 |
gridLayout->addWidget(styleSheetCombo, 0, 5, 1, 1);
|
|
70 |
|
|
71 |
spacerItem2 = new QSpacerItem(10, 16, QSizePolicy::Fixed, QSizePolicy::Minimum);
|
|
72 |
|
|
73 |
gridLayout->addItem(spacerItem2, 0, 3, 1, 1);
|
|
74 |
|
|
75 |
styleCombo = new QComboBox(StyleSheetEditor);
|
|
76 |
styleCombo->setObjectName(QString::fromUtf8("styleCombo"));
|
|
77 |
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0));
|
|
78 |
sizePolicy.setHorizontalStretch(0);
|
|
79 |
sizePolicy.setVerticalStretch(0);
|
|
80 |
sizePolicy.setHeightForWidth(styleCombo->sizePolicy().hasHeightForWidth());
|
|
81 |
styleCombo->setSizePolicy(sizePolicy);
|
|
82 |
|
|
83 |
gridLayout->addWidget(styleCombo, 0, 2, 1, 1);
|
|
84 |
|
|
85 |
label_7 = new QLabel(StyleSheetEditor);
|
|
86 |
label_7->setObjectName(QString::fromUtf8("label_7"));
|
|
87 |
QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(5));
|
|
88 |
sizePolicy1.setHorizontalStretch(0);
|
|
89 |
sizePolicy1.setVerticalStretch(0);
|
|
90 |
sizePolicy1.setHeightForWidth(label_7->sizePolicy().hasHeightForWidth());
|
|
91 |
label_7->setSizePolicy(sizePolicy1);
|
|
92 |
|
|
93 |
gridLayout->addWidget(label_7, 0, 1, 1, 1);
|
|
94 |
|
|
95 |
hboxLayout = new QHBoxLayout();
|
|
96 |
#ifndef Q_OS_MAC
|
|
97 |
hboxLayout->setSpacing(6);
|
|
98 |
#endif
|
|
99 |
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
|
100 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
|
101 |
spacerItem3 = new QSpacerItem(321, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
102 |
|
|
103 |
hboxLayout->addItem(spacerItem3);
|
|
104 |
|
|
105 |
applyButton = new QPushButton(StyleSheetEditor);
|
|
106 |
applyButton->setObjectName(QString::fromUtf8("applyButton"));
|
|
107 |
applyButton->setEnabled(false);
|
|
108 |
|
|
109 |
hboxLayout->addWidget(applyButton);
|
|
110 |
|
|
111 |
|
|
112 |
gridLayout->addLayout(hboxLayout, 2, 0, 1, 7);
|
|
113 |
|
|
114 |
styleTextEdit = new QTextEdit(StyleSheetEditor);
|
|
115 |
styleTextEdit->setObjectName(QString::fromUtf8("styleTextEdit"));
|
|
116 |
|
|
117 |
gridLayout->addWidget(styleTextEdit, 1, 0, 1, 7);
|
|
118 |
|
|
119 |
label_8 = new QLabel(StyleSheetEditor);
|
|
120 |
label_8->setObjectName(QString::fromUtf8("label_8"));
|
|
121 |
sizePolicy1.setHeightForWidth(label_8->sizePolicy().hasHeightForWidth());
|
|
122 |
label_8->setSizePolicy(sizePolicy1);
|
|
123 |
|
|
124 |
gridLayout->addWidget(label_8, 0, 4, 1, 1);
|
|
125 |
|
|
126 |
|
|
127 |
retranslateUi(StyleSheetEditor);
|
|
128 |
|
|
129 |
QMetaObject::connectSlotsByName(StyleSheetEditor);
|
|
130 |
} // setupUi
|
|
131 |
|
|
132 |
void retranslateUi(QWidget *StyleSheetEditor)
|
|
133 |
{
|
|
134 |
StyleSheetEditor->setWindowTitle(QApplication::translate("StyleSheetEditor", "Style Editor", 0, QApplication::UnicodeUTF8));
|
|
135 |
styleSheetCombo->clear();
|
|
136 |
styleSheetCombo->insertItems(0, QStringList()
|
|
137 |
<< QApplication::translate("StyleSheetEditor", "Default", 0, QApplication::UnicodeUTF8)
|
|
138 |
<< QApplication::translate("StyleSheetEditor", "Coffee", 0, QApplication::UnicodeUTF8)
|
|
139 |
<< QApplication::translate("StyleSheetEditor", "Pagefold", 0, QApplication::UnicodeUTF8)
|
|
140 |
);
|
|
141 |
label_7->setText(QApplication::translate("StyleSheetEditor", "Style:", 0, QApplication::UnicodeUTF8));
|
|
142 |
applyButton->setText(QApplication::translate("StyleSheetEditor", "&Apply", 0, QApplication::UnicodeUTF8));
|
|
143 |
label_8->setText(QApplication::translate("StyleSheetEditor", "Style Sheet:", 0, QApplication::UnicodeUTF8));
|
|
144 |
} // retranslateUi
|
|
145 |
|
|
146 |
};
|
|
147 |
|
|
148 |
namespace Ui {
|
|
149 |
class StyleSheetEditor: public Ui_StyleSheetEditor {};
|
|
150 |
} // namespace Ui
|
|
151 |
|
|
152 |
QT_END_NAMESPACE
|
|
153 |
|
|
154 |
#endif // STYLESHEETEDITOR_H
|