author | zautrix <zautrix> | 2005-06-25 03:05:53 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-25 03:05:53 (UTC) |
commit | 5ee9f9bbbdfaa8c1bf9c07ce295fe3a6b0b49c98 (patch) (side-by-side diff) | |
tree | d3b86860b2e829853c1cdc982e95fdfb252cc5e1 /korganizer | |
parent | dcc7c9ed932ec2ef521aa04b929d0319f65c8bdc (diff) | |
download | kdepimpi-5ee9f9bbbdfaa8c1bf9c07ce295fe3a6b0b49c98.zip kdepimpi-5ee9f9bbbdfaa8c1bf9c07ce295fe3a6b0b49c98.tar.gz kdepimpi-5ee9f9bbbdfaa8c1bf9c07ce295fe3a6b0b49c98.tar.bz2 |
fixxx
-rw-r--r-- | korganizer/kofilterview.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index ea53043..ce2880a 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp @@ -227,26 +227,25 @@ void KOCalEditView::readConfig() mROB.clear(); if ( mw ) delete mw; mw = new QWidget ( viewport() ); addChild(mw); int ii = 0; mainLayout = new QGridLayout ( mw , 2, 8 ); mainLayout->setMargin( 2 ); mainLayout->setSpacing( 2 ); QPushButton * addBut = new QPushButton ( mw ); addBut->setFocusPolicy(NoFocus); mainLayout->addWidget( addBut,0,0 ); - addBut->setPixmap ( SmallIcon("plus")); - connect(addBut,SIGNAL(clicked()),SLOT(addCal())); + addBut->setPixmap ( SmallIcon("greenhook16")); addBut->setMaximumWidth( addBut->sizeHint().height() ); int max = addBut->sizeHint().height(); addBut = new QPushButton ( mw ); addBut->setFocusPolicy(NoFocus); mainLayout->addWidget( addBut,0,++ii ); addBut->setPixmap ( SmallIcon("eye")); connect(addBut,SIGNAL(clicked()),SLOT(enableAll())); addBut->setMaximumWidth( addBut->sizeHint().height() ); QLabel* lab = new QLabel (i18n(" Calendar \n Resource "), mw ); mainLayout->addWidget( lab,0,++ii ); //lab = new QLabel ( i18n(" "), mw ); @@ -256,30 +255,33 @@ void KOCalEditView::readConfig() addBut->setFocusPolicy(NoFocus); mainLayout->addWidget( addBut,0,++ii ); addBut->setPixmap ( SmallIcon("bell")); connect(addBut,SIGNAL(clicked()),SLOT(enableAlarm())); addBut->setMaximumWidth( addBut->sizeHint().height() ); addBut = new QPushButton ( mw ); addBut->setFocusPolicy(NoFocus); mainLayout->addWidget( addBut,0,++ii ); addBut->setPixmap ( SmallIcon("pencil")); connect(addBut,SIGNAL(clicked()),SLOT(disableRO())); addBut->setMaximumWidth( addBut->sizeHint().height() ); - - lab = new QLabel ( i18n(" Color "), mw ); - mainLayout->addWidget( lab,0,++ii ); lab = new QLabel ( "", mw ); mainLayout->addWidget( lab,0,++ii ); - lab->setMaximumWidth( max+4 ); + + addBut = new QPushButton ( mw ); + addBut->setFocusPolicy(NoFocus); + mainLayout->addWidget( addBut,0,++ii ); + addBut->setPixmap ( SmallIcon("plus")); + connect(addBut,SIGNAL(clicked()),SLOT(addCal())); + lab = new QLabel ( "", mw ); mainLayout->addWidget( lab,0,++ii ); #if 0 addBut = new QPushButton ( mw ); mainLayout->addWidget( addBut,0,6 ); addBut->setPixmap ( SmallIcon("minus")); connect(addBut,SIGNAL(clicked()),SLOT(deleteAll())); addBut->setMaximumWidth( addBut->sizeHint().height() ); #endif |