[Kde-imaging] [Bug 116970] New calendar generator plugin features

Tom Albers tomalbers at kde.nl
Sun May 14 12:50:36 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=116970         




------- Additional Comments From tomalbers kde nl  2006-05-14 12:50 -------
SVN commit 540640 by toma:

Draw grid by default
CCBUG: 116970


 M  +9 -8      caltemplate.cpp  


--- trunk/extragear/libs/kipi-plugins/calendar/caltemplate.cpp #540639:540640
 @ -60,7 +60,7  @
     QGridLayout *mainLayout = new QGridLayout(this, 2, 1, 5, 5);
 
     // ----------------------------------------------------------------
-   
+
     QFrame *headerFrame = new QFrame( this );
     headerFrame->setFrameStyle(QFrame::Panel|QFrame::Sunken);
     QHBoxLayout* layout = new QHBoxLayout( headerFrame );
 @ -73,17 +73,17  @
     layout->addWidget( labelTitle );
     layout->setStretchFactor( labelTitle, 1 );
     mainLayout->addMultiCellWidget( headerFrame, 0, 0, 0, 1 );
-        
+
     QString directory;
     KGlobal::dirs()->addResourceType("kipi_banner_left", KGlobal::dirs()->kde_default("data") + "kipi/data");
     directory = KGlobal::dirs()->findResourceDir("kipi_banner_left", "banner_left.png");
-    
+
     pixmapLabelLeft->setPaletteBackgroundColor( QColor(201, 208, 255) );
     pixmapLabelLeft->setPixmap( QPixmap( directory + "banner_left.png" ) );
     labelTitle->setPaletteBackgroundColor( QColor(201, 208, 255) );
-    
+
     // ----------------------------------------------------------------
-    
+
     previewSize_ = 300;
 
     QGroupBox *boxPreview_ = new QGroupBox( i18n("Preview"), this );
 @ -147,6 +147,7  @
 
     checkBoxDrawLines_ = new QCheckBox(i18n("Draw lines in calendar"), gbox);
     gboxLayout->addWidget( checkBoxDrawLines_ );
+    checkBoxDrawLines_->setChecked(true);
 
     connect(checkBoxDrawLines_, SIGNAL(toggled(bool)),
             SLOT(slotParamsChanged()));
 @ -188,7 +189,7  @
     QFont f;
     comboFont_->setCurrentText( f.family() );
 
-    
+
     gboxLayout->addLayout( hlayout );
 
     connect(comboFont_, SIGNAL(activated(int)),
 @ -205,10 +206,10  @
     // ---------------------------------------------------------------
 
     timer_ = new QTimer(this);
-    
+
     connect(timer_, SIGNAL(timeout()),
             SLOT(slotUpdatePreview()));
-            
+
     timer_->start(0,true);
 }


More information about the Kde-imaging mailing list