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/QLabel>
00020 #include <QtGui/QPushButton>
00021 #include <QtGui/QStackedWidget>
00022 #include <QtGui/QTreeWidget>
00023 #include <QtGui/QWidget>
00024
00025 class Ui_PreferencesData
00026 {
00027 public:
00028 QTreeWidget *entries_listview;
00029 QPushButton *help_button;
00030 QPushButton *defaults_button;
00031 QPushButton *cancel_button;
00032 QPushButton *ok_button;
00033 QStackedWidget *widget_stack;
00034 QWidget *WStackPage;
00035 QLabel *label;
00036
00037 void setupUi(QDialog *PreferencesData)
00038 {
00039 PreferencesData->setObjectName(QString::fromUtf8("PreferencesData"));
00040 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00041 sizePolicy.setHorizontalStretch(0);
00042 sizePolicy.setVerticalStretch(0);
00043 sizePolicy.setHeightForWidth(PreferencesData->sizePolicy().hasHeightForWidth());
00044 PreferencesData->setSizePolicy(sizePolicy);
00045 PreferencesData->setMinimumSize(QSize(820, 470));
00046 PreferencesData->setMaximumSize(QSize(7800, 470));
00047 PreferencesData->setSizeGripEnabled(false);
00048 entries_listview = new QTreeWidget(PreferencesData);
00049 entries_listview->setObjectName(QString::fromUtf8("entries_listview"));
00050 entries_listview->setGeometry(QRect(9, 9, 221, 452));
00051 help_button = new QPushButton(PreferencesData);
00052 help_button->setObjectName(QString::fromUtf8("help_button"));
00053 help_button->setGeometry(QRect(706, 431, 150, 30));
00054 help_button->setMinimumSize(QSize(100, 30));
00055 help_button->setMaximumSize(QSize(32767, 30));
00056 help_button->setAutoDefault(true);
00057 defaults_button = new QPushButton(PreferencesData);
00058 defaults_button->setObjectName(QString::fromUtf8("defaults_button"));
00059 defaults_button->setGeometry(QRect(549, 431, 151, 30));
00060 defaults_button->setMinimumSize(QSize(100, 30));
00061 defaults_button->setMaximumSize(QSize(32767, 30));
00062 defaults_button->setAutoDefault(true);
00063 cancel_button = new QPushButton(PreferencesData);
00064 cancel_button->setObjectName(QString::fromUtf8("cancel_button"));
00065 cancel_button->setGeometry(QRect(393, 431, 150, 30));
00066 cancel_button->setMinimumSize(QSize(100, 30));
00067 cancel_button->setMaximumSize(QSize(32767, 30));
00068 cancel_button->setAutoDefault(true);
00069 ok_button = new QPushButton(PreferencesData);
00070 ok_button->setObjectName(QString::fromUtf8("ok_button"));
00071 ok_button->setGeometry(QRect(236, 431, 151, 30));
00072 ok_button->setMinimumSize(QSize(110, 30));
00073 ok_button->setMaximumSize(QSize(32767, 30));
00074 ok_button->setAutoDefault(true);
00075 ok_button->setDefault(true);
00076 widget_stack = new QStackedWidget(PreferencesData);
00077 widget_stack->setObjectName(QString::fromUtf8("widget_stack"));
00078 widget_stack->setGeometry(QRect(236, 9, 620, 416));
00079 widget_stack->setMinimumSize(QSize(620, 16));
00080 widget_stack->setMaximumSize(QSize(623, 16777215));
00081 widget_stack->setFrameShape(QFrame::NoFrame);
00082 widget_stack->setFrameShadow(QFrame::Plain);
00083 widget_stack->setLineWidth(0);
00084 WStackPage = new QWidget();
00085 WStackPage->setObjectName(QString::fromUtf8("WStackPage"));
00086 label = new QLabel(WStackPage);
00087 label->setObjectName(QString::fromUtf8("label"));
00088 label->setGeometry(QRect(10, 10, 521, 23));
00089 QFont font;
00090 font.setFamily(QString::fromUtf8("Sans Serif"));
00091 font.setPointSize(12);
00092 font.setBold(false);
00093 font.setItalic(false);
00094 font.setUnderline(false);
00095 font.setWeight(50);
00096 font.setStrikeOut(false);
00097 label->setFont(font);
00098 widget_stack->addWidget(WStackPage);
00099 QWidget::setTabOrder(entries_listview, ok_button);
00100 QWidget::setTabOrder(ok_button, cancel_button);
00101 QWidget::setTabOrder(cancel_button, defaults_button);
00102 QWidget::setTabOrder(defaults_button, help_button);
00103
00104 retranslateUi(PreferencesData);
00105
00106 QSize size(858, 470);
00107 size = size.expandedTo(PreferencesData->minimumSizeHint());
00108 PreferencesData->resize(size);
00109
00110
00111 QMetaObject::connectSlotsByName(PreferencesData);
00112 }
00113
00114 void retranslateUi(QDialog *PreferencesData)
00115 {
00116 PreferencesData->setWindowTitle(QApplication::translate("PreferencesData", "Preferences", 0, QApplication::UnicodeUTF8));
00117 entries_listview->headerItem()->setText(0, QApplication::translate("PreferencesData", "Entries", 0, QApplication::UnicodeUTF8));
00118 help_button->setToolTip(QApplication::translate("PreferencesData", "Set settings to default values", 0, QApplication::UnicodeUTF8));
00119 help_button->setText(QApplication::translate("PreferencesData", "&Help", 0, QApplication::UnicodeUTF8));
00120 help_button->setShortcut(QApplication::translate("PreferencesData", "Alt+H", 0, QApplication::UnicodeUTF8));
00121 defaults_button->setToolTip(QApplication::translate("PreferencesData", "Set settings to default values", 0, QApplication::UnicodeUTF8));
00122 defaults_button->setText(QApplication::translate("PreferencesData", "&Defaults", 0, QApplication::UnicodeUTF8));
00123 defaults_button->setShortcut(QApplication::translate("PreferencesData", "Alt+D", 0, QApplication::UnicodeUTF8));
00124 cancel_button->setToolTip(QApplication::translate("PreferencesData", "Discard changes", 0, QApplication::UnicodeUTF8));
00125 cancel_button->setText(QApplication::translate("PreferencesData", "&Cancel", 0, QApplication::UnicodeUTF8));
00126 cancel_button->setShortcut(QString());
00127 ok_button->setToolTip(QApplication::translate("PreferencesData", "Apply new settings", 0, QApplication::UnicodeUTF8));
00128 ok_button->setText(QApplication::translate("PreferencesData", "O&K", 0, QApplication::UnicodeUTF8));
00129 ok_button->setShortcut(QApplication::translate("PreferencesData", "Alt+K", 0, QApplication::UnicodeUTF8));
00130 label->setText(QApplication::translate("PreferencesData", "Please select an (child) entry on the left side!", 0, QApplication::UnicodeUTF8));
00131 Q_UNUSED(PreferencesData);
00132 }
00133
00134 };
00135
00136 namespace Ui {
00137 class PreferencesData: public Ui_PreferencesData {};
00138 }
00139
00140 #endif // PREFERENCESDATA_H