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

List:       kde-commits
Subject:    koffice/kchart
From:       Inge Wallin <inge () lysator ! liu ! se>
Date:       2009-09-06 14:58:22
Message-ID: 1252249102.848458.28990.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1020541 by ingwa:

Make the TODO somewhat more up to date

 M  +7 -0      DESIGN  
 M  +8 -6      KChartView.cpp  
 M  +31 -15    TODO  


--- trunk/koffice/kchart/DESIGN #1020540:1020541
@@ -1,3 +1,10 @@
+NOTE:  THIS DOCUMENT IS VERY MUCH OUT OF DATE.
+       I WILL REWRITE IT WHEN I GET TIME.
+
+
+
+
+
                          Design of KChart 2.0
                          ====================
 
--- trunk/koffice/kchart/KChartView.cpp #1020540:1020541
@@ -1,7 +1,7 @@
 /* This file is part of the KDE project
 
    Copyright 1999-2007  Kalle Dalheimer <kalle@kde.org>
-   Copyright 2005-2007  Inge Wallin <inge@lysator.liu.se>
+   Copyright 2005-2009  Inge Wallin <inge@lysator.liu.se>
 
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public
@@ -20,9 +20,8 @@
 */
 
 
-// Local
+// Own
 #include "KChartView.h"
-#include "KChartPrintJob.h"
 
 // Qt
 #include <QFile>
@@ -71,6 +70,7 @@
 #include "KChartViewAdaptor.h"
 #include "KCPageLayout.h"
 #include "KCPrinterDialog.h"
+#include "KChartPrintJob.h"
 #include "ChartShape.h"
 #include "KChartCanvas.h"
 
@@ -78,6 +78,7 @@
 
 #include "commands/ChartTypeCommand.h"
 
+
 using namespace std;
 
 
@@ -171,8 +172,7 @@
 	
     // Disable some things if we can't change the data, e.g. because
     // we are inside another application that provides the data for us.
-    if ( !part->canChangeValue() )
-    {
+    if ( !part->canChangeValue() ) {
         m_edit->setEnabled( false );
         m_importData->setEnabled( false );
     }
@@ -186,7 +186,9 @@
 
 KChartView::~KChartView()
 {
-//     delete m_dcop;
+    delete m_dbus;
+
+    // FIXME: More deletions here?  There are lots of new's in the constructor.
 }
 
 
--- trunk/koffice/kchart/TODO #1020540:1020541
@@ -33,7 +33,7 @@
 !!      This purpose or the up-to-dateness of this subtask needs to be discussed
 
 
-Before release of KOffice 2.0.0
+Before release of KOffice 2.1.0
 ===============================
 
 Item                                                                   Status
@@ -57,20 +57,20 @@
      - line                                                             done
      - area                                                             done
      - (bars+lines)                                                     --
-     - circle (pie)                                                     --
+     - circle (pie)                                                     done
      - ring                                                             --
      - radar                                                            --
      - scatter                                                          josi
-     - stock                                                            --
-     - bubble                                                           josi
-     - gantt                                                            --
+     - stock                                                            N/A
+     - bubble                                                           N/A
+     - gantt                                                            N/A
   + Commands so that undo/redo will work                                ----
   + Make legend entries always update correctly                         ----
   + repaint outside of chart when legend orientation changes back       ----
   + show grid lines for x axis                                          ----
   + show warning text for unsupported chart types                       ----
   + remove "position and alignment" button in legend tab                ----
-  + Data Editor: Insert/Remove Row/Column                               ----
+  + Data Editor: Insert/Remove Row/Column                               done
   + fix (or remove?) "show frame" checkbox in legend tab                ----
 
 * OpenDocument 1.0 Support
@@ -79,6 +79,18 @@
   ----------------------------------------------------------------------------
   + Handle all chart types                                      DONE    DONE
      - Handle subtypes                                          --      done
+  + Handle special data unique to some types                    ----    ----
+    - Barchart                                                  --      --
+      bars / columns
+    - Line chart                                                --      --
+    - Area chart                                                --      --
+    - Scatter chart                                             --      --
+    - Circle chart                                              --      --
+    - Ring chart                                                --      --
+    - Radar chart                                               --      --
+    - Stock                                                     --      --
+    - Bubble                                                    --      --
+    - Gantt                                                     --      --
   + General (Title, subtitle, footer)				DONE	DONE
   + Plot area                                                   ----    ----
     - Data in rows / columns                                    --      done
@@ -100,21 +112,22 @@
      - Line chart                                                       done
      - Area chart                                                       done
      - Scatter chart                                                    done
-     - Pie chart (Circle)                                               done
+     - Circle chart                                                    done
      - Ring chart                                                       ----
      - Radar chart                                                      done
+       Subtype
   + General (Title, Subtitle, Footer) 					DONE
   + Plot area                                                           DONE
   + Datasets                                                            DONE
      - Color                                                            done
-  + Legend                                                              JOSI
+  + Legend                                                              ----
      - Title                                                            done
-     - Frame                                                            josi
+     - Frame                                                            --
      - Orientation                                                      done
      - Position                                                         done
      - "Bind to chart" Option                                           ----
-  + Data Editor                                                         INGE
-     - Insert/delete row/column                                         --
+  + Data Editor                                                         ----
+     - Insert/delete row/column                                         done
      - Close button                                                     --
 
 * External programs and embedding
@@ -129,18 +142,21 @@
   + KPresenter 								----
 
 * KDChart
-  + Lying bars                                                          DONE
-  + Ring chart                                                          JOSI
+  + Lying bars                                                          ----
+  + Ring chart                                                          ----
 
 
-Before release of KOffice 2.0.1
+Before release of KOffice 2.1.1
 -------------------------------
 
 
 
-Before release of KOffice 2.1.0
+Before release of KOffice 2.2.0
 ===============================
 
+Later
+=====
+
 * The KChart application
   + Make tools work                                                     DONE
   + Make the chart always be selected and the tool always active        ----
[prev in list] [next in list] [prev in thread] [next in thread] 

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