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