|
1 /******************************************************************************** |
|
2 ** Form generated from reading UI file 'preferencesdialog.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 PREFERENCESDIALOG_H |
|
11 #define PREFERENCESDIALOG_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/QDialog> |
|
19 #include <QtGui/QDialogButtonBox> |
|
20 #include <QtGui/QFrame> |
|
21 #include <QtGui/QGridLayout> |
|
22 #include <QtGui/QGroupBox> |
|
23 #include <QtGui/QHBoxLayout> |
|
24 #include <QtGui/QHeaderView> |
|
25 #include <QtGui/QListWidget> |
|
26 #include <QtGui/QSpacerItem> |
|
27 #include <QtGui/QToolButton> |
|
28 #include <QtGui/QVBoxLayout> |
|
29 #include <previewconfigurationwidget_p.h> |
|
30 #include "fontpanel.h" |
|
31 #include "gridpanel_p.h" |
|
32 |
|
33 QT_BEGIN_NAMESPACE |
|
34 |
|
35 class Ui_PreferencesDialog |
|
36 { |
|
37 public: |
|
38 QVBoxLayout *vboxLayout; |
|
39 QHBoxLayout *hboxLayout; |
|
40 QVBoxLayout *vboxLayout1; |
|
41 QGroupBox *m_uiModeGroupBox; |
|
42 QVBoxLayout *vboxLayout2; |
|
43 QComboBox *m_uiModeCombo; |
|
44 FontPanel *m_fontPanel; |
|
45 qdesigner_internal::PreviewConfigurationWidget *m_previewConfigurationWidget; |
|
46 QVBoxLayout *vboxLayout3; |
|
47 QGroupBox *m_templatePathGroupBox; |
|
48 QGridLayout *gridLayout; |
|
49 QListWidget *m_templatePathListWidget; |
|
50 QToolButton *m_addTemplatePathButton; |
|
51 QToolButton *m_removeTemplatePathButton; |
|
52 QSpacerItem *spacerItem; |
|
53 qdesigner_internal::GridPanel *m_gridPanel; |
|
54 QFrame *line; |
|
55 QDialogButtonBox *m_dialogButtonBox; |
|
56 |
|
57 void setupUi(QDialog *PreferencesDialog) |
|
58 { |
|
59 if (PreferencesDialog->objectName().isEmpty()) |
|
60 PreferencesDialog->setObjectName(QString::fromUtf8("PreferencesDialog")); |
|
61 PreferencesDialog->resize(455, 359); |
|
62 PreferencesDialog->setModal(true); |
|
63 vboxLayout = new QVBoxLayout(PreferencesDialog); |
|
64 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
65 hboxLayout = new QHBoxLayout(); |
|
66 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
67 vboxLayout1 = new QVBoxLayout(); |
|
68 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
|
69 m_uiModeGroupBox = new QGroupBox(PreferencesDialog); |
|
70 m_uiModeGroupBox->setObjectName(QString::fromUtf8("m_uiModeGroupBox")); |
|
71 vboxLayout2 = new QVBoxLayout(m_uiModeGroupBox); |
|
72 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); |
|
73 m_uiModeCombo = new QComboBox(m_uiModeGroupBox); |
|
74 m_uiModeCombo->setObjectName(QString::fromUtf8("m_uiModeCombo")); |
|
75 |
|
76 vboxLayout2->addWidget(m_uiModeCombo); |
|
77 |
|
78 |
|
79 vboxLayout1->addWidget(m_uiModeGroupBox); |
|
80 |
|
81 m_fontPanel = new FontPanel(PreferencesDialog); |
|
82 m_fontPanel->setObjectName(QString::fromUtf8("m_fontPanel")); |
|
83 |
|
84 vboxLayout1->addWidget(m_fontPanel); |
|
85 |
|
86 m_previewConfigurationWidget = new qdesigner_internal::PreviewConfigurationWidget(PreferencesDialog); |
|
87 m_previewConfigurationWidget->setObjectName(QString::fromUtf8("m_previewConfigurationWidget")); |
|
88 |
|
89 vboxLayout1->addWidget(m_previewConfigurationWidget); |
|
90 |
|
91 |
|
92 hboxLayout->addLayout(vboxLayout1); |
|
93 |
|
94 vboxLayout3 = new QVBoxLayout(); |
|
95 vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3")); |
|
96 m_templatePathGroupBox = new QGroupBox(PreferencesDialog); |
|
97 m_templatePathGroupBox->setObjectName(QString::fromUtf8("m_templatePathGroupBox")); |
|
98 gridLayout = new QGridLayout(m_templatePathGroupBox); |
|
99 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
100 m_templatePathListWidget = new QListWidget(m_templatePathGroupBox); |
|
101 m_templatePathListWidget->setObjectName(QString::fromUtf8("m_templatePathListWidget")); |
|
102 |
|
103 gridLayout->addWidget(m_templatePathListWidget, 0, 0, 1, 3); |
|
104 |
|
105 m_addTemplatePathButton = new QToolButton(m_templatePathGroupBox); |
|
106 m_addTemplatePathButton->setObjectName(QString::fromUtf8("m_addTemplatePathButton")); |
|
107 |
|
108 gridLayout->addWidget(m_addTemplatePathButton, 1, 0, 1, 1); |
|
109 |
|
110 m_removeTemplatePathButton = new QToolButton(m_templatePathGroupBox); |
|
111 m_removeTemplatePathButton->setObjectName(QString::fromUtf8("m_removeTemplatePathButton")); |
|
112 |
|
113 gridLayout->addWidget(m_removeTemplatePathButton, 1, 1, 1, 1); |
|
114 |
|
115 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
116 |
|
117 gridLayout->addItem(spacerItem, 1, 2, 1, 1); |
|
118 |
|
119 |
|
120 vboxLayout3->addWidget(m_templatePathGroupBox); |
|
121 |
|
122 m_gridPanel = new qdesigner_internal::GridPanel(PreferencesDialog); |
|
123 m_gridPanel->setObjectName(QString::fromUtf8("m_gridPanel")); |
|
124 |
|
125 vboxLayout3->addWidget(m_gridPanel); |
|
126 |
|
127 |
|
128 hboxLayout->addLayout(vboxLayout3); |
|
129 |
|
130 |
|
131 vboxLayout->addLayout(hboxLayout); |
|
132 |
|
133 line = new QFrame(PreferencesDialog); |
|
134 line->setObjectName(QString::fromUtf8("line")); |
|
135 line->setFrameShape(QFrame::HLine); |
|
136 line->setFrameShadow(QFrame::Sunken); |
|
137 |
|
138 vboxLayout->addWidget(line); |
|
139 |
|
140 m_dialogButtonBox = new QDialogButtonBox(PreferencesDialog); |
|
141 m_dialogButtonBox->setObjectName(QString::fromUtf8("m_dialogButtonBox")); |
|
142 m_dialogButtonBox->setOrientation(Qt::Horizontal); |
|
143 m_dialogButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
|
144 |
|
145 vboxLayout->addWidget(m_dialogButtonBox); |
|
146 |
|
147 |
|
148 retranslateUi(PreferencesDialog); |
|
149 QObject::connect(m_dialogButtonBox, SIGNAL(accepted()), PreferencesDialog, SLOT(accept())); |
|
150 QObject::connect(m_dialogButtonBox, SIGNAL(rejected()), PreferencesDialog, SLOT(reject())); |
|
151 |
|
152 QMetaObject::connectSlotsByName(PreferencesDialog); |
|
153 } // setupUi |
|
154 |
|
155 void retranslateUi(QDialog *PreferencesDialog) |
|
156 { |
|
157 PreferencesDialog->setWindowTitle(QApplication::translate("PreferencesDialog", "Preferences", 0, QApplication::UnicodeUTF8)); |
|
158 m_uiModeGroupBox->setTitle(QApplication::translate("PreferencesDialog", "User Interface Mode", 0, QApplication::UnicodeUTF8)); |
|
159 m_templatePathGroupBox->setTitle(QApplication::translate("PreferencesDialog", "Additional Template Paths", 0, QApplication::UnicodeUTF8)); |
|
160 m_addTemplatePathButton->setText(QApplication::translate("PreferencesDialog", "...", 0, QApplication::UnicodeUTF8)); |
|
161 m_removeTemplatePathButton->setText(QApplication::translate("PreferencesDialog", "...", 0, QApplication::UnicodeUTF8)); |
|
162 } // retranslateUi |
|
163 |
|
164 }; |
|
165 |
|
166 namespace Ui { |
|
167 class PreferencesDialog: public Ui_PreferencesDialog {}; |
|
168 } // namespace Ui |
|
169 |
|
170 QT_END_NAMESPACE |
|
171 |
|
172 #endif // PREFERENCESDIALOG_H |