author | zautrix <zautrix> | 2005-06-25 03:05:53 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-25 03:05:53 (UTC) |
commit | 5ee9f9bbbdfaa8c1bf9c07ce295fe3a6b0b49c98 (patch) (unidiff) | |
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 | 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() | |||
233 | mainLayout = new QGridLayout ( mw , 2, 8 ); | 233 | mainLayout = new QGridLayout ( mw , 2, 8 ); |
234 | mainLayout->setMargin( 2 ); | 234 | mainLayout->setMargin( 2 ); |
235 | mainLayout->setSpacing( 2 ); | 235 | mainLayout->setSpacing( 2 ); |
236 | QPushButton * addBut = new QPushButton ( mw ); | 236 | QPushButton * addBut = new QPushButton ( mw ); |
237 | addBut->setFocusPolicy(NoFocus); | 237 | addBut->setFocusPolicy(NoFocus); |
238 | mainLayout->addWidget( addBut,0,0 ); | 238 | mainLayout->addWidget( addBut,0,0 ); |
239 | addBut->setPixmap ( SmallIcon("plus")); | 239 | addBut->setPixmap ( SmallIcon("greenhook16")); |
240 | connect(addBut,SIGNAL(clicked()),SLOT(addCal())); | ||
241 | addBut->setMaximumWidth( addBut->sizeHint().height() ); | 240 | addBut->setMaximumWidth( addBut->sizeHint().height() ); |
242 | int max = addBut->sizeHint().height(); | 241 | int max = addBut->sizeHint().height(); |
243 | addBut = new QPushButton ( mw ); | 242 | addBut = new QPushButton ( mw ); |
244 | addBut->setFocusPolicy(NoFocus); | 243 | addBut->setFocusPolicy(NoFocus); |
245 | mainLayout->addWidget( addBut,0,++ii ); | 244 | mainLayout->addWidget( addBut,0,++ii ); |
246 | addBut->setPixmap ( SmallIcon("eye")); | 245 | addBut->setPixmap ( SmallIcon("eye")); |
@@ -262,19 +261,22 @@ void KOCalEditView::readConfig() | |||
262 | addBut = new QPushButton ( mw ); | 261 | addBut = new QPushButton ( mw ); |
263 | addBut->setFocusPolicy(NoFocus); | 262 | addBut->setFocusPolicy(NoFocus); |
264 | mainLayout->addWidget( addBut,0,++ii ); | 263 | mainLayout->addWidget( addBut,0,++ii ); |
265 | addBut->setPixmap ( SmallIcon("pencil")); | 264 | addBut->setPixmap ( SmallIcon("pencil")); |
266 | connect(addBut,SIGNAL(clicked()),SLOT(disableRO())); | 265 | connect(addBut,SIGNAL(clicked()),SLOT(disableRO())); |
267 | addBut->setMaximumWidth( addBut->sizeHint().height() ); | 266 | addBut->setMaximumWidth( addBut->sizeHint().height() ); |
268 | |||
269 | lab = new QLabel ( i18n(" Color "), mw ); | ||
270 | mainLayout->addWidget( lab,0,++ii ); | ||
271 | lab = new QLabel ( "", mw ); | 267 | lab = new QLabel ( "", mw ); |
272 | mainLayout->addWidget( lab,0,++ii ); | 268 | mainLayout->addWidget( lab,0,++ii ); |
273 | lab->setMaximumWidth( max+4 ); | 269 | |
274 | lab = new QLabel ( "", mw ); | 270 | addBut = new QPushButton ( mw ); |
271 | addBut->setFocusPolicy(NoFocus); | ||
272 | mainLayout->addWidget( addBut,0,++ii ); | ||
273 | addBut->setPixmap ( SmallIcon("plus")); | ||
274 | connect(addBut,SIGNAL(clicked()),SLOT(addCal())); | ||
275 | |||
276 | lab = new QLabel ( " ", mw ); | ||
275 | mainLayout->addWidget( lab,0,++ii ); | 277 | mainLayout->addWidget( lab,0,++ii ); |
276 | 278 | ||
277 | 279 | ||
278 | #if 0 | 280 | #if 0 |
279 | addBut = new QPushButton ( mw ); | 281 | addBut = new QPushButton ( mw ); |
280 | mainLayout->addWidget( addBut,0,6 ); | 282 | mainLayout->addWidget( addBut,0,6 ); |