00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef QBSELECTBANK_H
00011 #define QBSELECTBANK_H
00012
00013 #include <Qt3Support/Q3Frame>
00014 #include <Qt3Support/Q3GroupBox>
00015 #include <Qt3Support/Q3Header>
00016 #include <Qt3Support/Q3ListView>
00017 #include <Qt3Support/Q3MimeSourceFactory>
00018 #include <QtCore/QVariant>
00019 #include <QtGui/QAction>
00020 #include <QtGui/QApplication>
00021 #include <QtGui/QButtonGroup>
00022 #include <QtGui/QCheckBox>
00023 #include <QtGui/QDialog>
00024 #include <QtGui/QGridLayout>
00025 #include <QtGui/QHBoxLayout>
00026 #include <QtGui/QHeaderView>
00027 #include <QtGui/QLabel>
00028 #include <QtGui/QLineEdit>
00029 #include <QtGui/QPushButton>
00030 #include <QtGui/QSpacerItem>
00031 #include <QtGui/QVBoxLayout>
00032
00033 QT_BEGIN_NAMESPACE
00034
00035 class Ui_QBSelectBankUi
00036 {
00037 public:
00038 QVBoxLayout *vboxLayout;
00039 QGridLayout *gridLayout;
00040 QLabel *textLabel1;
00041 QHBoxLayout *hboxLayout;
00042 QLineEdit *bankCodeEdit;
00043 QLabel *textLabel1_2;
00044 QLineEdit *swiftCodeEdit;
00045 QLineEdit *locationEdit;
00046 QLabel *textLabel1_3;
00047 QLabel *textLabel1_4;
00048 QLineEdit *bankNameEdit;
00049 Q3GroupBox *groupBox15;
00050 QVBoxLayout *vboxLayout1;
00051 Q3ListView *bankListView;
00052 QCheckBox *onlineCheckBox;
00053 QHBoxLayout *hboxLayout1;
00054 QPushButton *helpButton;
00055 QSpacerItem *Horizontal_Spacing2;
00056 QPushButton *buttonOk;
00057 QPushButton *buttonCancel;
00058
00059 void setupUi(QDialog *QBSelectBankUi)
00060 {
00061 if (QBSelectBankUi->objectName().isEmpty())
00062 QBSelectBankUi->setObjectName(QString::fromUtf8("QBSelectBankUi"));
00063 QBSelectBankUi->resize(583, 479);
00064 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
00065 sizePolicy.setHorizontalStretch(0);
00066 sizePolicy.setVerticalStretch(0);
00067 sizePolicy.setHeightForWidth(QBSelectBankUi->sizePolicy().hasHeightForWidth());
00068 QBSelectBankUi->setSizePolicy(sizePolicy);
00069 QBSelectBankUi->setSizeGripEnabled(true);
00070 vboxLayout = new QVBoxLayout(QBSelectBankUi);
00071 vboxLayout->setSpacing(6);
00072 vboxLayout->setContentsMargins(11, 11, 11, 11);
00073 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00074 gridLayout = new QGridLayout();
00075 gridLayout->setSpacing(6);
00076 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00077 textLabel1 = new QLabel(QBSelectBankUi);
00078 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00079 textLabel1->setWordWrap(false);
00080
00081 gridLayout->addWidget(textLabel1, 2, 0, 1, 1);
00082
00083 hboxLayout = new QHBoxLayout();
00084 hboxLayout->setSpacing(6);
00085 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00086 bankCodeEdit = new QLineEdit(QBSelectBankUi);
00087 bankCodeEdit->setObjectName(QString::fromUtf8("bankCodeEdit"));
00088
00089 hboxLayout->addWidget(bankCodeEdit);
00090
00091 textLabel1_2 = new QLabel(QBSelectBankUi);
00092 textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
00093 textLabel1_2->setWordWrap(false);
00094
00095 hboxLayout->addWidget(textLabel1_2);
00096
00097 swiftCodeEdit = new QLineEdit(QBSelectBankUi);
00098 swiftCodeEdit->setObjectName(QString::fromUtf8("swiftCodeEdit"));
00099
00100 hboxLayout->addWidget(swiftCodeEdit);
00101
00102
00103 gridLayout->addLayout(hboxLayout, 0, 1, 1, 1);
00104
00105 locationEdit = new QLineEdit(QBSelectBankUi);
00106 locationEdit->setObjectName(QString::fromUtf8("locationEdit"));
00107
00108 gridLayout->addWidget(locationEdit, 2, 1, 1, 1);
00109
00110 textLabel1_3 = new QLabel(QBSelectBankUi);
00111 textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
00112 textLabel1_3->setWordWrap(false);
00113
00114 gridLayout->addWidget(textLabel1_3, 1, 0, 1, 1);
00115
00116 textLabel1_4 = new QLabel(QBSelectBankUi);
00117 textLabel1_4->setObjectName(QString::fromUtf8("textLabel1_4"));
00118 textLabel1_4->setWordWrap(false);
00119
00120 gridLayout->addWidget(textLabel1_4, 0, 0, 1, 1);
00121
00122 bankNameEdit = new QLineEdit(QBSelectBankUi);
00123 bankNameEdit->setObjectName(QString::fromUtf8("bankNameEdit"));
00124
00125 gridLayout->addWidget(bankNameEdit, 1, 1, 1, 1);
00126
00127
00128 vboxLayout->addLayout(gridLayout);
00129
00130 groupBox15 = new Q3GroupBox(QBSelectBankUi);
00131 groupBox15->setObjectName(QString::fromUtf8("groupBox15"));
00132 groupBox15->setColumnLayout(0, Qt::Vertical);
00133 groupBox15->layout()->setSpacing(6);
00134 groupBox15->layout()->setContentsMargins(11, 11, 11, 11);
00135 vboxLayout1 = new QVBoxLayout();
00136 QBoxLayout *boxlayout = qobject_cast<QBoxLayout *>(groupBox15->layout());
00137 if (boxlayout)
00138 boxlayout->addLayout(vboxLayout1);
00139 vboxLayout1->setAlignment(Qt::AlignTop);
00140 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00141 bankListView = new Q3ListView(groupBox15);
00142 bankListView->addColumn(QApplication::translate("QBSelectBankUi", "Bank Code", 0, QApplication::UnicodeUTF8));
00143 bankListView->header()->setClickEnabled(true, bankListView->header()->count() - 1);
00144 bankListView->header()->setResizeEnabled(true, bankListView->header()->count() - 1);
00145 bankListView->addColumn(QApplication::translate("QBSelectBankUi", "Bank Name", 0, QApplication::UnicodeUTF8));
00146 bankListView->header()->setClickEnabled(true, bankListView->header()->count() - 1);
00147 bankListView->header()->setResizeEnabled(true, bankListView->header()->count() - 1);
00148 bankListView->addColumn(QApplication::translate("QBSelectBankUi", "Location", 0, QApplication::UnicodeUTF8));
00149 bankListView->header()->setClickEnabled(true, bankListView->header()->count() - 1);
00150 bankListView->header()->setResizeEnabled(true, bankListView->header()->count() - 1);
00151 bankListView->addColumn(QApplication::translate("QBSelectBankUi", "BIC", 0, QApplication::UnicodeUTF8));
00152 bankListView->header()->setClickEnabled(true, bankListView->header()->count() - 1);
00153 bankListView->header()->setResizeEnabled(true, bankListView->header()->count() - 1);
00154 bankListView->addColumn(QApplication::translate("QBSelectBankUi", "Online Banking", 0, QApplication::UnicodeUTF8));
00155 bankListView->header()->setClickEnabled(true, bankListView->header()->count() - 1);
00156 bankListView->header()->setResizeEnabled(true, bankListView->header()->count() - 1);
00157 bankListView->setObjectName(QString::fromUtf8("bankListView"));
00158
00159 vboxLayout1->addWidget(bankListView);
00160
00161 onlineCheckBox = new QCheckBox(groupBox15);
00162 onlineCheckBox->setObjectName(QString::fromUtf8("onlineCheckBox"));
00163
00164 vboxLayout1->addWidget(onlineCheckBox);
00165
00166
00167 vboxLayout->addWidget(groupBox15);
00168
00169 hboxLayout1 = new QHBoxLayout();
00170 hboxLayout1->setSpacing(6);
00171 hboxLayout1->setContentsMargins(0, 0, 0, 0);
00172 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00173 helpButton = new QPushButton(QBSelectBankUi);
00174 helpButton->setObjectName(QString::fromUtf8("helpButton"));
00175 helpButton->setAutoDefault(true);
00176
00177 hboxLayout1->addWidget(helpButton);
00178
00179 Horizontal_Spacing2 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00180
00181 hboxLayout1->addItem(Horizontal_Spacing2);
00182
00183 buttonOk = new QPushButton(QBSelectBankUi);
00184 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
00185 buttonOk->setAutoDefault(true);
00186 buttonOk->setDefault(true);
00187
00188 hboxLayout1->addWidget(buttonOk);
00189
00190 buttonCancel = new QPushButton(QBSelectBankUi);
00191 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
00192 buttonCancel->setAutoDefault(true);
00193
00194 hboxLayout1->addWidget(buttonCancel);
00195
00196
00197 vboxLayout->addLayout(hboxLayout1);
00198
00199 QWidget::setTabOrder(bankCodeEdit, swiftCodeEdit);
00200 QWidget::setTabOrder(swiftCodeEdit, bankNameEdit);
00201 QWidget::setTabOrder(bankNameEdit, locationEdit);
00202 QWidget::setTabOrder(locationEdit, bankListView);
00203 QWidget::setTabOrder(bankListView, onlineCheckBox);
00204 QWidget::setTabOrder(onlineCheckBox, helpButton);
00205 QWidget::setTabOrder(helpButton, buttonOk);
00206 QWidget::setTabOrder(buttonOk, buttonCancel);
00207
00208 retranslateUi(QBSelectBankUi);
00209 QObject::connect(buttonOk, SIGNAL(clicked()), QBSelectBankUi, SLOT(accept()));
00210 QObject::connect(buttonCancel, SIGNAL(clicked()), QBSelectBankUi, SLOT(reject()));
00211
00212 QMetaObject::connectSlotsByName(QBSelectBankUi);
00213 }
00214
00215 void retranslateUi(QDialog *QBSelectBankUi)
00216 {
00217 QBSelectBankUi->setWindowTitle(QApplication::translate("QBSelectBankUi", "Select Bank", 0, QApplication::UnicodeUTF8));
00218 textLabel1->setText(QApplication::translate("QBSelectBankUi", "Location", 0, QApplication::UnicodeUTF8));
00219 textLabel1_2->setText(QApplication::translate("QBSelectBankUi", "SWIFT Code", 0, QApplication::UnicodeUTF8));
00220 textLabel1_3->setText(QApplication::translate("QBSelectBankUi", "Bank Name", 0, QApplication::UnicodeUTF8));
00221 textLabel1_4->setText(QApplication::translate("QBSelectBankUi", "Bank Code", 0, QApplication::UnicodeUTF8));
00222 groupBox15->setTitle(QApplication::translate("QBSelectBankUi", "Matching Banks", 0, QApplication::UnicodeUTF8));
00223 bankListView->header()->setLabel(0, QApplication::translate("QBSelectBankUi", "Bank Code", 0, QApplication::UnicodeUTF8));
00224 bankListView->header()->setLabel(1, QApplication::translate("QBSelectBankUi", "Bank Name", 0, QApplication::UnicodeUTF8));
00225 bankListView->header()->setLabel(2, QApplication::translate("QBSelectBankUi", "Location", 0, QApplication::UnicodeUTF8));
00226 bankListView->header()->setLabel(3, QApplication::translate("QBSelectBankUi", "BIC", 0, QApplication::UnicodeUTF8));
00227 bankListView->header()->setLabel(4, QApplication::translate("QBSelectBankUi", "Online Banking", 0, QApplication::UnicodeUTF8));
00228 onlineCheckBox->setText(QApplication::translate("QBSelectBankUi", "only banks with online banking", 0, QApplication::UnicodeUTF8));
00229 helpButton->setText(QApplication::translate("QBSelectBankUi", "&Help", 0, QApplication::UnicodeUTF8));
00230 helpButton->setShortcut(QApplication::translate("QBSelectBankUi", "F1", 0, QApplication::UnicodeUTF8));
00231 buttonOk->setText(QApplication::translate("QBSelectBankUi", "&OK", 0, QApplication::UnicodeUTF8));
00232 buttonOk->setShortcut(QString());
00233 buttonCancel->setText(QApplication::translate("QBSelectBankUi", "&Cancel", 0, QApplication::UnicodeUTF8));
00234 buttonCancel->setShortcut(QString());
00235 }
00236
00237 };
00238
00239 namespace Ui {
00240 class QBSelectBankUi: public Ui_QBSelectBankUi {};
00241 }
00242
00243 QT_END_NAMESPACE
00244
00245 #endif // QBSELECTBANK_H