##// END OF EJS Templates
minor . Compilation fixes due to rebase
Michal Klocek -
r858:18a50cb1eb30
parent child
Show More
@@ -65,7 +65,6 ChartPresenter::ChartPresenter(QChart* chart,ChartDataSet* dataset):QObject(char
65 65 m_chartMargins(QRect(m_marginBig,m_marginBig,0,0))
66 66 {
67 67 createConnections();
68 setTheme(QChart::ChartThemeLight, false);
69 68 }
70 69
71 70 ChartPresenter::~ChartPresenter()
@@ -71,7 +71,7 d_ptr(new QChartPrivate())
71 71 d_ptr->m_legend = new QLegend(this);
72 72 d_ptr->m_dataset = new ChartDataSet(this);
73 73 d_ptr->m_presenter = new ChartPresenter(this,d_ptr->m_dataset);
74 d_ptr->m_presenter->setTheme(QChart::ChartThemeDefault,false);
74 d_ptr->m_presenter->setTheme(QChart::ChartThemeLight, false);
75 75 //TODO:fix me setMinimumSize(d_ptr->m_padding.left() * 3, d_ptr->m_padding.top() * 3);
76 76 connect(d_ptr->m_dataset,SIGNAL(seriesAdded(QSeries*,Domain*)),d_ptr->m_legend,SLOT(handleSeriesAdded(QSeries*,Domain*)));
77 77 connect(d_ptr->m_dataset,SIGNAL(seriesRemoved(QSeries*)),d_ptr->m_legend,SLOT(handleSeriesRemoved(QSeries*)));
@@ -117,7 +117,6 private:
117 117
118 118 private Q_SLOTS:
119 119 void updateLayout();
120 void scroll();
121 120
122 121 private:
123 122 qreal m_margin;
General Comments 0
You need to be logged in to leave comments. Login now