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, 3 insertions, 13 deletions
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index ff6001a..5c1dc24 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp @@ -55,5 +55,5 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) int w=d->width(); int h=d->height(); - resize( w , h ); // not good, what happens on rotation + resize( w , h ); // hehe, qt is ... @@ -61,9 +61,5 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) getridoffuckingstrippeldlinesbutton->setGeometry( QRect( -5, 10, 0, 0 ) ); - - QVBoxLayout * layout = new QVBoxLayout(this); - - // --- logo Section --- @@ -122,13 +118,10 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) // --- mail section --- MailFrame = new QFrame( this ,"MailFrame" ); - //MailFrame->setPalette( pal ); MailFrame->setBackgroundOrigin( QScrollView::ParentOrigin ); - //MailFrame->setFrameShape( QScrollView::StyledPanel ); - //MailFrame->setFrameShadow( QScrollView::Sunken ); MailFrame->setGeometry (QRect( 0, 0, this->width() , 15) ); MailFrame->setFrameStyle( QFrame::NoFrame ); QFrame* Line1 = new QFrame( MailFrame); - Line1->setGeometry( QRect( 0, 0, MailFrame->width(), 5 ) ); + Line1->setGeometry( QRect( -5, 0, MailFrame->width()+5, 5 ) ); Line1->setFrameStyle( QFrame::HLine | QFrame::Sunken ); @@ -149,11 +142,9 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) // --- todo section -- Frame15 = new QFrame( this, "Frame15" ); - //Frame15->setFrameShape( QFrame::StyledPanel ); - //Frame15->setFrameShadow( QFrame::Sunken ); Frame15->setFrameStyle( QFrame::NoFrame ); Frame15->setGeometry (QRect( 40, 3, this->width() , this->height()) ); QFrame* Line2 = new QFrame( Frame15); - Line2->setGeometry( QRect( 0, 0, MailFrame->width(), 5 ) ); + Line2->setGeometry( QRect( -5, 0, MailFrame->width()+5, 5 ) ); Line2->setFrameStyle( QFrame::HLine | QFrame::Sunken ); @@ -172,5 +163,4 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) TodoField = new QLabel( sv2->viewport(), "TodoField" ); sv2->addChild(TodoField); - //TodoField->setGeometry( QRect( 40, 4, 196, 120 ) ); TodoField->setFrameShadow( QLabel::Plain ); //TodoField->setText( tr( "No current todos" ) ); |