1 /********************************************************************************
2 ** Form generated from reading UI file 'TocThemesSettingsWidget.ui'
4 ** Created: Thu Jul 8 08:48:05 2010
5 ** by: Qt User Interface Compiler version 4.6.2
7 ** WARNING! All changes made in this file will be lost when recompiling UI file!
8 ********************************************************************************/
10 #ifndef UI_TOCTHEMESSETTINGSWIDGET_H
11 #define UI_TOCTHEMESSETTINGSWIDGET_H
13 #include <QtCore/QVariant>
14 #include <QtGui/QAction>
15 #include <QtGui/QApplication>
16 #include <QtGui/QButtonGroup>
17 #include <QtGui/QFrame>
18 #include <QtGui/QGridLayout>
19 #include <QtGui/QHeaderView>
20 #include <QtGui/QListWidget>
21 #include <QtGui/QPushButton>
22 #include <QtGui/QSpacerItem>
23 #include <QtGui/QVBoxLayout>
24 #include <QtGui/QWidget>
28 class Ui_TocThemesSettingsWidgetClass
31 QGridLayout *gridLayout_2;
33 QGridLayout *gridLayout;
34 QVBoxLayout *verticalLayout_3;
35 QSpacerItem *verticalSpacer_2;
36 QPushButton *backThemeButton;
37 QVBoxLayout *verticalLayout;
38 QListWidget *themesListWidget;
39 QVBoxLayout *verticalLayout_2;
40 QPushButton *addThemeButton;
41 QSpacerItem *verticalSpacer;
42 QPushButton *applyThemeButton;
44 void setupUi(QWidget *TocThemesSettingsWidgetClass)
46 if (TocThemesSettingsWidgetClass->objectName().isEmpty())
47 TocThemesSettingsWidgetClass->setObjectName(QString::fromUtf8("TocThemesSettingsWidgetClass"));
48 TocThemesSettingsWidgetClass->resize(593, 405);
49 TocThemesSettingsWidgetClass->setStyleSheet(QString::fromUtf8(""));
50 gridLayout_2 = new QGridLayout(TocThemesSettingsWidgetClass);
51 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
52 frame = new QFrame(TocThemesSettingsWidgetClass);
53 frame->setObjectName(QString::fromUtf8("frame"));
54 frame->setEnabled(true);
55 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
56 sizePolicy.setHorizontalStretch(0);
57 sizePolicy.setVerticalStretch(0);
58 sizePolicy.setHeightForWidth(frame->sizePolicy().hasHeightForWidth());
59 frame->setSizePolicy(sizePolicy);
60 frame->setStyleSheet(QString::fromUtf8(""));
61 frame->setFrameShape(QFrame::Box);
62 frame->setFrameShadow(QFrame::Sunken);
63 frame->setLineWidth(1);
64 gridLayout = new QGridLayout(frame);
65 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
66 verticalLayout_3 = new QVBoxLayout();
67 verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
68 verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
70 verticalLayout_3->addItem(verticalSpacer_2);
72 backThemeButton = new QPushButton(frame);
73 backThemeButton->setObjectName(QString::fromUtf8("backThemeButton"));
74 backThemeButton->setStyleSheet(QString::fromUtf8("QPushButton {\n"
76 " border-radius: 5px;\n"
77 " min-height: 80px;\n"
79 " max-height: 80px;\n"
83 verticalLayout_3->addWidget(backThemeButton);
86 gridLayout->addLayout(verticalLayout_3, 0, 0, 1, 1);
88 verticalLayout = new QVBoxLayout();
89 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
90 themesListWidget = new QListWidget(frame);
91 themesListWidget->setObjectName(QString::fromUtf8("themesListWidget"));
92 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
93 sizePolicy1.setHorizontalStretch(0);
94 sizePolicy1.setVerticalStretch(0);
95 sizePolicy1.setHeightForWidth(themesListWidget->sizePolicy().hasHeightForWidth());
96 themesListWidget->setSizePolicy(sizePolicy1);
97 themesListWidget->setAutoFillBackground(true);
98 themesListWidget->setStyleSheet(QString::fromUtf8("QListView {\n"
103 themesListWidget->setLineWidth(1);
104 themesListWidget->setMidLineWidth(1);
105 themesListWidget->setProperty("showDropIndicator", QVariant(false));
106 themesListWidget->setAlternatingRowColors(false);
107 themesListWidget->setSelectionMode(QAbstractItemView::SingleSelection);
108 themesListWidget->setSelectionBehavior(QAbstractItemView::SelectItems);
109 themesListWidget->setIconSize(QSize(0, 0));
110 themesListWidget->setTextElideMode(Qt::ElideMiddle);
111 themesListWidget->setHorizontalScrollMode(QAbstractItemView::ScrollPerItem);
112 themesListWidget->setMovement(QListView::Static);
113 themesListWidget->setFlow(QListView::TopToBottom);
114 themesListWidget->setProperty("isWrapping", QVariant(false));
115 themesListWidget->setResizeMode(QListView::Adjust);
116 themesListWidget->setSpacing(5);
117 themesListWidget->setViewMode(QListView::ListMode);
118 themesListWidget->setModelColumn(0);
119 themesListWidget->setWordWrap(true);
120 themesListWidget->setSelectionRectVisible(true);
121 themesListWidget->setSortingEnabled(false);
123 verticalLayout->addWidget(themesListWidget);
126 gridLayout->addLayout(verticalLayout, 0, 1, 1, 1);
128 verticalLayout_2 = new QVBoxLayout();
129 verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
130 addThemeButton = new QPushButton(frame);
131 addThemeButton->setObjectName(QString::fromUtf8("addThemeButton"));
132 addThemeButton->setStyleSheet(QString::fromUtf8("QPushButton {\n"
133 " font: bold 16px;\n"
134 " border-radius: 5px;\n"
135 " min-height: 80px;\n"
136 " min-width: 80px;\n"
137 " max-height: 80px;\n"
138 " max-width: 80px;\n"
141 verticalLayout_2->addWidget(addThemeButton);
143 verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
145 verticalLayout_2->addItem(verticalSpacer);
147 applyThemeButton = new QPushButton(frame);
148 applyThemeButton->setObjectName(QString::fromUtf8("applyThemeButton"));
149 applyThemeButton->setAutoFillBackground(false);
150 applyThemeButton->setStyleSheet(QString::fromUtf8("QPushButton {\n"
151 " font: bold 16px;\n"
152 " border-radius: 5px;\n"
153 " min-height: 80px;\n"
154 " min-width: 80px;\n"
155 " max-height: 80px;\n"
156 " max-width: 80px;\n"
159 verticalLayout_2->addWidget(applyThemeButton);
162 gridLayout->addLayout(verticalLayout_2, 0, 2, 1, 1);
165 gridLayout_2->addWidget(frame, 0, 0, 1, 1);
168 retranslateUi(TocThemesSettingsWidgetClass);
170 themesListWidget->setCurrentRow(-1);
173 QMetaObject::connectSlotsByName(TocThemesSettingsWidgetClass);
176 void retranslateUi(QWidget *TocThemesSettingsWidgetClass)
178 TocThemesSettingsWidgetClass->setWindowTitle(QApplication::translate("TocThemesSettingsWidgetClass", "Form", 0, QApplication::UnicodeUTF8));
179 backThemeButton->setText(QApplication::translate("TocThemesSettingsWidgetClass", "Back", 0, QApplication::UnicodeUTF8));
180 addThemeButton->setText(QApplication::translate("TocThemesSettingsWidgetClass", "Add theme", 0, QApplication::UnicodeUTF8));
181 applyThemeButton->setText(QApplication::translate("TocThemesSettingsWidgetClass", "Apply", 0, QApplication::UnicodeUTF8));
187 class TocThemesSettingsWidgetClass: public Ui_TocThemesSettingsWidgetClass {};
192 #endif // UI_TOCTHEMESSETTINGSWIDGET_H