~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kchart/kdchart/src/KDChartRingDiagram_p.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    ~Private();
54
54
 
55
55
    Private( const Private& rhs ) :
56
 
        AbstractPieDiagram::Private( rhs ),
57
 
        relativeThickness( rhs.relativeThickness )
 
56
        AbstractPieDiagram::Private( rhs )
58
57
        {
 
58
            relativeThickness = rhs.relativeThickness;
 
59
            expandWhenExploded = rhs.expandWhenExploded;
59
60
        }
60
61
 
61
 
private:
 
62
protected:
 
63
    // this information needed temporarily at drawing time
 
64
    QVector< QVector < qreal > > startAngles;
 
65
    QVector< QVector < qreal > > angleLens;
 
66
    QRectF position;
 
67
    qreal size;
62
68
    bool relativeThickness;
 
69
    bool expandWhenExploded;
 
70
    // polygons associated to their 3d depth
 
71
    QMap<qreal, QPolygon> polygonsToRender;
63
72
};
64
73
 
65
74
KDCHART_IMPL_DERIVED_DIAGRAM( RingDiagram, AbstractPieDiagram, PolarCoordinatePlane )