00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef DOCKPROGRESSDIALOGDATA_H
00011 #define DOCKPROGRESSDIALOGDATA_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QDialog>
00018 #include <QtGui/QGridLayout>
00019 #include <QtGui/QLabel>
00020 #include <QtGui/QProgressBar>
00021 #include <QtGui/QPushButton>
00022 #include <QtGui/QSpacerItem>
00023 #include <QtGui/QTextEdit>
00024
00025 QT_BEGIN_NAMESPACE
00026
00027 class Ui_DockProgressDialogData
00028 {
00029 public:
00030 QGridLayout *gridLayout;
00031 QLabel *textLabel1;
00032 QTextEdit *general_params;
00033 QSpacerItem *spacerItem;
00034 QGridLayout *gridLayout1;
00035 QLabel *remaining_time;
00036 QPushButton *pause_button;
00037 QProgressBar *progress_bar;
00038 QLabel *time_label;
00039 QPushButton *abort_button;
00040 QTextEdit *options;
00041
00042 void setupUi(QDialog *DockProgressDialogData)
00043 {
00044 if (DockProgressDialogData->objectName().isEmpty())
00045 DockProgressDialogData->setObjectName(QString::fromUtf8("DockProgressDialogData"));
00046 DockProgressDialogData->resize(630, 388);
00047 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(7));
00048 sizePolicy.setHorizontalStretch(0);
00049 sizePolicy.setVerticalStretch(0);
00050 sizePolicy.setHeightForWidth(DockProgressDialogData->sizePolicy().hasHeightForWidth());
00051 DockProgressDialogData->setSizePolicy(sizePolicy);
00052 gridLayout = new QGridLayout(DockProgressDialogData);
00053 gridLayout->setSpacing(6);
00054 gridLayout->setMargin(11);
00055 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00056 textLabel1 = new QLabel(DockProgressDialogData);
00057 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00058 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0));
00059 sizePolicy1.setHorizontalStretch(0);
00060 sizePolicy1.setVerticalStretch(0);
00061 sizePolicy1.setHeightForWidth(textLabel1->sizePolicy().hasHeightForWidth());
00062 textLabel1->setSizePolicy(sizePolicy1);
00063
00064 gridLayout->addWidget(textLabel1, 0, 0, 1, 1);
00065
00066 general_params = new QTextEdit(DockProgressDialogData);
00067 general_params->setObjectName(QString::fromUtf8("general_params"));
00068 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(1));
00069 sizePolicy2.setHorizontalStretch(0);
00070 sizePolicy2.setVerticalStretch(0);
00071 sizePolicy2.setHeightForWidth(general_params->sizePolicy().hasHeightForWidth());
00072 general_params->setSizePolicy(sizePolicy2);
00073 general_params->setMinimumSize(QSize(250, 120));
00074 general_params->setMaximumSize(QSize(32767, 120));
00075 general_params->setReadOnly(true);
00076
00077 gridLayout->addWidget(general_params, 1, 0, 1, 1);
00078
00079 spacerItem = new QSpacerItem(20, 80, QSizePolicy::Minimum, QSizePolicy::Expanding);
00080
00081 gridLayout->addItem(spacerItem, 2, 0, 1, 1);
00082
00083 gridLayout1 = new QGridLayout();
00084 gridLayout1->setSpacing(6);
00085 gridLayout1->setMargin(0);
00086 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00087 remaining_time = new QLabel(DockProgressDialogData);
00088 remaining_time->setObjectName(QString::fromUtf8("remaining_time"));
00089
00090 gridLayout1->addWidget(remaining_time, 0, 1, 1, 1);
00091
00092 pause_button = new QPushButton(DockProgressDialogData);
00093 pause_button->setObjectName(QString::fromUtf8("pause_button"));
00094 QSizePolicy sizePolicy3(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(0));
00095 sizePolicy3.setHorizontalStretch(0);
00096 sizePolicy3.setVerticalStretch(0);
00097 sizePolicy3.setHeightForWidth(pause_button->sizePolicy().hasHeightForWidth());
00098 pause_button->setSizePolicy(sizePolicy3);
00099 pause_button->setMinimumSize(QSize(110, 0));
00100
00101 gridLayout1->addWidget(pause_button, 2, 0, 1, 1);
00102
00103 progress_bar = new QProgressBar(DockProgressDialogData);
00104 progress_bar->setObjectName(QString::fromUtf8("progress_bar"));
00105 QSizePolicy sizePolicy4(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
00106 sizePolicy4.setHorizontalStretch(0);
00107 sizePolicy4.setVerticalStretch(0);
00108 sizePolicy4.setHeightForWidth(progress_bar->sizePolicy().hasHeightForWidth());
00109 progress_bar->setSizePolicy(sizePolicy4);
00110 progress_bar->setMinimumSize(QSize(200, 0));
00111 progress_bar->setOrientation(Qt::Horizontal);
00112
00113 gridLayout1->addWidget(progress_bar, 1, 0, 1, 2);
00114
00115 time_label = new QLabel(DockProgressDialogData);
00116 time_label->setObjectName(QString::fromUtf8("time_label"));
00117
00118 gridLayout1->addWidget(time_label, 0, 0, 1, 1);
00119
00120 abort_button = new QPushButton(DockProgressDialogData);
00121 abort_button->setObjectName(QString::fromUtf8("abort_button"));
00122 sizePolicy3.setHeightForWidth(abort_button->sizePolicy().hasHeightForWidth());
00123 abort_button->setSizePolicy(sizePolicy3);
00124 abort_button->setMinimumSize(QSize(110, 0));
00125
00126 gridLayout1->addWidget(abort_button, 2, 1, 1, 1);
00127
00128
00129 gridLayout->addLayout(gridLayout1, 3, 0, 1, 1);
00130
00131 options = new QTextEdit(DockProgressDialogData);
00132 options->setObjectName(QString::fromUtf8("options"));
00133 options->setMinimumSize(QSize(350, 300));
00134 options->setReadOnly(true);
00135
00136 gridLayout->addWidget(options, 1, 1, 3, 1);
00137
00138
00139 retranslateUi(DockProgressDialogData);
00140
00141 QMetaObject::connectSlotsByName(DockProgressDialogData);
00142 }
00143
00144 void retranslateUi(QDialog *DockProgressDialogData)
00145 {
00146 DockProgressDialogData->setWindowTitle(QApplication::translate("DockProgressDialogData", "Docking Progress", 0, QApplication::UnicodeUTF8));
00147 textLabel1->setText(QApplication::translate("DockProgressDialogData", "<b>Chosen Parameters</b>", 0, QApplication::UnicodeUTF8));
00148 remaining_time->setText(QString());
00149 pause_button->setText(QApplication::translate("DockProgressDialogData", "Pause", 0, QApplication::UnicodeUTF8));
00150 time_label->setText(QApplication::translate("DockProgressDialogData", "Remaining time:", 0, QApplication::UnicodeUTF8));
00151 abort_button->setText(QApplication::translate("DockProgressDialogData", "Abort", 0, QApplication::UnicodeUTF8));
00152 Q_UNUSED(DockProgressDialogData);
00153 }
00154
00155 };
00156
00157 namespace Ui {
00158 class DockProgressDialogData: public Ui_DockProgressDialogData {};
00159 }
00160
00161 QT_END_NAMESPACE
00162
00163 #endif // DOCKPROGRESSDIALOGDATA_H