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