00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef MAINCONTROLPREFERENCESDATA_H
00011 #define MAINCONTROLPREFERENCESDATA_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/QCheckBox>
00019 #include <QtGui/QComboBox>
00020 #include <QtGui/QGroupBox>
00021 #include <QtGui/QHBoxLayout>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QVBoxLayout>
00025 #include <QtGui/QWidget>
00026
00027 QT_BEGIN_NAMESPACE
00028
00029 class Ui_MainControlPreferencesData
00030 {
00031 public:
00032 QCheckBox *logging_to_file;
00033 QWidget *layoutWidget;
00034 QVBoxLayout *vboxLayout;
00035 QLabel *textLabel2;
00036 QComboBox *style_box_;
00037 QGroupBox *GroupBox1_2_2;
00038 QHBoxLayout *hboxLayout;
00039 QLabel *font_label;
00040 QPushButton *font_button;
00041
00042 void setupUi(QWidget *MainControlPreferencesData)
00043 {
00044 if (MainControlPreferencesData->objectName().isEmpty())
00045 MainControlPreferencesData->setObjectName(QString::fromUtf8("MainControlPreferencesData"));
00046 MainControlPreferencesData->resize(651, 406);
00047 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
00048 sizePolicy.setHorizontalStretch(0);
00049 sizePolicy.setVerticalStretch(0);
00050 sizePolicy.setHeightForWidth(MainControlPreferencesData->sizePolicy().hasHeightForWidth());
00051 MainControlPreferencesData->setSizePolicy(sizePolicy);
00052 MainControlPreferencesData->setMinimumSize(QSize(0, 0));
00053 MainControlPreferencesData->setMaximumSize(QSize(32000, 32000));
00054 logging_to_file = new QCheckBox(MainControlPreferencesData);
00055 logging_to_file->setObjectName(QString::fromUtf8("logging_to_file"));
00056 logging_to_file->setGeometry(QRect(10, 150, 250, 23));
00057 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00058 sizePolicy1.setHorizontalStretch(0);
00059 sizePolicy1.setVerticalStretch(0);
00060 sizePolicy1.setHeightForWidth(logging_to_file->sizePolicy().hasHeightForWidth());
00061 logging_to_file->setSizePolicy(sizePolicy1);
00062 logging_to_file->setMinimumSize(QSize(250, 23));
00063 logging_to_file->setMaximumSize(QSize(250, 23));
00064 layoutWidget = new QWidget(MainControlPreferencesData);
00065 layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
00066 layoutWidget->setGeometry(QRect(6, 11, 311, 51));
00067 vboxLayout = new QVBoxLayout(layoutWidget);
00068 vboxLayout->setSpacing(6);
00069 vboxLayout->setMargin(0);
00070 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00071 vboxLayout->setContentsMargins(0, 0, 0, 0);
00072 textLabel2 = new QLabel(layoutWidget);
00073 textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00074 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
00075 sizePolicy2.setHorizontalStretch(0);
00076 sizePolicy2.setVerticalStretch(0);
00077 sizePolicy2.setHeightForWidth(textLabel2->sizePolicy().hasHeightForWidth());
00078 textLabel2->setSizePolicy(sizePolicy2);
00079 textLabel2->setAlignment(Qt::AlignCenter);
00080
00081 vboxLayout->addWidget(textLabel2);
00082
00083 style_box_ = new QComboBox(layoutWidget);
00084 style_box_->setObjectName(QString::fromUtf8("style_box_"));
00085 QSizePolicy sizePolicy3(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(3));
00086 sizePolicy3.setHorizontalStretch(0);
00087 sizePolicy3.setVerticalStretch(0);
00088 sizePolicy3.setHeightForWidth(style_box_->sizePolicy().hasHeightForWidth());
00089 style_box_->setSizePolicy(sizePolicy3);
00090
00091 vboxLayout->addWidget(style_box_);
00092
00093 GroupBox1_2_2 = new QGroupBox(MainControlPreferencesData);
00094 GroupBox1_2_2->setObjectName(QString::fromUtf8("GroupBox1_2_2"));
00095 GroupBox1_2_2->setGeometry(QRect(10, 70, 311, 61));
00096 hboxLayout = new QHBoxLayout(GroupBox1_2_2);
00097 hboxLayout->setSpacing(6);
00098 hboxLayout->setMargin(5);
00099 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00100 font_label = new QLabel(GroupBox1_2_2);
00101 font_label->setObjectName(QString::fromUtf8("font_label"));
00102 QSizePolicy sizePolicy4(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(3));
00103 sizePolicy4.setHorizontalStretch(0);
00104 sizePolicy4.setVerticalStretch(0);
00105 sizePolicy4.setHeightForWidth(font_label->sizePolicy().hasHeightForWidth());
00106 font_label->setSizePolicy(sizePolicy4);
00107 font_label->setMaximumSize(QSize(400, 190));
00108 QFont font;
00109 font.setFamily(QString::fromUtf8("Sans Serif"));
00110 font.setPointSize(9);
00111 font.setBold(false);
00112 font.setItalic(false);
00113 font.setUnderline(false);
00114 font.setWeight(50);
00115 font.setStrikeOut(false);
00116 font_label->setFont(font);
00117 font_label->setFrameShape(QFrame::Panel);
00118 font_label->setFrameShadow(QFrame::Sunken);
00119 font_label->setAlignment(Qt::AlignVCenter);
00120
00121 hboxLayout->addWidget(font_label);
00122
00123 font_button = new QPushButton(GroupBox1_2_2);
00124 font_button->setObjectName(QString::fromUtf8("font_button"));
00125 sizePolicy1.setHeightForWidth(font_button->sizePolicy().hasHeightForWidth());
00126 font_button->setSizePolicy(sizePolicy1);
00127 font_button->setMinimumSize(QSize(0, 28));
00128
00129 hboxLayout->addWidget(font_button);
00130
00131 QWidget::setTabOrder(style_box_, font_button);
00132 QWidget::setTabOrder(font_button, logging_to_file);
00133
00134 retranslateUi(MainControlPreferencesData);
00135
00136 QMetaObject::connectSlotsByName(MainControlPreferencesData);
00137 }
00138
00139 void retranslateUi(QWidget *MainControlPreferencesData)
00140 {
00141 MainControlPreferencesData->setWindowTitle(QApplication::translate("MainControlPreferencesData", "MainControlPreferences", 0, QApplication::UnicodeUTF8));
00142
00143 #ifndef QT_NO_TOOLTIP
00144 logging_to_file->setToolTip(QApplication::translate("MainControlPreferencesData", "Writes the information from the Logs window into a file", 0, QApplication::UnicodeUTF8));
00145 #endif // QT_NO_TOOLTIP
00146
00147 logging_to_file->setText(QApplication::translate("MainControlPreferencesData", "enable logging to file", 0, QApplication::UnicodeUTF8));
00148 textLabel2->setText(QApplication::translate("MainControlPreferencesData", "GUI Style", 0, QApplication::UnicodeUTF8));
00149
00150 #ifndef QT_NO_TOOLTIP
00151 style_box_->setToolTip(QApplication::translate("MainControlPreferencesData", "Select a GUI style to alter the appearance of BALLView", 0, QApplication::UnicodeUTF8));
00152 #endif // QT_NO_TOOLTIP
00153
00154 GroupBox1_2_2->setTitle(QApplication::translate("MainControlPreferencesData", "General font", 0, QApplication::UnicodeUTF8));
00155
00156 #ifndef QT_NO_TOOLTIP
00157 font_label->setToolTip(QApplication::translate("MainControlPreferencesData", "Font Preview", 0, QApplication::UnicodeUTF8));
00158 #endif // QT_NO_TOOLTIP
00159
00160 font_label->setText(QApplication::translate("MainControlPreferencesData", "Font Test label", 0, QApplication::UnicodeUTF8));
00161
00162 #ifndef QT_NO_TOOLTIP
00163 font_button->setToolTip(QApplication::translate("MainControlPreferencesData", "Select the font", 0, QApplication::UnicodeUTF8));
00164 #endif // QT_NO_TOOLTIP
00165
00166 font_button->setText(QApplication::translate("MainControlPreferencesData", "Select", 0, QApplication::UnicodeUTF8));
00167 Q_UNUSED(MainControlPreferencesData);
00168 }
00169
00170 };
00171
00172 namespace Ui {
00173 class MainControlPreferencesData: public Ui_MainControlPreferencesData {};
00174 }
00175
00176 QT_END_NAMESPACE
00177
00178 #endif // MAINCONTROLPREFERENCESDATA_H