summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-12 23:03:17 (UTC)
committer zautrix <zautrix>2005-06-12 23:03:17 (UTC)
commitc4ebf56feb36302b61b9c5ca6af97626812427b8 (patch) (unidiff)
tree356218d3d86d9f3653a7335087891d031e41fba2
parent5e4f16e92a96bdf89f82be3b231d18ae9e257486 (diff)
downloadkdepimpi-c4ebf56feb36302b61b9c5ca6af97626812427b8.zip
kdepimpi-c4ebf56feb36302b61b9c5ca6af97626812427b8.tar.gz
kdepimpi-c4ebf56feb36302b61b9c5ca6af97626812427b8.tar.bz2
fixx
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kofilterview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp
index d79b28e..2dd4567 100644
--- a/korganizer/kofilterview.cpp
+++ b/korganizer/kofilterview.cpp
@@ -230,25 +230,25 @@ void KOCalEditView::readConfig()
230{ 230{
231 231
232 mStdandardB.clear(); 232 mStdandardB.clear();
233 mEnabledB.clear(); 233 mEnabledB.clear();
234 mAlarmB.clear(); 234 mAlarmB.clear();
235 mROB.clear(); 235 mROB.clear();
236 236
237 if ( mw ) delete mw; 237 if ( mw ) delete mw;
238 mw = new QWidget ( this ); 238 mw = new QWidget ( this );
239 ml->addWidget ( mw ); 239 ml->addWidget ( mw );
240 240
241 mainLayout = new QGridLayout ( mw , 2, 8 ); 241 mainLayout = new QGridLayout ( mw , 2, 8 );
242 mainLayout->setSpacing( 3 ); 242 //mainLayout->setSpacing( 3 );
243 QPushButton * addBut = new QPushButton ( mw ); 243 QPushButton * addBut = new QPushButton ( mw );
244 mainLayout->addWidget( addBut,0,0 ); 244 mainLayout->addWidget( addBut,0,0 );
245 addBut->setPixmap ( SmallIcon("plus")); 245 addBut->setPixmap ( SmallIcon("plus"));
246 connect(addBut,SIGNAL(clicked()),SLOT(addCal())); 246 connect(addBut,SIGNAL(clicked()),SLOT(addCal()));
247 addBut->setMaximumWidth( addBut->sizeHint().height() ); 247 addBut->setMaximumWidth( addBut->sizeHint().height() );
248 248
249 addBut = new QPushButton ( mw ); 249 addBut = new QPushButton ( mw );
250 mainLayout->addWidget( addBut,0,1 ); 250 mainLayout->addWidget( addBut,0,1 );
251 addBut->setPixmap ( SmallIcon("eye")); 251 addBut->setPixmap ( SmallIcon("eye"));
252 connect(addBut,SIGNAL(clicked()),SLOT(enableAll())); 252 connect(addBut,SIGNAL(clicked()),SLOT(enableAll()));
253 addBut->setMaximumWidth( addBut->sizeHint().height() ); 253 addBut->setMaximumWidth( addBut->sizeHint().height() );
254 254
@@ -310,25 +310,25 @@ void KOCalEditView::readConfig()
310 KColorButton *colb = new KColorButton( mw ); 310 KColorButton *colb = new KColorButton( mw );
311 mainLayout->addWidget( colb,row,5 ); 311 mainLayout->addWidget( colb,row,5 );
312 colb->setID( kkf->mCalNumber ); 312 colb->setID( kkf->mCalNumber );
313 colb->setColor( kkf->mDefaultColor ); 313 colb->setColor( kkf->mDefaultColor );
314 connect (colb, SIGNAL (changedID(const QColor&, int )), SLOT ( setColor(const QColor&,int) ) ); 314 connect (colb, SIGNAL (changedID(const QColor&, int )), SLOT ( setColor(const QColor&,int) ) );
315 if ( row > 1) { 315 if ( row > 1) {
316 KOCalButton* calb = new KOCalButton( mw ); 316 KOCalButton* calb = new KOCalButton( mw );
317 mainLayout->addWidget( calb,row,6 ); 317 mainLayout->addWidget( calb,row,6 );
318 calb->setNum( kkf->mCalNumber ); 318 calb->setNum( kkf->mCalNumber );
319 calb->setPixmap ( SmallIcon("minus")); 319 calb->setPixmap ( SmallIcon("minus"));
320 connect (calb, SIGNAL (selectNum(int)), SLOT ( deleteCal(int) ) ); 320 connect (calb, SIGNAL (selectNum(int)), SLOT ( deleteCal(int) ) );
321 int hei = calb->sizeHint().height(); 321 int hei = calb->sizeHint().height();
322 calb->setMaximumSize( hei*9/10, hei*9/10 ); 322 //calb->setMaximumSize( hei*9/10, hei*9/10 );
323 } 323 }
324 ++row; 324 ++row;
325 kkf = KOPrefs::instance()->mCalendars.next(); 325 kkf = KOPrefs::instance()->mCalendars.next();
326 } 326 }
327 lab = new QLabel ( "", mw ); 327 lab = new QLabel ( "", mw );
328 mainLayout->addWidget( lab,row,0 ); 328 mainLayout->addWidget( lab,row,0 );
329 mw->show(); 329 mw->show();
330 330
331} 331}
332void KOCalEditView::addCal() 332void KOCalEditView::addCal()
333{ 333{
334 qDebug("addcal "); 334 qDebug("addcal ");