00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGREPORTVIEW_H
00011 #define UI_DLGREPORTVIEW_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QGridLayout>
00018 #include <QtGui/QGroupBox>
00019 #include <QtGui/QHeaderView>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QSpacerItem>
00022 #include <QtGui/QVBoxLayout>
00023 #include <QtGui/QWidget>
00024 #include "Gui/PrefWidgets.h"
00025
00026 namespace Gui {
00027 namespace Dialog {
00028
00029 class Ui_DlgReportView
00030 {
00031 public:
00032 QGridLayout *gridLayout;
00033 QSpacerItem *spacerItem;
00034 Gui::PrefCheckBox *pythonOutput;
00035 Gui::PrefCheckBox *pythonError;
00036 QGroupBox *groupBox1;
00037 QVBoxLayout *vboxLayout;
00038 Gui::PrefCheckBox *checkLogging;
00039 Gui::PrefCheckBox *checkWarning;
00040 Gui::PrefCheckBox *checkError;
00041 QGroupBox *groupBox2;
00042 QGridLayout *gridLayout1;
00043 QSpacerItem *spacerItem1;
00044 QGridLayout *gridLayout2;
00045 QSpacerItem *spacerItem2;
00046 Gui::PrefColorButton *colorError;
00047 QSpacerItem *spacerItem3;
00048 QLabel *textLabel1;
00049 Gui::PrefColorButton *colorLogging;
00050 QSpacerItem *spacerItem4;
00051 QLabel *textLabel2;
00052 Gui::PrefColorButton *colorWarning;
00053 QLabel *textLabel3;
00054 QSpacerItem *spacerItem5;
00055 QLabel *textLabel4;
00056 Gui::PrefColorButton *colorText;
00057
00058 void setupUi(QWidget *Gui__Dialog__DlgReportView)
00059 {
00060 if (Gui__Dialog__DlgReportView->objectName().isEmpty())
00061 Gui__Dialog__DlgReportView->setObjectName(QString::fromUtf8("Gui__Dialog__DlgReportView"));
00062 Gui__Dialog__DlgReportView->resize(432, 404);
00063 gridLayout = new QGridLayout(Gui__Dialog__DlgReportView);
00064 gridLayout->setSpacing(6);
00065 gridLayout->setMargin(9);
00066 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00067 spacerItem = new QSpacerItem(410, 71, QSizePolicy::Minimum, QSizePolicy::Expanding);
00068
00069 gridLayout->addItem(spacerItem, 2, 0, 1, 1);
00070
00071 pythonOutput = new Gui::PrefCheckBox(Gui__Dialog__DlgReportView);
00072 pythonOutput->setObjectName(QString::fromUtf8("pythonOutput"));
00073 pythonOutput->setProperty("prefEntry", QVariant(QByteArray("RedirectPythonOutput")));
00074 pythonOutput->setProperty("prefPath", QVariant(QByteArray("OutputWindow")));
00075
00076 gridLayout->addWidget(pythonOutput, 3, 0, 1, 1);
00077
00078 pythonError = new Gui::PrefCheckBox(Gui__Dialog__DlgReportView);
00079 pythonError->setObjectName(QString::fromUtf8("pythonError"));
00080 pythonError->setProperty("prefEntry", QVariant(QByteArray("RedirectPythonErrors")));
00081 pythonError->setProperty("prefPath", QVariant(QByteArray("OutputWindow")));
00082
00083 gridLayout->addWidget(pythonError, 4, 0, 1, 1);
00084
00085 groupBox1 = new QGroupBox(Gui__Dialog__DlgReportView);
00086 groupBox1->setObjectName(QString::fromUtf8("groupBox1"));
00087 vboxLayout = new QVBoxLayout(groupBox1);
00088 vboxLayout->setSpacing(6);
00089 vboxLayout->setMargin(11);
00090 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00091 checkLogging = new Gui::PrefCheckBox(groupBox1);
00092 checkLogging->setObjectName(QString::fromUtf8("checkLogging"));
00093 checkLogging->setProperty("prefEntry", QVariant(QByteArray("checkLogging")));
00094 checkLogging->setProperty("prefPath", QVariant(QByteArray("OutputWindow")));
00095
00096 vboxLayout->addWidget(checkLogging);
00097
00098 checkWarning = new Gui::PrefCheckBox(groupBox1);
00099 checkWarning->setObjectName(QString::fromUtf8("checkWarning"));
00100 checkWarning->setChecked(true);
00101 checkWarning->setProperty("prefEntry", QVariant(QByteArray("checkWarning")));
00102 checkWarning->setProperty("prefPath", QVariant(QByteArray("OutputWindow")));
00103
00104 vboxLayout->addWidget(checkWarning);
00105
00106 checkError = new Gui::PrefCheckBox(groupBox1);
00107 checkError->setObjectName(QString::fromUtf8("checkError"));
00108 checkError->setChecked(true);
00109 checkError->setProperty("prefEntry", QVariant(QByteArray("checkError")));
00110 checkError->setProperty("prefPath", QVariant(QByteArray("OutputWindow")));
00111
00112 vboxLayout->addWidget(checkError);
00113
00114
00115 gridLayout->addWidget(groupBox1, 0, 0, 1, 1);
00116
00117 groupBox2 = new QGroupBox(Gui__Dialog__DlgReportView);
00118 groupBox2->setObjectName(QString::fromUtf8("groupBox2"));
00119 gridLayout1 = new QGridLayout(groupBox2);
00120 gridLayout1->setSpacing(6);
00121 gridLayout1->setMargin(9);
00122 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00123 spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
00124
00125 gridLayout1->addItem(spacerItem1, 0, 1, 1, 1);
00126
00127 gridLayout2 = new QGridLayout();
00128 gridLayout2->setSpacing(6);
00129 gridLayout2->setMargin(0);
00130 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00131 spacerItem2 = new QSpacerItem(211, 23, QSizePolicy::Expanding, QSizePolicy::Minimum);
00132
00133 gridLayout2->addItem(spacerItem2, 3, 1, 1, 1);
00134
00135 colorError = new Gui::PrefColorButton(groupBox2);
00136 colorError->setObjectName(QString::fromUtf8("colorError"));
00137 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
00138 sizePolicy.setHorizontalStretch(0);
00139 sizePolicy.setVerticalStretch(0);
00140 sizePolicy.setHeightForWidth(colorError->sizePolicy().hasHeightForWidth());
00141 colorError->setSizePolicy(sizePolicy);
00142 colorError->setMinimumSize(QSize(75, 0));
00143 colorError->setColor(QColor(255, 0, 0));
00144 colorError->setProperty("prefEntry", QVariant(QByteArray("colorError")));
00145 colorError->setProperty("prefPath", QVariant(QByteArray("OutputWindow")));
00146
00147 gridLayout2->addWidget(colorError, 3, 2, 1, 1);
00148
00149 spacerItem3 = new QSpacerItem(211, 23, QSizePolicy::Ignored, QSizePolicy::Minimum);
00150
00151 gridLayout2->addItem(spacerItem3, 2, 1, 1, 1);
00152
00153 textLabel1 = new QLabel(groupBox2);
00154 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00155
00156 gridLayout2->addWidget(textLabel1, 0, 0, 1, 1);
00157
00158 colorLogging = new Gui::PrefColorButton(groupBox2);
00159 colorLogging->setObjectName(QString::fromUtf8("colorLogging"));
00160 sizePolicy.setHeightForWidth(colorLogging->sizePolicy().hasHeightForWidth());
00161 colorLogging->setSizePolicy(sizePolicy);
00162 colorLogging->setMinimumSize(QSize(75, 0));
00163 colorLogging->setColor(QColor(0, 0, 255));
00164 colorLogging->setProperty("prefEntry", QVariant(QByteArray("colorLogging")));
00165 colorLogging->setProperty("prefPath", QVariant(QByteArray("OutputWindow")));
00166
00167 gridLayout2->addWidget(colorLogging, 1, 2, 1, 1);
00168
00169 spacerItem4 = new QSpacerItem(211, 23, QSizePolicy::Ignored, QSizePolicy::Minimum);
00170
00171 gridLayout2->addItem(spacerItem4, 1, 1, 1, 1);
00172
00173 textLabel2 = new QLabel(groupBox2);
00174 textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00175
00176 gridLayout2->addWidget(textLabel2, 1, 0, 1, 1);
00177
00178 colorWarning = new Gui::PrefColorButton(groupBox2);
00179 colorWarning->setObjectName(QString::fromUtf8("colorWarning"));
00180 sizePolicy.setHeightForWidth(colorWarning->sizePolicy().hasHeightForWidth());
00181 colorWarning->setSizePolicy(sizePolicy);
00182 colorWarning->setMinimumSize(QSize(75, 0));
00183 colorWarning->setColor(QColor(255, 170, 0));
00184 colorWarning->setProperty("prefEntry", QVariant(QByteArray("colorWarning")));
00185 colorWarning->setProperty("prefPath", QVariant(QByteArray("OutputWindow")));
00186
00187 gridLayout2->addWidget(colorWarning, 2, 2, 1, 1);
00188
00189 textLabel3 = new QLabel(groupBox2);
00190 textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
00191
00192 gridLayout2->addWidget(textLabel3, 2, 0, 1, 1);
00193
00194 spacerItem5 = new QSpacerItem(214, 23, QSizePolicy::Ignored, QSizePolicy::Minimum);
00195
00196 gridLayout2->addItem(spacerItem5, 0, 1, 1, 1);
00197
00198 textLabel4 = new QLabel(groupBox2);
00199 textLabel4->setObjectName(QString::fromUtf8("textLabel4"));
00200
00201 gridLayout2->addWidget(textLabel4, 3, 0, 1, 1);
00202
00203 colorText = new Gui::PrefColorButton(groupBox2);
00204 colorText->setObjectName(QString::fromUtf8("colorText"));
00205 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0));
00206 sizePolicy1.setHorizontalStretch(0);
00207 sizePolicy1.setVerticalStretch(0);
00208 sizePolicy1.setHeightForWidth(colorText->sizePolicy().hasHeightForWidth());
00209 colorText->setSizePolicy(sizePolicy1);
00210 colorText->setMinimumSize(QSize(75, 0));
00211 colorText->setColor(QColor(0, 0, 0));
00212 colorText->setProperty("prefEntry", QVariant(QByteArray("colorText")));
00213 colorText->setProperty("prefPath", QVariant(QByteArray("OutputWindow")));
00214
00215 gridLayout2->addWidget(colorText, 0, 2, 1, 1);
00216
00217
00218 gridLayout1->addLayout(gridLayout2, 0, 0, 1, 1);
00219
00220
00221 gridLayout->addWidget(groupBox2, 1, 0, 1, 1);
00222
00223
00224 retranslateUi(Gui__Dialog__DlgReportView);
00225
00226 QMetaObject::connectSlotsByName(Gui__Dialog__DlgReportView);
00227 }
00228
00229 void retranslateUi(QWidget *Gui__Dialog__DlgReportView)
00230 {
00231 Gui__Dialog__DlgReportView->setWindowTitle(QApplication::translate("Gui::Dialog::DlgReportView", "Output window", 0, QApplication::UnicodeUTF8));
00232 pythonOutput->setText(QApplication::translate("Gui::Dialog::DlgReportView", "Redirect internal Python output to report view", 0, QApplication::UnicodeUTF8));
00233 pythonError->setText(QApplication::translate("Gui::Dialog::DlgReportView", "Redirect internal Python errors to report view", 0, QApplication::UnicodeUTF8));
00234 groupBox1->setTitle(QApplication::translate("Gui::Dialog::DlgReportView", "Output", 0, QApplication::UnicodeUTF8));
00235 checkLogging->setText(QApplication::translate("Gui::Dialog::DlgReportView", "Record log messages", 0, QApplication::UnicodeUTF8));
00236 checkWarning->setText(QApplication::translate("Gui::Dialog::DlgReportView", "Record warnings", 0, QApplication::UnicodeUTF8));
00237 checkError->setText(QApplication::translate("Gui::Dialog::DlgReportView", "Record error messages", 0, QApplication::UnicodeUTF8));
00238 groupBox2->setTitle(QApplication::translate("Gui::Dialog::DlgReportView", "Colors", 0, QApplication::UnicodeUTF8));
00239 colorError->setText(QString());
00240 textLabel1->setText(QApplication::translate("Gui::Dialog::DlgReportView", "Normal messages:", 0, QApplication::UnicodeUTF8));
00241 colorLogging->setText(QString());
00242 textLabel2->setText(QApplication::translate("Gui::Dialog::DlgReportView", "Log messages:", 0, QApplication::UnicodeUTF8));
00243 colorWarning->setText(QString());
00244 textLabel3->setText(QApplication::translate("Gui::Dialog::DlgReportView", "Warnings:", 0, QApplication::UnicodeUTF8));
00245 textLabel4->setText(QApplication::translate("Gui::Dialog::DlgReportView", "Errors:", 0, QApplication::UnicodeUTF8));
00246 colorText->setText(QString());
00247 Q_UNUSED(Gui__Dialog__DlgReportView);
00248 }
00249
00250 };
00251
00252 }
00253 }
00254
00255 namespace Gui {
00256 namespace Dialog {
00257 namespace Ui {
00258 class DlgReportView: public Ui_DlgReportView {};
00259 }
00260 }
00261 }
00262
00263 #endif // UI_DLGREPORTVIEW_H