@@ -14,7 +14,6 SUBDIRS += \ | |||
|
14 | 14 | splinechart \ |
|
15 | 15 | stackedbarchart \ |
|
16 | 16 | stackedbarchartdrilldown \ |
|
17 | tablemodelchart \ | |
|
18 | 17 | zoomlinechart \ |
|
19 | 18 | modeldata |
|
20 | 19 |
|
1 | NO CONTENT: modified file |
|
1 | NO CONTENT: modified file |
@@ -110,9 +110,15 void XYChartItem::handlePointAdded(int index) | |||
|
110 | 110 | QPointF point; |
|
111 | 111 | if (m_series->model()) { |
|
112 | 112 | point = calculateGeometryPoint(index - m_series->mapFirst()); |
|
113 | if (index < m_series->mapFirst()) { | |
|
114 | points.insert(0, point); | |
|
115 | updateLayout(m_points, points, 0); | |
|
116 | } | |
|
117 | else { | |
|
113 | 118 | points.insert(index - m_series->mapFirst(), point); |
|
114 | 119 | updateLayout(m_points, points, index - m_series->mapFirst()); |
|
115 | 120 | } |
|
121 | } | |
|
116 | 122 | else { |
|
117 | 123 | // this checks do not work correctly if model is set |
|
118 | 124 | Q_ASSERT(index<m_series->count()); |
|
1 | NO CONTENT: file renamed from examples/tablemodelchart/customtablemodel.cpp to test/tablemodelchart/customtablemodel.cpp |
|
1 | NO CONTENT: file renamed from examples/tablemodelchart/customtablemodel.h to test/tablemodelchart/customtablemodel.h |
|
1 | NO CONTENT: file renamed from examples/tablemodelchart/main.cpp to test/tablemodelchart/main.cpp |
@@ -1,11 +1,5 | |||
|
1 | #------------------------------------------------- | |
|
2 | # | |
|
3 | # Project created by QtCreator 2012-03-08T14:30:24 | |
|
4 | # | |
|
5 | #------------------------------------------------- | |
|
6 | ||
|
7 | !include( ../examples.pri ) { | |
|
8 | error( "Couldn't find the examples.pri file!" ) | |
|
1 | !include( ../test.pri ) { | |
|
2 | error( "Couldn't find the test.pri file!" ) | |
|
9 | 3 | } |
|
10 | 4 | |
|
11 | 5 | QT += core gui |
|
1 | NO CONTENT: file renamed from examples/tablemodelchart/tablewidget.cpp to test/tablemodelchart/tablewidget.cpp |
|
1 | NO CONTENT: file renamed from examples/tablemodelchart/tablewidget.h to test/tablemodelchart/tablewidget.h |
General Comments 0
You need to be logged in to leave comments.
Login now