summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/todaybase.cpp17
1 files changed, 13 insertions, 4 deletions
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp
index c6ea11f..3d0bfb3 100644
--- a/core/pim/today/todaybase.cpp
+++ b/core/pim/today/todaybase.cpp
@@ -59,2 +59,11 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
59 59
60
61 QPalette pal = this->palette();
62 QColor col = pal.color(QPalette::Active, QColorGroup::Background);
63 pal.setColor(QPalette::Active, QColorGroup::Button, col);
64 pal.setColor(QPalette::Inactive, QColorGroup::Button, col);
65 pal.setColor(QPalette::Normal, QColorGroup::Button, col);
66 pal.setColor(QPalette::Disabled, QColorGroup::Button, col);
67 this->setPalette(pal);
68
60 // --- logo Section --- 69 // --- logo Section ---
@@ -123,3 +132,3 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
123 DatesButton->setBackgroundOrigin( QPushButton::WidgetOrigin ); 132 DatesButton->setBackgroundOrigin( QPushButton::WidgetOrigin );
124// DatesButton->setPalette( pal ); 133 DatesButton->setPalette( pal );
125 DatesButton->setPixmap( datebook ); 134 DatesButton->setPixmap( datebook );
@@ -139,3 +148,3 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
139 MailButton->setGeometry( QRect( 2, 3, 36, 19 ) ); 148 MailButton->setGeometry( QRect( 2, 3, 36, 19 ) );
140// MailButton->setPalette( pal ); 149 MailButton->setPalette( pal );
141 MailButton->setPixmap( mail ); 150 MailButton->setPixmap( mail );
@@ -161,3 +170,3 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
161 TodoButton->setGeometry( QRect( 2, 4, 36, 32 ) ); 170 TodoButton->setGeometry( QRect( 2, 4, 36, 32 ) );
162// TodoButton->setPalette( pal ); 171 TodoButton->setPalette( pal );
163 TodoButton->setPixmap( todo ); 172 TodoButton->setPixmap( todo );
@@ -180,3 +189,3 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
180 PushButton1->setPixmap( config ); 189 PushButton1->setPixmap( config );
181// PushButton1->setPalette( pal ); 190 PushButton1->setPalette( pal );
182 PushButton1->setAutoDefault( TRUE ); 191 PushButton1->setAutoDefault( TRUE );