00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef PYTHONSETTINGSDATA_H
00011 #define PYTHONSETTINGSDATA_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/QGridLayout>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QLineEdit>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QStackedWidget>
00025 #include <QtGui/QWidget>
00026
00027 QT_BEGIN_NAMESPACE
00028
00029 class Ui_PythonSettingsData
00030 {
00031 public:
00032 QStackedWidget *widget_stack;
00033 QWidget *General;
00034 QLabel *textLabel1;
00035 QLineEdit *script_edit;
00036 QPushButton *choose_button;
00037 QPushButton *clear_button;
00038 QGroupBox *GroupBox1_2_2;
00039 QHBoxLayout *hboxLayout;
00040 QLabel *font_label;
00041 QPushButton *font_button;
00042 QWidget *Hotkeys;
00043 QWidget *widget;
00044 QGridLayout *gridLayout;
00045 QPushButton *remove_button;
00046 QLabel *textLabel1_2;
00047 QPushButton *new_button;
00048
00049 void setupUi(QWidget *PythonSettingsData)
00050 {
00051 if (PythonSettingsData->objectName().isEmpty())
00052 PythonSettingsData->setObjectName(QString::fromUtf8("PythonSettingsData"));
00053 PythonSettingsData->resize(623, 435);
00054 widget_stack = new QStackedWidget(PythonSettingsData);
00055 widget_stack->setObjectName(QString::fromUtf8("widget_stack"));
00056 widget_stack->setGeometry(QRect(0, 0, 611, 440));
00057 General = new QWidget();
00058 General->setObjectName(QString::fromUtf8("General"));
00059 textLabel1 = new QLabel(General);
00060 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00061 textLabel1->setGeometry(QRect(19, 14, 166, 20));
00062 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00063 sizePolicy.setHorizontalStretch(0);
00064 sizePolicy.setVerticalStretch(0);
00065 sizePolicy.setHeightForWidth(textLabel1->sizePolicy().hasHeightForWidth());
00066 textLabel1->setSizePolicy(sizePolicy);
00067 script_edit = new QLineEdit(General);
00068 script_edit->setObjectName(QString::fromUtf8("script_edit"));
00069 script_edit->setGeometry(QRect(16, 34, 470, 27));
00070 script_edit->setReadOnly(true);
00071 choose_button = new QPushButton(General);
00072 choose_button->setObjectName(QString::fromUtf8("choose_button"));
00073 choose_button->setGeometry(QRect(315, 66, 80, 30));
00074 choose_button->setMinimumSize(QSize(80, 30));
00075 clear_button = new QPushButton(General);
00076 clear_button->setObjectName(QString::fromUtf8("clear_button"));
00077 clear_button->setGeometry(QRect(404, 66, 80, 30));
00078 clear_button->setMinimumSize(QSize(80, 30));
00079 GroupBox1_2_2 = new QGroupBox(General);
00080 GroupBox1_2_2->setObjectName(QString::fromUtf8("GroupBox1_2_2"));
00081 GroupBox1_2_2->setGeometry(QRect(10, 120, 471, 61));
00082 hboxLayout = new QHBoxLayout(GroupBox1_2_2);
00083 hboxLayout->setSpacing(6);
00084 hboxLayout->setMargin(5);
00085 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00086 font_label = new QLabel(GroupBox1_2_2);
00087 font_label->setObjectName(QString::fromUtf8("font_label"));
00088 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(3));
00089 sizePolicy1.setHorizontalStretch(0);
00090 sizePolicy1.setVerticalStretch(0);
00091 sizePolicy1.setHeightForWidth(font_label->sizePolicy().hasHeightForWidth());
00092 font_label->setSizePolicy(sizePolicy1);
00093 font_label->setMaximumSize(QSize(400, 190));
00094 QFont font;
00095 font.setFamily(QString::fromUtf8("Sans Serif"));
00096 font.setPointSize(9);
00097 font.setBold(false);
00098 font.setItalic(false);
00099 font.setUnderline(false);
00100 font.setWeight(50);
00101 font.setStrikeOut(false);
00102 font_label->setFont(font);
00103 font_label->setFrameShape(QFrame::Panel);
00104 font_label->setFrameShadow(QFrame::Sunken);
00105 font_label->setAlignment(Qt::AlignVCenter);
00106
00107 hboxLayout->addWidget(font_label);
00108
00109 font_button = new QPushButton(GroupBox1_2_2);
00110 font_button->setObjectName(QString::fromUtf8("font_button"));
00111 sizePolicy.setHeightForWidth(font_button->sizePolicy().hasHeightForWidth());
00112 font_button->setSizePolicy(sizePolicy);
00113 font_button->setMinimumSize(QSize(0, 28));
00114
00115 hboxLayout->addWidget(font_button);
00116
00117 widget_stack->addWidget(General);
00118 Hotkeys = new QWidget();
00119 Hotkeys->setObjectName(QString::fromUtf8("Hotkeys"));
00120 widget = new QWidget(Hotkeys);
00121 widget->setObjectName(QString::fromUtf8("widget"));
00122 widget->setGeometry(QRect(0, 350, 611, 78));
00123 gridLayout = new QGridLayout(widget);
00124 gridLayout->setSpacing(6);
00125 gridLayout->setMargin(0);
00126 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00127 gridLayout->setContentsMargins(0, 0, 0, 0);
00128 remove_button = new QPushButton(widget);
00129 remove_button->setObjectName(QString::fromUtf8("remove_button"));
00130 remove_button->setMinimumSize(QSize(100, 30));
00131 remove_button->setMaximumSize(QSize(32767, 30));
00132
00133 gridLayout->addWidget(remove_button, 0, 0, 1, 1);
00134
00135 textLabel1_2 = new QLabel(widget);
00136 textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
00137 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(5));
00138 sizePolicy2.setHorizontalStretch(0);
00139 sizePolicy2.setVerticalStretch(0);
00140 sizePolicy2.setHeightForWidth(textLabel1_2->sizePolicy().hasHeightForWidth());
00141 textLabel1_2->setSizePolicy(sizePolicy2);
00142 textLabel1_2->setMinimumSize(QSize(0, 40));
00143 textLabel1_2->setMaximumSize(QSize(32767, 50));
00144 textLabel1_2->setFrameShadow(QFrame::Sunken);
00145 textLabel1_2->setMargin(0);
00146
00147 gridLayout->addWidget(textLabel1_2, 1, 0, 1, 2);
00148
00149 new_button = new QPushButton(widget);
00150 new_button->setObjectName(QString::fromUtf8("new_button"));
00151 new_button->setMinimumSize(QSize(150, 30));
00152 new_button->setMaximumSize(QSize(32767, 30));
00153
00154 gridLayout->addWidget(new_button, 0, 1, 1, 1);
00155
00156 widget_stack->addWidget(Hotkeys);
00157
00158 retranslateUi(PythonSettingsData);
00159
00160 widget_stack->setCurrentIndex(0);
00161
00162
00163 QMetaObject::connectSlotsByName(PythonSettingsData);
00164 }
00165
00166 void retranslateUi(QWidget *PythonSettingsData)
00167 {
00168 PythonSettingsData->setWindowTitle(QApplication::translate("PythonSettingsData", "Python", 0, QApplication::UnicodeUTF8));
00169 textLabel1->setText(QApplication::translate("PythonSettingsData", "Startup script", 0, QApplication::UnicodeUTF8));
00170 choose_button->setText(QApplication::translate("PythonSettingsData", "Browse", 0, QApplication::UnicodeUTF8));
00171 clear_button->setText(QApplication::translate("PythonSettingsData", "Clear", 0, QApplication::UnicodeUTF8));
00172 GroupBox1_2_2->setTitle(QApplication::translate("PythonSettingsData", "Font for the internal editor", 0, QApplication::UnicodeUTF8));
00173
00174 #ifndef QT_NO_TOOLTIP
00175 font_label->setToolTip(QApplication::translate("PythonSettingsData", "Font Preview", 0, QApplication::UnicodeUTF8));
00176 #endif // QT_NO_TOOLTIP
00177
00178 font_label->setText(QApplication::translate("PythonSettingsData", "Font Test label", 0, QApplication::UnicodeUTF8));
00179
00180 #ifndef QT_NO_TOOLTIP
00181 font_button->setToolTip(QApplication::translate("PythonSettingsData", "Select the font", 0, QApplication::UnicodeUTF8));
00182 #endif // QT_NO_TOOLTIP
00183
00184 font_button->setText(QApplication::translate("PythonSettingsData", "Select", 0, QApplication::UnicodeUTF8));
00185
00186 #ifndef QT_NO_TOOLTIP
00187 remove_button->setToolTip(QApplication::translate("PythonSettingsData", "Remove a hotkey, select the row (with the field to the left)", 0, QApplication::UnicodeUTF8));
00188 #endif // QT_NO_TOOLTIP
00189
00190 remove_button->setText(QApplication::translate("PythonSettingsData", "&Remove", 0, QApplication::UnicodeUTF8));
00191 remove_button->setShortcut(QApplication::translate("PythonSettingsData", "Alt+R", 0, QApplication::UnicodeUTF8));
00192 textLabel1_2->setText(QApplication::translate("PythonSettingsData", "<b>Note:</b> F1 is reserved for the internal help system!", 0, QApplication::UnicodeUTF8));
00193
00194 #ifndef QT_NO_TOOLTIP
00195 new_button->setToolTip(QApplication::translate("PythonSettingsData", "Add a new hotkey", 0, QApplication::UnicodeUTF8));
00196 #endif // QT_NO_TOOLTIP
00197
00198 new_button->setText(QApplication::translate("PythonSettingsData", "&Add new", 0, QApplication::UnicodeUTF8));
00199 new_button->setShortcut(QApplication::translate("PythonSettingsData", "Alt+A", 0, QApplication::UnicodeUTF8));
00200 Q_UNUSED(PythonSettingsData);
00201 }
00202
00203 };
00204
00205 namespace Ui {
00206 class PythonSettingsData: public Ui_PythonSettingsData {};
00207 }
00208
00209 QT_END_NAMESPACE
00210
00211 #endif // PYTHONSETTINGSDATA_H