summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Bisballe Jensen <larsbisballe@gmail.com>2011-10-14 12:13:08 +0200
committerLars Bisballe Jensen <larsbisballe@gmail.com>2011-10-14 12:13:08 +0200
commit5b42149f443901d2fbbd8eb7861dba284d3ed416 (patch)
tree177fd8c8e5f36ce6272796a2aebdeff1b18ad6ba
parent75e693137772af19ddfcc409350c720ac3bbeaef (diff)
Rearranged the template startup gui
-rw-r--r--client/template.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/template.cc b/client/template.cc
index 4ffd4ac..a5c4715 100644
--- a/client/template.cc
+++ b/client/template.cc
@@ -43,7 +43,6 @@ Template::Template(NetCom &n)
l->addStretch();
templ = new QLabel();
- templ->setAlignment(Qt::AlignHCenter);
QFont font = templ->font();
font.setBold(true);
font.setPointSize(font.pointSize() * 1.5);
@@ -52,7 +51,9 @@ Template::Template(NetCom &n)
l->addStretch();
- QPushButton *btn = new QPushButton("Open");
+ QPushButton *btn = new QPushButton(tr("Open"));
+ btn->setIcon(QIcon(":icons/open.png"));
+ btn->setFixedSize(200,48);
l->addWidget(btn);
connect(btn, SIGNAL(clicked()), this, SLOT(open()));