diff options
-rw-r--r-- | client/template.cc | 5 |
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())); |