-rw-r--r-- | korganizer/kofilterview.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index ea53043..ce2880a 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp @@ -233,14 +233,13 @@ void KOCalEditView::readConfig() 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")); @@ -262,19 +261,22 @@ void KOCalEditView::readConfig() 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 ); - lab = new QLabel ( "", mw ); + + 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 ); |