00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef IPSA_VIEWER_WIDGET_UI_H
00011 #define IPSA_VIEWER_WIDGET_UI_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QFormLayout>
00018 #include <QtGui/QHBoxLayout>
00019 #include <QtGui/QHeaderView>
00020 #include <QtGui/QPushButton>
00021 #include <QtGui/QWidget>
00022
00023 class IpsaViewerWidgetUi
00024 {
00025 public:
00026 QWidget *widget;
00027 QHBoxLayout *widgetLayout;
00028 QWidget *examinerViewerWidget;
00029 QFormLayout *buttonsLayout;
00030 QPushButton *scheduleButton;
00031 QPushButton *resetButton;
00032 QPushButton *reloadButton;
00033 QPushButton *saveButton;
00034 QPushButton *dialogButton;
00035
00036 void setupUi(QWidget *IpsaViewerWidgetUi)
00037 {
00038 if (IpsaViewerWidgetUi->objectName().isEmpty())
00039 IpsaViewerWidgetUi->setObjectName(QString::fromUtf8("IpsaViewerWidgetUi"));
00040 IpsaViewerWidgetUi->resize(540, 440);
00041 IpsaViewerWidgetUi->setMinimumSize(QSize(540, 440));
00042 widget = new QWidget(IpsaViewerWidgetUi);
00043 widget->setObjectName(QString::fromUtf8("widget"));
00044 widget->setGeometry(QRect(0, 0, 518, 402));
00045 widgetLayout = new QHBoxLayout(widget);
00046 widgetLayout->setObjectName(QString::fromUtf8("widgetLayout"));
00047 widgetLayout->setContentsMargins(0, 0, 0, 0);
00048 examinerViewerWidget = new QWidget(widget);
00049 examinerViewerWidget->setObjectName(QString::fromUtf8("examinerViewerWidget"));
00050 examinerViewerWidget->setMinimumSize(QSize(400, 400));
00051
00052 widgetLayout->addWidget(examinerViewerWidget);
00053
00054 buttonsLayout = new QFormLayout();
00055 buttonsLayout->setObjectName(QString::fromUtf8("buttonsLayout"));
00056 scheduleButton = new QPushButton(widget);
00057 scheduleButton->setObjectName(QString::fromUtf8("scheduleButton"));
00058 scheduleButton->setMinimumSize(QSize(108, 0));
00059
00060 buttonsLayout->setWidget(0, QFormLayout::LabelRole, scheduleButton);
00061
00062 resetButton = new QPushButton(widget);
00063 resetButton->setObjectName(QString::fromUtf8("resetButton"));
00064 resetButton->setMinimumSize(QSize(108, 0));
00065
00066 buttonsLayout->setWidget(1, QFormLayout::LabelRole, resetButton);
00067
00068 reloadButton = new QPushButton(widget);
00069 reloadButton->setObjectName(QString::fromUtf8("reloadButton"));
00070 reloadButton->setMinimumSize(QSize(108, 0));
00071
00072 buttonsLayout->setWidget(2, QFormLayout::LabelRole, reloadButton);
00073
00074 saveButton = new QPushButton(widget);
00075 saveButton->setObjectName(QString::fromUtf8("saveButton"));
00076 saveButton->setMinimumSize(QSize(108, 0));
00077
00078 buttonsLayout->setWidget(3, QFormLayout::LabelRole, saveButton);
00079
00080 dialogButton = new QPushButton(widget);
00081 dialogButton->setObjectName(QString::fromUtf8("dialogButton"));
00082 dialogButton->setMinimumSize(QSize(108, 0));
00083
00084 buttonsLayout->setWidget(4, QFormLayout::LabelRole, dialogButton);
00085
00086
00087 widgetLayout->addLayout(buttonsLayout);
00088
00089 QWidget::setTabOrder(scheduleButton, resetButton);
00090 QWidget::setTabOrder(resetButton, reloadButton);
00091 QWidget::setTabOrder(reloadButton, saveButton);
00092 QWidget::setTabOrder(saveButton, dialogButton);
00093
00094 retranslateUi(IpsaViewerWidgetUi);
00095 QObject::connect(scheduleButton, SIGNAL(clicked()), IpsaViewerWidgetUi, SLOT(schedule()));
00096 QObject::connect(resetButton, SIGNAL(clicked()), IpsaViewerWidgetUi, SLOT(reset()));
00097 QObject::connect(reloadButton, SIGNAL(clicked()), IpsaViewerWidgetUi, SLOT(reload()));
00098 QObject::connect(saveButton, SIGNAL(clicked()), IpsaViewerWidgetUi, SLOT(save()));
00099 QObject::connect(dialogButton, SIGNAL(clicked()), IpsaViewerWidgetUi, SLOT(showDialog()));
00100
00101 QMetaObject::connectSlotsByName(IpsaViewerWidgetUi);
00102 }
00103
00104 void retranslateUi(QWidget *IpsaViewerWidgetUi)
00105 {
00106 IpsaViewerWidgetUi->setWindowTitle(QApplication::translate("IpsaViewerWidgetUi", "Form", 0, QApplication::UnicodeUTF8));
00107 scheduleButton->setText(QApplication::translate("IpsaViewerWidgetUi", "Schedule", 0, QApplication::UnicodeUTF8));
00108 resetButton->setText(QApplication::translate("IpsaViewerWidgetUi", "Reset", 0, QApplication::UnicodeUTF8));
00109 reloadButton->setText(QApplication::translate("IpsaViewerWidgetUi", "Reload", 0, QApplication::UnicodeUTF8));
00110 saveButton->setText(QApplication::translate("IpsaViewerWidgetUi", "Save", 0, QApplication::UnicodeUTF8));
00111 dialogButton->setText(QApplication::translate("IpsaViewerWidgetUi", "Dialog", 0, QApplication::UnicodeUTF8));
00112 }
00113
00114 };
00115
00116 #endif