Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Jani Honkonen
- Fri, 17 Feb 2012 10:58:19
Show More
0
src/chartdataset.cpp
src/chartdataset.cpp
+1
0
@@
-29,6
+29,7
void ChartDataSet::addSeries(QChartSeries* series)
29
{
29
{
30
// TODO: we should check the series not already added
30
// TODO: we should check the series not already added
31
m_chartSeries << series ;
31
m_chartSeries << series ;
32
series -> setParent ( this ); // take ownership
32
m_domainIndex = 0 ;
33
m_domainIndex = 0 ;
33
m_domains . resize ( 1 );
34
m_domains . resize ( 1 );
34
35
0
src/piechart/qpieseries.cpp
src/piechart/qpieseries.cpp
+1
-2
@@
-59,8
+59,7
QPieSeries::QPieSeries(QObject *parent) :
59
59
60
QPieSeries ::~ QPieSeries ()
60
QPieSeries ::~ QPieSeries ()
61
{
61
{
62
// slices destroyed by parent object
62
63
qDebug () << "~QPieSeries" ;
64
}
63
}
65
64
66
bool QPieSeries :: setData ( QList < qreal > data )
65
bool QPieSeries :: setData ( QList < qreal > data )
0
src/qchartview.cpp
src/qchartview.cpp
+1
-1
@@
-11,7
+11,7
QTCOMMERCIALCHART_BEGIN_NAMESPACE
11
11
12
QChartView :: QChartView ( QWidget * parent ) :
12
QChartView :: QChartView ( QWidget * parent ) :
13
QGraphicsView ( parent ),
13
QGraphicsView ( parent ),
14
m_scene ( new QGraphicsScene ()),
14
m_scene ( new QGraphicsScene ( this )),
15
m_chart ( new QChart ()),
15
m_chart ( new QChart ()),
16
m_rubberBand ( 0 ),
16
m_rubberBand ( 0 ),
17
m_verticalRubberBand ( false ),
17
m_verticalRubberBand ( false ),
0
src/qchartview.h
src/qchartview.h
+1
-1
@@
-24,7
+24,7
public:
24
//implement from QWidget
24
//implement from QWidget
25
void resizeEvent ( QResizeEvent * event );
25
void resizeEvent ( QResizeEvent * event );
26
26
27
void addSeries ( QChartSeries * series );
27
void addSeries ( QChartSeries * series ); // takes ownership
28
28
29
// Convenience function
29
// Convenience function
30
QChartSeries * createSeries ( QChartSeries :: QChartSeriesType type );
30
QChartSeries * createSeries ( QChartSeries :: QChartSeriesType type );
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages