Diffstat (limited to 'core/pim/today/todaybase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/todaybase.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index 74f4fa0..800ca5d 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp | |||
@@ -36,2 +36,4 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) | |||
36 | 36 | ||
37 | QVBoxLayout *mainLayout = new QVBoxLayout( this ); | ||
38 | |||
37 | QPalette pal = this->palette(); | 39 | QPalette pal = this->palette(); |
@@ -79,5 +81,5 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) | |||
79 | // Opiezilla | 81 | // Opiezilla |
80 | QLabel* Opiezilla = new QLabel( Frame, "OpieZilla"); | 82 | QLabel* Opiezilla = new QLabel( Frame, "OpieZilla" ); |
81 | Opiezilla->setPixmap( opiezilla ); | 83 | Opiezilla->setPixmap( opiezilla ); |
82 | Opiezilla->setGeometry( QApplication::desktop()->width()-50 ,1, 45, 47); | 84 | Opiezilla->setGeometry( QApplication::desktop()->width()-50 ,1, 45, 47 ); |
83 | Opiezilla->setBackgroundOrigin( QLabel::ParentOrigin ); | 85 | Opiezilla->setBackgroundOrigin( QLabel::ParentOrigin ); |
@@ -86,3 +88,3 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) | |||
86 | OwnerField = new OClickableLabel( this , "Owner" ); | 88 | OwnerField = new OClickableLabel( this , "Owner" ); |
87 | OwnerField->setGeometry( QRect( 0,0, this->width(), 12 )); | 89 | OwnerField->setGeometry( QRect( 0, 0, this->width(), 12 ) ); |
88 | OwnerField->setAlignment( int (QLabel::AlignTop | QLabel::AlignLeft ) ); | 90 | OwnerField->setAlignment( int (QLabel::AlignTop | QLabel::AlignLeft ) ); |
@@ -92,9 +94,5 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) | |||
92 | ConfigButton = new OClickableLabel ( Frame, "PushButton1" ); | 94 | ConfigButton = new OClickableLabel ( Frame, "PushButton1" ); |
93 | ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-80, 30, 25, 21 ) ); | 95 | ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-80, 30, 25, 21 ) ); |
94 | ConfigButton->setPixmap( config ); | 96 | ConfigButton->setPixmap( config ); |
95 | ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin ); | 97 | ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin ); |
96 | |||
97 | // -- layout -- | ||
98 | layout->addWidget( Frame ); | ||
99 | layout->addWidget( OwnerField ); | ||
100 | } | 98 | } |