summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorLars Bisballe Jensen <larsbisballe@gmail.com>2011-11-08 11:19:36 +0100
committerLars Bisballe Jensen <larsbisballe@gmail.com>2011-11-08 11:19:36 +0100
commit26ed6eb9f654671843cafc88d0682288e2c2b491 (patch)
treeae41c7ba615b862c772c30abc3152e157de82c61 /client
parent4eb60c04c87438f9e9ac5957980989fe46c39550 (diff)
template button now has focus and hover color
Diffstat (limited to 'client')
-rw-r--r--client/template.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/template.cc b/client/template.cc
index b3b1d5b..56e5565 100644
--- a/client/template.cc
+++ b/client/template.cc
@@ -52,6 +52,8 @@ Template::Template(NetCom &n)
l->addSpacing(10);
QPushButton *btn = new QPushButton(tr("Open"));
+ btn->setStyleSheet(":focus{ background-color: #2199e8; }"
+ ":hover{ background-color: #2199e8; }");
btn->setIcon(QIcon(":icons/open.png"));
btn->setFixedSize(200,48);
l->addWidget(btn);