summaryrefslogtreecommitdiff
path: root/client/expandbutton.cc
diff options
context:
space:
mode:
authorLars Bisballe Jensen <larsbisballe@gmail.com>2011-10-14 12:16:04 +0200
committerLars Bisballe Jensen <larsbisballe@gmail.com>2011-10-14 12:16:04 +0200
commit72f0e057dd754e6d9ca0f5e587e88c4ac59e61b2 (patch)
treebbfb5b2292bebb98d25ca03f3af0bf9ea9fcee53 /client/expandbutton.cc
parentfe036e4c0f3639dff146d0af3a17234282e38dea (diff)
Removed text from expand button and added hover and focus styles
Diffstat (limited to 'client/expandbutton.cc')
-rw-r--r--client/expandbutton.cc17
1 files changed, 2 insertions, 15 deletions
diff --git a/client/expandbutton.cc b/client/expandbutton.cc
index 13e44bf..124661a 100644
--- a/client/expandbutton.cc
+++ b/client/expandbutton.cc
@@ -31,19 +31,6 @@
ExpandButton::ExpandButton(QWidget * parent)
: QPushButton(parent)
{
-
-}
-
-void ExpandButton::focusInEvent(QFocusEvent * event)
-{
- if (event) {
- }
- setStyleSheet("background-color: blue");
-}
-
-void ExpandButton::focusOutEvent(QFocusEvent * event)
-{
- if (event) {
- }
- setStyleSheet("background-color:");
+ setStyleSheet(":focus{ background-color: #2199e8; }"
+ ":hover{ background-color: #2199e8; }");
}