summaryrefslogtreecommitdiffstats
path: root/pica-client/dialogs/registeraccountdialog.cpp
diff options
context:
space:
mode:
authorme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2012-07-19 20:04:37 +0000
committerme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2012-07-19 20:04:37 +0000
commitf190872a4ab94577d1d9db343c0ca7643f40eae6 (patch)
treea73b441340607e97f93145fdfc6cb728faaf2ada /pica-client/dialogs/registeraccountdialog.cpp
parentcfc254c538e57927e651f0192688f8445d8656bf (diff)
downloadpica-pica-f190872a4ab94577d1d9db343c0ca7643f40eae6.tar.gz
pica-pica-f190872a4ab94577d1d9db343c0ca7643f40eae6.zip
RegisterAccountDialog
git-svn-id: svn://localhost/project_picapica/trunk@149 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/dialogs/registeraccountdialog.cpp')
-rw-r--r--pica-client/dialogs/registeraccountdialog.cpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/pica-client/dialogs/registeraccountdialog.cpp b/pica-client/dialogs/registeraccountdialog.cpp
new file mode 100644
index 0000000..b091a5f
--- /dev/null
+++ b/pica-client/dialogs/registeraccountdialog.cpp
@@ -0,0 +1,35 @@
+#include "registeraccountdialog.h"
+#include <QVBoxLayout>
+
+RegisterAccountDialog::RegisterAccountDialog(QWidget *parent) :
+ QDialog(parent)
+{
+ QVBoxLayout *layout = new QVBoxLayout(this);
+
+ QLabel *lbNickname = new QLabel(tr("Name:"));
+ nickname = new QLineEdit();
+ btRegister = new QPushButton(tr("Register"));
+ lbStatus = new QLabel();
+ btOK = new QPushButton(tr("OK"));
+
+ layout->addWidget(lbNickname);
+ layout->addWidget(nickname);
+ layout->addWidget(btRegister);
+ layout->addWidget(lbStatus);
+ layout->addWidget(btOK);
+
+ setLayout(layout);
+
+ connect(btOK, SIGNAL(clicked()), this, SLOT(OK()));
+ connect(btRegister, SIGNAL(clicked()), this, SLOT(Register()));
+}
+
+void RegisterAccountDialog::OK()
+{
+ done(0);
+}
+
+void RegisterAccountDialog::Register()
+{
+
+}