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