init
[qstardict] / qstardict / ui_cssedit.h
1 /********************************************************************************
2 ** Form generated from reading ui file 'cssedit.ui'
3 **
4 ** Created: Tue Dec 29 16:44:20 2009
5 **      by: Qt User Interface Compiler version 4.5.3
6 **
7 ** WARNING! All changes made in this file will be lost when recompiling ui file!
8 ********************************************************************************/
9
10 #ifndef UI_CSSEDIT_H
11 #define UI_CSSEDIT_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/QFontComboBox>
19 #include <QtGui/QGridLayout>
20 #include <QtGui/QHeaderView>
21 #include <QtGui/QLabel>
22 #include <QtGui/QSpinBox>
23 #include <QtGui/QTextEdit>
24 #include <QtGui/QToolButton>
25 #include <QtGui/QWidget>
26
27 namespace QStarDict {
28
29 class Ui_CSSEdit
30 {
31 public:
32     QGridLayout *gridLayout;
33     QTextEdit *m_preview;
34     QLabel *label_2;
35     QLabel *label_3;
36     QLabel *label_6;
37     QComboBox *m_elementCombo;
38     QToolButton *m_colorButton;
39     QToolButton *m_backgroundButton;
40     QLabel *label_4;
41     QFontComboBox *m_fontCombo;
42     QSpinBox *m_sizeSpin;
43     QToolButton *m_boldButton;
44     QToolButton *m_italicButton;
45     QToolButton *m_underlineButton;
46
47     void setupUi(QWidget *QStarDict__CSSEdit)
48     {
49         if (QStarDict__CSSEdit->objectName().isEmpty())
50             QStarDict__CSSEdit->setObjectName(QString::fromUtf8("QStarDict__CSSEdit"));
51         QStarDict__CSSEdit->resize(435, 203);
52         gridLayout = new QGridLayout(QStarDict__CSSEdit);
53         gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
54         m_preview = new QTextEdit(QStarDict__CSSEdit);
55         m_preview->setObjectName(QString::fromUtf8("m_preview"));
56         m_preview->setReadOnly(true);
57
58         gridLayout->addWidget(m_preview, 0, 0, 1, 6);
59
60         label_2 = new QLabel(QStarDict__CSSEdit);
61         label_2->setObjectName(QString::fromUtf8("label_2"));
62
63         gridLayout->addWidget(label_2, 1, 0, 1, 2);
64
65         label_3 = new QLabel(QStarDict__CSSEdit);
66         label_3->setObjectName(QString::fromUtf8("label_3"));
67
68         gridLayout->addWidget(label_3, 1, 2, 1, 1);
69
70         label_6 = new QLabel(QStarDict__CSSEdit);
71         label_6->setObjectName(QString::fromUtf8("label_6"));
72
73         gridLayout->addWidget(label_6, 1, 3, 1, 3);
74
75         m_elementCombo = new QComboBox(QStarDict__CSSEdit);
76         m_elementCombo->setObjectName(QString::fromUtf8("m_elementCombo"));
77
78         gridLayout->addWidget(m_elementCombo, 2, 0, 1, 2);
79
80         m_colorButton = new QToolButton(QStarDict__CSSEdit);
81         m_colorButton->setObjectName(QString::fromUtf8("m_colorButton"));
82
83         gridLayout->addWidget(m_colorButton, 2, 2, 1, 1);
84
85         m_backgroundButton = new QToolButton(QStarDict__CSSEdit);
86         m_backgroundButton->setObjectName(QString::fromUtf8("m_backgroundButton"));
87
88         gridLayout->addWidget(m_backgroundButton, 2, 3, 1, 3);
89
90         label_4 = new QLabel(QStarDict__CSSEdit);
91         label_4->setObjectName(QString::fromUtf8("label_4"));
92
93         gridLayout->addWidget(label_4, 3, 0, 1, 1);
94
95         m_fontCombo = new QFontComboBox(QStarDict__CSSEdit);
96         m_fontCombo->setObjectName(QString::fromUtf8("m_fontCombo"));
97
98         gridLayout->addWidget(m_fontCombo, 3, 1, 1, 1);
99
100         m_sizeSpin = new QSpinBox(QStarDict__CSSEdit);
101         m_sizeSpin->setObjectName(QString::fromUtf8("m_sizeSpin"));
102         m_sizeSpin->setMinimum(4);
103         m_sizeSpin->setMaximum(150);
104         m_sizeSpin->setSingleStep(2);
105         m_sizeSpin->setValue(10);
106
107         gridLayout->addWidget(m_sizeSpin, 3, 2, 1, 1);
108
109         m_boldButton = new QToolButton(QStarDict__CSSEdit);
110         m_boldButton->setObjectName(QString::fromUtf8("m_boldButton"));
111         QFont font;
112         font.setBold(true);
113         font.setWeight(75);
114         m_boldButton->setFont(font);
115         m_boldButton->setCheckable(true);
116
117         gridLayout->addWidget(m_boldButton, 3, 3, 1, 1);
118
119         m_italicButton = new QToolButton(QStarDict__CSSEdit);
120         m_italicButton->setObjectName(QString::fromUtf8("m_italicButton"));
121         QFont font1;
122         font1.setBold(false);
123         font1.setItalic(true);
124         font1.setWeight(50);
125         m_italicButton->setFont(font1);
126         m_italicButton->setCheckable(true);
127
128         gridLayout->addWidget(m_italicButton, 3, 4, 1, 1);
129
130         m_underlineButton = new QToolButton(QStarDict__CSSEdit);
131         m_underlineButton->setObjectName(QString::fromUtf8("m_underlineButton"));
132         QFont font2;
133         font2.setBold(false);
134         font2.setUnderline(true);
135         font2.setWeight(50);
136         m_underlineButton->setFont(font2);
137         m_underlineButton->setCheckable(true);
138
139         gridLayout->addWidget(m_underlineButton, 3, 5, 1, 1);
140
141         QWidget::setTabOrder(m_elementCombo, m_colorButton);
142         QWidget::setTabOrder(m_colorButton, m_fontCombo);
143         QWidget::setTabOrder(m_fontCombo, m_sizeSpin);
144         QWidget::setTabOrder(m_sizeSpin, m_boldButton);
145         QWidget::setTabOrder(m_boldButton, m_italicButton);
146         QWidget::setTabOrder(m_italicButton, m_underlineButton);
147
148         retranslateUi(QStarDict__CSSEdit);
149
150         QMetaObject::connectSlotsByName(QStarDict__CSSEdit);
151     } // setupUi
152
153     void retranslateUi(QWidget *QStarDict__CSSEdit)
154     {
155         label_2->setText(QApplication::translate("QStarDict::CSSEdit", "Element", 0, QApplication::UnicodeUTF8));
156         label_3->setText(QApplication::translate("QStarDict::CSSEdit", "Foreground", 0, QApplication::UnicodeUTF8));
157         label_6->setText(QApplication::translate("QStarDict::CSSEdit", "Background", 0, QApplication::UnicodeUTF8));
158 #ifndef QT_NO_TOOLTIP
159         m_elementCombo->setToolTip(QApplication::translate("QStarDict::CSSEdit", "Select element", 0, QApplication::UnicodeUTF8));
160 #endif // QT_NO_TOOLTIP
161 #ifndef QT_NO_STATUSTIP
162         m_colorButton->setStatusTip(QApplication::translate("QStarDict::CSSEdit", "Click to select color", 0, QApplication::UnicodeUTF8));
163 #endif // QT_NO_STATUSTIP
164         m_colorButton->setText(QApplication::translate("QStarDict::CSSEdit", "#000000", 0, QApplication::UnicodeUTF8));
165 #ifndef QT_NO_STATUSTIP
166         m_backgroundButton->setStatusTip(QApplication::translate("QStarDict::CSSEdit", "Click to select color", 0, QApplication::UnicodeUTF8));
167 #endif // QT_NO_STATUSTIP
168         m_backgroundButton->setText(QApplication::translate("QStarDict::CSSEdit", "#000000", 0, QApplication::UnicodeUTF8));
169         label_4->setText(QApplication::translate("QStarDict::CSSEdit", "Font", 0, QApplication::UnicodeUTF8));
170 #ifndef QT_NO_TOOLTIP
171         m_fontCombo->setToolTip(QApplication::translate("QStarDict::CSSEdit", "Select font", 0, QApplication::UnicodeUTF8));
172 #endif // QT_NO_TOOLTIP
173 #ifndef QT_NO_TOOLTIP
174         m_sizeSpin->setToolTip(QApplication::translate("QStarDict::CSSEdit", "Select font size", 0, QApplication::UnicodeUTF8));
175 #endif // QT_NO_TOOLTIP
176         m_sizeSpin->setSuffix(QApplication::translate("QStarDict::CSSEdit", "pt", 0, QApplication::UnicodeUTF8));
177 #ifndef QT_NO_TOOLTIP
178         m_boldButton->setToolTip(QApplication::translate("QStarDict::CSSEdit", "Bold", 0, QApplication::UnicodeUTF8));
179 #endif // QT_NO_TOOLTIP
180         m_boldButton->setText(QApplication::translate("QStarDict::CSSEdit", "B", 0, QApplication::UnicodeUTF8));
181 #ifndef QT_NO_TOOLTIP
182         m_italicButton->setToolTip(QApplication::translate("QStarDict::CSSEdit", "Italic", 0, QApplication::UnicodeUTF8));
183 #endif // QT_NO_TOOLTIP
184         m_italicButton->setText(QApplication::translate("QStarDict::CSSEdit", "I", 0, QApplication::UnicodeUTF8));
185 #ifndef QT_NO_TOOLTIP
186         m_underlineButton->setToolTip(QApplication::translate("QStarDict::CSSEdit", "Underline", 0, QApplication::UnicodeUTF8));
187 #endif // QT_NO_TOOLTIP
188         m_underlineButton->setText(QApplication::translate("QStarDict::CSSEdit", "U", 0, QApplication::UnicodeUTF8));
189         Q_UNUSED(QStarDict__CSSEdit);
190     } // retranslateUi
191
192 };
193
194 } // namespace QStarDict
195
196 namespace QStarDict {
197 namespace Ui {
198     class CSSEdit: public Ui_CSSEdit {};
199 } // namespace Ui
200 } // namespace QStarDict
201
202 #endif // UI_CSSEDIT_H