summaryrefslogtreecommitdiff
path: root/core/pim/today/todaybase.cpp
Unidiff
Diffstat (limited to 'core/pim/today/todaybase.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/todaybase.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp
index 3d0bfb3..bc1651d 100644
--- a/core/pim/today/todaybase.cpp
+++ b/core/pim/today/todaybase.cpp
@@ -54,13 +54,12 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
54 // hehe, qt is ... 54 // hehe, qt is ...
55 getridoffuckingstrippeldlinesbutton = new QPushButton (this, "asdfsad" ); 55 getridoffuckingstrippeldlinesbutton = new QPushButton (this, "asdfsad" );
56 getridoffuckingstrippeldlinesbutton->setGeometry( QRect( -5, 10, 0, 0 ) ); 56 getridoffuckingstrippeldlinesbutton->setGeometry( QRect( -5, 10, 0, 0 ) );
57 57
58 QVBoxLayout * layout = new QVBoxLayout(this); 58 QVBoxLayout * layout = new QVBoxLayout(this);
59 59
60
61 QPalette pal = this->palette(); 60 QPalette pal = this->palette();
62 QColor col = pal.color(QPalette::Active, QColorGroup::Background); 61 QColor col = pal.color(QPalette::Active, QColorGroup::Background);
63 pal.setColor(QPalette::Active, QColorGroup::Button, col); 62 pal.setColor(QPalette::Active, QColorGroup::Button, col);
64 pal.setColor(QPalette::Inactive, QColorGroup::Button, col); 63 pal.setColor(QPalette::Inactive, QColorGroup::Button, col);
65 pal.setColor(QPalette::Normal, QColorGroup::Button, col); 64 pal.setColor(QPalette::Normal, QColorGroup::Button, col);
66 pal.setColor(QPalette::Disabled, QColorGroup::Button, col); 65 pal.setColor(QPalette::Disabled, QColorGroup::Button, col);
@@ -103,13 +102,13 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
103 QFont TextLabel1_font( TextLabel1->font() ); 102 QFont TextLabel1_font( TextLabel1->font() );
104 TextLabel1_font.setBold( TRUE ); 103 TextLabel1_font.setBold( TRUE );
105 TextLabel1->setFont( TextLabel1_font ); 104 TextLabel1->setFont( TextLabel1_font );
106 TextLabel1->setBackgroundOrigin( QLabel::ParentOrigin ); 105 TextLabel1->setBackgroundOrigin( QLabel::ParentOrigin );
107 TextLabel1->setTextFormat( RichText ); 106 TextLabel1->setTextFormat( RichText );
108 107
109 OwnerField = new QLabel(this , "Owner" ); 108 OwnerField = new OClickableLabel(this , "Owner" );
110 OwnerField->setGeometry(QRect(0,0, this->width(), 12 )); 109 OwnerField->setGeometry(QRect(0,0, this->width(), 12 ));
111 OwnerField->setAlignment(int (QLabel::AlignTop | QLabel::AlignLeft ) ); 110 OwnerField->setAlignment(int (QLabel::AlignTop | QLabel::AlignLeft ) );
112 OwnerField->setMaximumHeight(12); 111 OwnerField->setMaximumHeight(12);
113 112
114 // --- dates section --- 113 // --- dates section ---
115 Frame4 = new QFrame( this, "Frame4" ); 114 Frame4 = new QFrame( this, "Frame4" );