00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef QBPICKSTARTDATE_H
00011 #define QBPICKSTARTDATE_H
00012
00013 #include <Qt3Support/Q3ButtonGroup>
00014 #include <Qt3Support/Q3DateEdit>
00015 #include <Qt3Support/Q3GroupBox>
00016 #include <Qt3Support/Q3MimeSourceFactory>
00017 #include <QtCore/QVariant>
00018 #include <QtGui/QAction>
00019 #include <QtGui/QApplication>
00020 #include <QtGui/QButtonGroup>
00021 #include <QtGui/QDialog>
00022 #include <QtGui/QGridLayout>
00023 #include <QtGui/QHBoxLayout>
00024 #include <QtGui/QLabel>
00025 #include <QtGui/QPushButton>
00026 #include <QtGui/QRadioButton>
00027 #include <QtGui/QSpacerItem>
00028 #include <QtGui/QVBoxLayout>
00029
00030 QT_BEGIN_NAMESPACE
00031
00032 class Ui_QBPickStartDateUi
00033 {
00034 public:
00035 QVBoxLayout *vboxLayout;
00036 QLabel *textLabel1;
00037 Q3ButtonGroup *buttonGroup;
00038 QVBoxLayout *vboxLayout1;
00039 QRadioButton *noDateButton;
00040 QGridLayout *gridLayout;
00041 QLabel *lastUpdateLabel;
00042 QRadioButton *pickDateButton;
00043 Q3DateEdit *pickDateEdit;
00044 QRadioButton *firstDateButton;
00045 QLabel *firstDateLabel;
00046 QRadioButton *lastUpdateButton;
00047 QHBoxLayout *hboxLayout;
00048 QPushButton *helpButton;
00049 QSpacerItem *Horizontal_Spacing2;
00050 QPushButton *buttonOk;
00051 QPushButton *buttonCancel;
00052
00053 void setupUi(QDialog *QBPickStartDateUi)
00054 {
00055 if (QBPickStartDateUi->objectName().isEmpty())
00056 QBPickStartDateUi->setObjectName(QString::fromUtf8("QBPickStartDateUi"));
00057 QBPickStartDateUi->resize(487, 303);
00058 QBPickStartDateUi->setSizeGripEnabled(true);
00059 vboxLayout = new QVBoxLayout(QBPickStartDateUi);
00060 vboxLayout->setSpacing(6);
00061 vboxLayout->setMargin(11);
00062 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00063 textLabel1 = new QLabel(QBPickStartDateUi);
00064 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00065 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
00066 sizePolicy.setHorizontalStretch(0);
00067 sizePolicy.setVerticalStretch(0);
00068 sizePolicy.setHeightForWidth(textLabel1->sizePolicy().hasHeightForWidth());
00069 textLabel1->setSizePolicy(sizePolicy);
00070 textLabel1->setWordWrap(false);
00071
00072 vboxLayout->addWidget(textLabel1);
00073
00074 buttonGroup = new Q3ButtonGroup(QBPickStartDateUi);
00075 buttonGroup->setObjectName(QString::fromUtf8("buttonGroup"));
00076 buttonGroup->setColumnLayout(0, Qt::Vertical);
00077 buttonGroup->layout()->setSpacing(6);
00078 buttonGroup->layout()->setMargin(11);
00079 vboxLayout1 = new QVBoxLayout();
00080 QBoxLayout *boxlayout = qobject_cast<QBoxLayout *>(buttonGroup->layout());
00081 if (boxlayout)
00082 boxlayout->addLayout(vboxLayout1);
00083 vboxLayout1->setAlignment(Qt::AlignTop);
00084 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00085 noDateButton = new QRadioButton(buttonGroup);
00086 noDateButton->setObjectName(QString::fromUtf8("noDateButton"));
00087
00088 vboxLayout1->addWidget(noDateButton);
00089
00090 gridLayout = new QGridLayout();
00091 gridLayout->setSpacing(6);
00092 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00093 lastUpdateLabel = new QLabel(buttonGroup);
00094 lastUpdateLabel->setObjectName(QString::fromUtf8("lastUpdateLabel"));
00095 lastUpdateLabel->setFrameShape(QFrame::Panel);
00096 lastUpdateLabel->setFrameShadow(QFrame::Sunken);
00097 lastUpdateLabel->setWordWrap(false);
00098
00099 gridLayout->addWidget(lastUpdateLabel, 0, 1, 1, 1);
00100
00101 pickDateButton = new QRadioButton(buttonGroup);
00102 pickDateButton->setObjectName(QString::fromUtf8("pickDateButton"));
00103 pickDateButton->setChecked(true);
00104
00105 gridLayout->addWidget(pickDateButton, 2, 0, 1, 1);
00106
00107 pickDateEdit = new Q3DateEdit(buttonGroup);
00108 pickDateEdit->setObjectName(QString::fromUtf8("pickDateEdit"));
00109 pickDateEdit->setAutoAdvance(true);
00110
00111 gridLayout->addWidget(pickDateEdit, 2, 1, 1, 1);
00112
00113 firstDateButton = new QRadioButton(buttonGroup);
00114 firstDateButton->setObjectName(QString::fromUtf8("firstDateButton"));
00115
00116 gridLayout->addWidget(firstDateButton, 1, 0, 1, 1);
00117
00118 firstDateLabel = new QLabel(buttonGroup);
00119 firstDateLabel->setObjectName(QString::fromUtf8("firstDateLabel"));
00120 firstDateLabel->setFrameShape(QFrame::Panel);
00121 firstDateLabel->setFrameShadow(QFrame::Sunken);
00122 firstDateLabel->setWordWrap(false);
00123
00124 gridLayout->addWidget(firstDateLabel, 1, 1, 1, 1);
00125
00126 lastUpdateButton = new QRadioButton(buttonGroup);
00127 lastUpdateButton->setObjectName(QString::fromUtf8("lastUpdateButton"));
00128
00129 gridLayout->addWidget(lastUpdateButton, 0, 0, 1, 1);
00130
00131
00132 vboxLayout1->addLayout(gridLayout);
00133
00134
00135 vboxLayout->addWidget(buttonGroup);
00136
00137 hboxLayout = new QHBoxLayout();
00138 hboxLayout->setSpacing(6);
00139 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00140 helpButton = new QPushButton(QBPickStartDateUi);
00141 helpButton->setObjectName(QString::fromUtf8("helpButton"));
00142 helpButton->setAutoDefault(false);
00143 helpButton->setDefault(false);
00144
00145 hboxLayout->addWidget(helpButton);
00146
00147 Horizontal_Spacing2 = new QSpacerItem(140, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00148
00149 hboxLayout->addItem(Horizontal_Spacing2);
00150
00151 buttonOk = new QPushButton(QBPickStartDateUi);
00152 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
00153 buttonOk->setAutoDefault(true);
00154 buttonOk->setDefault(true);
00155
00156 hboxLayout->addWidget(buttonOk);
00157
00158 buttonCancel = new QPushButton(QBPickStartDateUi);
00159 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
00160 buttonCancel->setAutoDefault(false);
00161
00162 hboxLayout->addWidget(buttonCancel);
00163
00164
00165 vboxLayout->addLayout(hboxLayout);
00166
00167 QWidget::setTabOrder(noDateButton, lastUpdateButton);
00168 QWidget::setTabOrder(lastUpdateButton, firstDateButton);
00169 QWidget::setTabOrder(firstDateButton, pickDateButton);
00170 QWidget::setTabOrder(pickDateButton, pickDateEdit);
00171 QWidget::setTabOrder(pickDateEdit, helpButton);
00172 QWidget::setTabOrder(helpButton, buttonOk);
00173 QWidget::setTabOrder(buttonOk, buttonCancel);
00174
00175 retranslateUi(QBPickStartDateUi);
00176 QObject::connect(buttonOk, SIGNAL(clicked()), QBPickStartDateUi, SLOT(accept()));
00177 QObject::connect(buttonCancel, SIGNAL(clicked()), QBPickStartDateUi, SLOT(reject()));
00178
00179 QMetaObject::connectSlotsByName(QBPickStartDateUi);
00180 }
00181
00182 void retranslateUi(QDialog *QBPickStartDateUi)
00183 {
00184 QBPickStartDateUi->setWindowTitle(QApplication::translate("QBPickStartDateUi", "Pick Start Date", 0, QApplication::UnicodeUTF8));
00185 textLabel1->setText(QApplication::translate("QBPickStartDateUi", "<qt>\n"
00186 "<p>\n"
00187 "Please select the first date for which transactions are to be retrieved.\n"
00188 "</p>\n"
00189 "<p>\n"
00190 "If you specify no date then the bank will choose one.\n"
00191 "</p>\n"
00192 "</qt>", 0, QApplication::UnicodeUTF8));
00193 buttonGroup->setTitle(QApplication::translate("QBPickStartDateUi", "Start Date", 0, QApplication::UnicodeUTF8));
00194 noDateButton->setText(QApplication::translate("QBPickStartDateUi", "No date (let the bank determine the start date)", 0, QApplication::UnicodeUTF8));
00195 lastUpdateLabel->setText(QString());
00196 pickDateButton->setText(QApplication::translate("QBPickStartDateUi", "Pick date", 0, QApplication::UnicodeUTF8));
00197 firstDateButton->setText(QApplication::translate("QBPickStartDateUi", "First possible date", 0, QApplication::UnicodeUTF8));
00198 firstDateLabel->setText(QString());
00199 lastUpdateButton->setText(QApplication::translate("QBPickStartDateUi", "Last Update", 0, QApplication::UnicodeUTF8));
00200 helpButton->setText(QApplication::translate("QBPickStartDateUi", "Help", 0, QApplication::UnicodeUTF8));
00201 helpButton->setShortcut(QString());
00202 buttonOk->setText(QApplication::translate("QBPickStartDateUi", "&OK", 0, QApplication::UnicodeUTF8));
00203 buttonOk->setShortcut(QString());
00204 buttonCancel->setText(QApplication::translate("QBPickStartDateUi", "&Cancel", 0, QApplication::UnicodeUTF8));
00205 buttonCancel->setShortcut(QString());
00206 Q_UNUSED(QBPickStartDateUi);
00207 }
00208
00209 };
00210
00211 namespace Ui {
00212 class QBPickStartDateUi: public Ui_QBPickStartDateUi {};
00213 }
00214
00215 QT_END_NAMESPACE
00216
00217 #endif // QBPICKSTARTDATE_H