00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef QBMAPACCOUNT_H
00011 #define QBMAPACCOUNT_H
00012
00013 #include <Qt3Support/Q3GroupBox>
00014 #include <QtCore/QVariant>
00015 #include <QtGui/QAction>
00016 #include <QtGui/QApplication>
00017 #include <QtGui/QButtonGroup>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QHeaderView>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QLineEdit>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QSpacerItem>
00025 #include <QtGui/QVBoxLayout>
00026 #include <q4banking/qbaccountlist.h>
00027
00028 QT_BEGIN_NAMESPACE
00029
00030 class Ui_QBMapAccountUi
00031 {
00032 public:
00033 QVBoxLayout *vboxLayout;
00034 QLabel *textLabel1;
00035 Q3GroupBox *groupBox1;
00036 QHBoxLayout *hboxLayout;
00037 QLabel *textLabel2;
00038 QLineEdit *bankCodeEdit;
00039 QLabel *textLabel2_2;
00040 QLineEdit *accountIdEdit;
00041 Q3GroupBox *accountBox;
00042 QHBoxLayout *hboxLayout1;
00043 QBAccountListView *accountList;
00044 QHBoxLayout *hboxLayout2;
00045 QPushButton *helpButton;
00046 QSpacerItem *spacer1;
00047 QPushButton *assignButton;
00048 QPushButton *abortButton;
00049
00050 void setupUi(QDialog *QBMapAccountUi)
00051 {
00052 if (QBMapAccountUi->objectName().isEmpty())
00053 QBMapAccountUi->setObjectName(QString::fromUtf8("QBMapAccountUi"));
00054 QBMapAccountUi->resize(747, 538);
00055 vboxLayout = new QVBoxLayout(QBMapAccountUi);
00056 vboxLayout->setSpacing(6);
00057 vboxLayout->setContentsMargins(11, 11, 11, 11);
00058 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00059 textLabel1 = new QLabel(QBMapAccountUi);
00060 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00061 textLabel1->setWordWrap(false);
00062
00063 vboxLayout->addWidget(textLabel1);
00064
00065 groupBox1 = new Q3GroupBox(QBMapAccountUi);
00066 groupBox1->setObjectName(QString::fromUtf8("groupBox1"));
00067 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum);
00068 sizePolicy.setHorizontalStretch(0);
00069 sizePolicy.setVerticalStretch(0);
00070 sizePolicy.setHeightForWidth(groupBox1->sizePolicy().hasHeightForWidth());
00071 groupBox1->setSizePolicy(sizePolicy);
00072 groupBox1->setColumnLayout(0, Qt::Vertical);
00073 groupBox1->layout()->setSpacing(6);
00074 groupBox1->layout()->setContentsMargins(11, 11, 11, 11);
00075 hboxLayout = new QHBoxLayout();
00076 QBoxLayout *boxlayout = qobject_cast<QBoxLayout *>(groupBox1->layout());
00077 if (boxlayout)
00078 boxlayout->addLayout(hboxLayout);
00079 hboxLayout->setAlignment(Qt::AlignTop);
00080 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00081 textLabel2 = new QLabel(groupBox1);
00082 textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00083 textLabel2->setWordWrap(false);
00084
00085 hboxLayout->addWidget(textLabel2);
00086
00087 bankCodeEdit = new QLineEdit(groupBox1);
00088 bankCodeEdit->setObjectName(QString::fromUtf8("bankCodeEdit"));
00089 bankCodeEdit->setReadOnly(true);
00090
00091 hboxLayout->addWidget(bankCodeEdit);
00092
00093 textLabel2_2 = new QLabel(groupBox1);
00094 textLabel2_2->setObjectName(QString::fromUtf8("textLabel2_2"));
00095 textLabel2_2->setWordWrap(false);
00096
00097 hboxLayout->addWidget(textLabel2_2);
00098
00099 accountIdEdit = new QLineEdit(groupBox1);
00100 accountIdEdit->setObjectName(QString::fromUtf8("accountIdEdit"));
00101 accountIdEdit->setReadOnly(true);
00102
00103 hboxLayout->addWidget(accountIdEdit);
00104
00105
00106 vboxLayout->addWidget(groupBox1);
00107
00108 accountBox = new Q3GroupBox(QBMapAccountUi);
00109 accountBox->setObjectName(QString::fromUtf8("accountBox"));
00110 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
00111 sizePolicy1.setHorizontalStretch(0);
00112 sizePolicy1.setVerticalStretch(0);
00113 sizePolicy1.setHeightForWidth(accountBox->sizePolicy().hasHeightForWidth());
00114 accountBox->setSizePolicy(sizePolicy1);
00115 accountBox->setColumnLayout(0, Qt::Vertical);
00116 accountBox->layout()->setSpacing(6);
00117 accountBox->layout()->setContentsMargins(11, 11, 11, 11);
00118 hboxLayout1 = new QHBoxLayout();
00119 QBoxLayout *boxlayout1 = qobject_cast<QBoxLayout *>(accountBox->layout());
00120 if (boxlayout1)
00121 boxlayout1->addLayout(hboxLayout1);
00122 hboxLayout1->setAlignment(Qt::AlignTop);
00123 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00124 accountList = new QBAccountListView(accountBox);
00125 accountList->setObjectName(QString::fromUtf8("accountList"));
00126
00127 hboxLayout1->addWidget(accountList);
00128
00129
00130 vboxLayout->addWidget(accountBox);
00131
00132 hboxLayout2 = new QHBoxLayout();
00133 hboxLayout2->setSpacing(6);
00134 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00135 helpButton = new QPushButton(QBMapAccountUi);
00136 helpButton->setObjectName(QString::fromUtf8("helpButton"));
00137
00138 hboxLayout2->addWidget(helpButton);
00139
00140 spacer1 = new QSpacerItem(326, 29, QSizePolicy::Expanding, QSizePolicy::Minimum);
00141
00142 hboxLayout2->addItem(spacer1);
00143
00144 assignButton = new QPushButton(QBMapAccountUi);
00145 assignButton->setObjectName(QString::fromUtf8("assignButton"));
00146
00147 hboxLayout2->addWidget(assignButton);
00148
00149 abortButton = new QPushButton(QBMapAccountUi);
00150 abortButton->setObjectName(QString::fromUtf8("abortButton"));
00151
00152 hboxLayout2->addWidget(abortButton);
00153
00154
00155 vboxLayout->addLayout(hboxLayout2);
00156
00157
00158 retranslateUi(QBMapAccountUi);
00159 QObject::connect(abortButton, SIGNAL(clicked()), QBMapAccountUi, SLOT(reject()));
00160 QObject::connect(assignButton, SIGNAL(clicked()), QBMapAccountUi, SLOT(accept()));
00161
00162 QMetaObject::connectSlotsByName(QBMapAccountUi);
00163 }
00164
00165 void retranslateUi(QDialog *QBMapAccountUi)
00166 {
00167 QBMapAccountUi->setWindowTitle(QApplication::translate("QBMapAccountUi", "Account Mapping", 0, QApplication::UnicodeUTF8));
00168 textLabel1->setText(QApplication::translate("QBMapAccountUi", "<qt>\n"
00169 "Please choose the <b>online</b> account you want the \n"
00170 "<b>application</b> account to be mapped to from the list below.\n"
00171 "</qt>", 0, QApplication::UnicodeUTF8));
00172 groupBox1->setTitle(QApplication::translate("QBMapAccountUi", "Application Account", 0, QApplication::UnicodeUTF8));
00173 textLabel2->setText(QApplication::translate("QBMapAccountUi", "Bank Code", 0, QApplication::UnicodeUTF8));
00174 textLabel2_2->setText(QApplication::translate("QBMapAccountUi", "Account Number", 0, QApplication::UnicodeUTF8));
00175 accountBox->setTitle(QApplication::translate("QBMapAccountUi", "Online Accounts", 0, QApplication::UnicodeUTF8));
00176 helpButton->setText(QApplication::translate("QBMapAccountUi", "Help", 0, QApplication::UnicodeUTF8));
00177 assignButton->setText(QApplication::translate("QBMapAccountUi", "Assign", 0, QApplication::UnicodeUTF8));
00178 abortButton->setText(QApplication::translate("QBMapAccountUi", "Abort", 0, QApplication::UnicodeUTF8));
00179 }
00180
00181 };
00182
00183 namespace Ui {
00184 class QBMapAccountUi: public Ui_QBMapAccountUi {};
00185 }
00186
00187 QT_END_NAMESPACE
00188
00189 #endif // QBMAPACCOUNT_H