00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef PREFERENCESDATA_H
00011 #define PREFERENCESDATA_H
00012
00013 #include <BALL/COMMON/global.h>
00014 #include <QtCore/QVariant>
00015 #include <QtGui/QAction>
00016 #include <QtGui/QApplication>
00017 #include <QtGui/QButtonGroup>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QPushButton>
00022 #include <QtGui/QStackedWidget>
00023 #include <QtGui/QTreeWidget>
00024 #include <QtGui/QWidget>
00025
00026 QT_BEGIN_NAMESPACE
00027
00028 class Ui_PreferencesData
00029 {
00030 public:
00031 QTreeWidget *entries_listview;
00032 QWidget *layoutWidget;
00033 QHBoxLayout *hboxLayout;
00034 QPushButton *ok_button;
00035 QPushButton *apply_button;
00036 QPushButton *cancel_button;
00037 QPushButton *defaults_button;
00038 QPushButton *help_button;
00039 QStackedWidget *widget_stack;
00040 QWidget *WStackPage;
00041 QLabel *label;
00042
00043 void setupUi(QDialog *PreferencesData)
00044 {
00045 if (PreferencesData->objectName().isEmpty())
00046 PreferencesData->setObjectName(QString::fromUtf8("PreferencesData"));
00047 PreferencesData->resize(850, 470);
00048 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00049 sizePolicy.setHorizontalStretch(0);
00050 sizePolicy.setVerticalStretch(0);
00051 sizePolicy.setHeightForWidth(PreferencesData->sizePolicy().hasHeightForWidth());
00052 PreferencesData->setSizePolicy(sizePolicy);
00053 PreferencesData->setMinimumSize(QSize(850, 470));
00054 PreferencesData->setMaximumSize(QSize(7800, 470));
00055 PreferencesData->setSizeGripEnabled(false);
00056 entries_listview = new QTreeWidget(PreferencesData);
00057 entries_listview->setObjectName(QString::fromUtf8("entries_listview"));
00058 entries_listview->setGeometry(QRect(9, 9, 221, 452));
00059 layoutWidget = new QWidget(PreferencesData);
00060 layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
00061 layoutWidget->setGeometry(QRect(260, 430, 546, 32));
00062 hboxLayout = new QHBoxLayout(layoutWidget);
00063 hboxLayout->setSpacing(6);
00064 hboxLayout->setMargin(0);
00065 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00066 hboxLayout->setContentsMargins(0, 0, 0, 0);
00067 ok_button = new QPushButton(layoutWidget);
00068 ok_button->setObjectName(QString::fromUtf8("ok_button"));
00069 ok_button->setMinimumSize(QSize(110, 30));
00070 ok_button->setMaximumSize(QSize(32767, 30));
00071 ok_button->setAutoDefault(true);
00072 ok_button->setDefault(true);
00073
00074 hboxLayout->addWidget(ok_button);
00075
00076 apply_button = new QPushButton(layoutWidget);
00077 apply_button->setObjectName(QString::fromUtf8("apply_button"));
00078 apply_button->setWindowModality(Qt::NonModal);
00079 apply_button->setMinimumSize(QSize(100, 30));
00080 apply_button->setMaximumSize(QSize(32767, 30));
00081 apply_button->setAutoDefault(true);
00082 apply_button->setDefault(false);
00083
00084 hboxLayout->addWidget(apply_button);
00085
00086 cancel_button = new QPushButton(layoutWidget);
00087 cancel_button->setObjectName(QString::fromUtf8("cancel_button"));
00088 cancel_button->setMinimumSize(QSize(100, 30));
00089 cancel_button->setMaximumSize(QSize(32767, 30));
00090 cancel_button->setAutoDefault(true);
00091
00092 hboxLayout->addWidget(cancel_button);
00093
00094 defaults_button = new QPushButton(layoutWidget);
00095 defaults_button->setObjectName(QString::fromUtf8("defaults_button"));
00096 defaults_button->setMinimumSize(QSize(100, 30));
00097 defaults_button->setMaximumSize(QSize(32767, 30));
00098 defaults_button->setAutoDefault(true);
00099
00100 hboxLayout->addWidget(defaults_button);
00101
00102 help_button = new QPushButton(layoutWidget);
00103 help_button->setObjectName(QString::fromUtf8("help_button"));
00104 help_button->setMinimumSize(QSize(100, 30));
00105 help_button->setMaximumSize(QSize(32767, 30));
00106 help_button->setAutoDefault(true);
00107
00108 hboxLayout->addWidget(help_button);
00109
00110 widget_stack = new QStackedWidget(PreferencesData);
00111 widget_stack->setObjectName(QString::fromUtf8("widget_stack"));
00112 widget_stack->setGeometry(QRect(236, 9, 610, 416));
00113 widget_stack->setMinimumSize(QSize(610, 16));
00114 widget_stack->setMaximumSize(QSize(610, 16777215));
00115 widget_stack->setFrameShape(QFrame::NoFrame);
00116 widget_stack->setFrameShadow(QFrame::Plain);
00117 widget_stack->setLineWidth(0);
00118 WStackPage = new QWidget();
00119 WStackPage->setObjectName(QString::fromUtf8("WStackPage"));
00120 label = new QLabel(WStackPage);
00121 label->setObjectName(QString::fromUtf8("label"));
00122 label->setGeometry(QRect(10, 10, 521, 23));
00123 QFont font;
00124 font.setFamily(QString::fromUtf8("Sans Serif"));
00125 font.setPointSize(12);
00126 font.setBold(false);
00127 font.setItalic(false);
00128 font.setUnderline(false);
00129 font.setWeight(50);
00130 font.setStrikeOut(false);
00131 label->setFont(font);
00132 widget_stack->addWidget(WStackPage);
00133 QWidget::setTabOrder(entries_listview, ok_button);
00134 QWidget::setTabOrder(ok_button, cancel_button);
00135 QWidget::setTabOrder(cancel_button, defaults_button);
00136 QWidget::setTabOrder(defaults_button, help_button);
00137
00138 retranslateUi(PreferencesData);
00139
00140 widget_stack->setCurrentIndex(0);
00141
00142
00143 QMetaObject::connectSlotsByName(PreferencesData);
00144 }
00145
00146 void retranslateUi(QDialog *PreferencesData)
00147 {
00148 PreferencesData->setWindowTitle(QApplication::translate("PreferencesData", "Preferences", 0, QApplication::UnicodeUTF8));
00149 entries_listview->headerItem()->setText(0, QApplication::translate("PreferencesData", "Entries", 0, QApplication::UnicodeUTF8));
00150
00151 #ifndef QT_NO_TOOLTIP
00152 ok_button->setToolTip(QApplication::translate("PreferencesData", "Apply new settings", 0, QApplication::UnicodeUTF8));
00153 #endif // QT_NO_TOOLTIP
00154
00155 ok_button->setText(QApplication::translate("PreferencesData", "O&K", 0, QApplication::UnicodeUTF8));
00156 ok_button->setShortcut(QApplication::translate("PreferencesData", "Alt+K", 0, QApplication::UnicodeUTF8));
00157
00158 #ifndef QT_NO_TOOLTIP
00159 apply_button->setToolTip(QApplication::translate("PreferencesData", "Apply new settings", 0, QApplication::UnicodeUTF8));
00160 #endif // QT_NO_TOOLTIP
00161
00162 apply_button->setText(QApplication::translate("PreferencesData", "&Apply", 0, QApplication::UnicodeUTF8));
00163 apply_button->setShortcut(QApplication::translate("PreferencesData", "Alt+A", 0, QApplication::UnicodeUTF8));
00164
00165 #ifndef QT_NO_TOOLTIP
00166 cancel_button->setToolTip(QApplication::translate("PreferencesData", "Discard changes", 0, QApplication::UnicodeUTF8));
00167 #endif // QT_NO_TOOLTIP
00168
00169 cancel_button->setText(QApplication::translate("PreferencesData", "&Cancel", 0, QApplication::UnicodeUTF8));
00170 cancel_button->setShortcut(QApplication::translate("PreferencesData", "Alt+C", 0, QApplication::UnicodeUTF8));
00171
00172 #ifndef QT_NO_TOOLTIP
00173 defaults_button->setToolTip(QApplication::translate("PreferencesData", "Set settings to default values", 0, QApplication::UnicodeUTF8));
00174 #endif // QT_NO_TOOLTIP
00175
00176 defaults_button->setText(QApplication::translate("PreferencesData", "&Defaults", 0, QApplication::UnicodeUTF8));
00177 defaults_button->setShortcut(QApplication::translate("PreferencesData", "Alt+D", 0, QApplication::UnicodeUTF8));
00178
00179 #ifndef QT_NO_TOOLTIP
00180 help_button->setToolTip(QApplication::translate("PreferencesData", "Set settings to default values", 0, QApplication::UnicodeUTF8));
00181 #endif // QT_NO_TOOLTIP
00182
00183 help_button->setText(QApplication::translate("PreferencesData", "&Help", 0, QApplication::UnicodeUTF8));
00184 help_button->setShortcut(QApplication::translate("PreferencesData", "Alt+H", 0, QApplication::UnicodeUTF8));
00185 label->setText(QApplication::translate("PreferencesData", "Please select an (child) entry on the left side!", 0, QApplication::UnicodeUTF8));
00186 Q_UNUSED(PreferencesData);
00187 }
00188
00189 };
00190
00191 namespace Ui {
00192 class PreferencesData: public Ui_PreferencesData {};
00193 }
00194
00195 QT_END_NAMESPACE
00196
00197 #endif // PREFERENCESDATA_H