From 72f0e057dd754e6d9ca0f5e587e88c4ac59e61b2 Mon Sep 17 00:00:00 2001 From: Lars Bisballe Jensen Date: Fri, 14 Oct 2011 12:16:04 +0200 Subject: Removed text from expand button and added hover and focus styles --- client/expandbutton.cc | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'client/expandbutton.cc') 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; }"); } -- cgit v1.2.3