From 5b42149f443901d2fbbd8eb7861dba284d3ed416 Mon Sep 17 00:00:00 2001 From: Lars Bisballe Jensen Date: Fri, 14 Oct 2011 12:13:08 +0200 Subject: Rearranged the template startup gui --- client/template.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client') 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())); -- cgit v1.2.3