[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kchart
From:       Kalle Dalheimer <kalle () kde ! org>
Date:       2003-08-25 19:24:00
[Download RAW message or body]

CVS commit by kalle: 

fonts working again


  M +10 -10    kchartColorConfigPage.cc   1.21
  M +96 -120   kchartFontConfigPage.cc   1.36


--- koffice/kchart/kchartFontConfigPage.cc  #1.35:1.36
@@ -61,27 +61,4 @@ void KChartFontConfigPage::initList()
   list->insertItem(i18n("Label"));
   list->setCurrentItem(0);
-
-
-  // PENDING(kalle) Assign legend colors
-  //   for( QStringList::Iterator it = _params->legend.begin();
-//        it != _params->legend.end(); ++it, num++ ) {
-//     if( num<12 )
-//       listColor->insertItem(*it);
-//     else {
-//       if( !noEnough ) {
-//      listColor->insertItem(i18n("Not enough color"));
-//      noEnough = true;
-//       }
-//     }
-//   }
-
-  // PENDING(kalle) Assign ExtColor
-//   listColor->setCurrentItem(0);
-//   for( unsigned int i = 0; i < _params->ExtColor.count(); i++ ) {
-//     if( i<12 )
-//       extColor.setColor(i,_params->ExtColor.color(i));
-//   }
-//   index = 0;
-//   colorButton->setColor( extColor.color(index));
 }
 
@@ -217,5 +194,4 @@ void KChartFontConfigPage::apply()
       rightparms.setAxisLabelsFontRelSize( yAxis.pointSize() );
     bottomparms.setAxisLabelsFont( xAxis, QButton::Off == xAxisIsRelative );
-//    qDebug( "Set bottom font size to %d",  xAxis.pointSize() );
     if( QButton::On == xAxisIsRelative )
       bottomparms.setAxisLabelsFontRelSize( xAxis.pointSize() );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic