##// 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 m_chartMargins(QRect(m_marginBig,m_marginBig,0,0))
65 m_chartMargins(QRect(m_marginBig,m_marginBig,0,0))
66 {
66 {
67 createConnections();
67 createConnections();
68 setTheme(QChart::ChartThemeLight, false);
69 }
68 }
70
69
71 ChartPresenter::~ChartPresenter()
70 ChartPresenter::~ChartPresenter()
@@ -71,7 +71,7 d_ptr(new QChartPrivate())
71 d_ptr->m_legend = new QLegend(this);
71 d_ptr->m_legend = new QLegend(this);
72 d_ptr->m_dataset = new ChartDataSet(this);
72 d_ptr->m_dataset = new ChartDataSet(this);
73 d_ptr->m_presenter = new ChartPresenter(this,d_ptr->m_dataset);
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 //TODO:fix me setMinimumSize(d_ptr->m_padding.left() * 3, d_ptr->m_padding.top() * 3);
75 //TODO:fix me setMinimumSize(d_ptr->m_padding.left() * 3, d_ptr->m_padding.top() * 3);
76 connect(d_ptr->m_dataset,SIGNAL(seriesAdded(QSeries*,Domain*)),d_ptr->m_legend,SLOT(handleSeriesAdded(QSeries*,Domain*)));
76 connect(d_ptr->m_dataset,SIGNAL(seriesAdded(QSeries*,Domain*)),d_ptr->m_legend,SLOT(handleSeriesAdded(QSeries*,Domain*)));
77 connect(d_ptr->m_dataset,SIGNAL(seriesRemoved(QSeries*)),d_ptr->m_legend,SLOT(handleSeriesRemoved(QSeries*)));
77 connect(d_ptr->m_dataset,SIGNAL(seriesRemoved(QSeries*)),d_ptr->m_legend,SLOT(handleSeriesRemoved(QSeries*)));
@@ -117,7 +117,6 private:
117
117
118 private Q_SLOTS:
118 private Q_SLOTS:
119 void updateLayout();
119 void updateLayout();
120 void scroll();
121
120
122 private:
121 private:
123 qreal m_margin;
122 qreal m_margin;
General Comments 0
You need to be logged in to leave comments. Login now