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