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