Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Jani Honkonen
- Mon, 03 Sep 2012 13:39:04
Show More
0
demos/chartinteractions/chart.cpp
demos/chartinteractions/chart.cpp
+1
-3
@@
-18,12
+18,10
18
18
**
19
19
****************************************************************************/
20
20
21
#include "chart.h"
21
22
#include <QValueAxis>
22
23
#include <QAbstractAxis>
23
24
#include <cmath>
24
#include <QDebug>
25
26
#include "chart.h"
27
25
28
26
Chart :: Chart ( QGraphicsItem * parent , Qt :: WindowFlags wFlags , QLineSeries * series )
29
27
: QChart ( parent , wFlags ), m_series ( series )
0
demos/chartinteractions/chartview.cpp
demos/chartinteractions/chartview.cpp
+1
-1
@@
-18,8
+18,8
18
18
**
19
19
****************************************************************************/
20
20
21
#include <QMouseEvent>
22
21
#include "chartview.h"
22
#include <QMouseEvent>
23
23
#include "chart.h"
24
24
25
25
ChartView :: ChartView ( Chart * chart , QWidget * parent ) :
0
demos/chartthemes/themewidget.h
demos/chartthemes/themewidget.h
+4
-3
0
examples/barmodelmapper/customtablemodel.h
examples/barmodelmapper/customtablemodel.h
+3
-3
@@
-18,8
+18,8
18
18
**
19
19
****************************************************************************/
20
20
21
#ifndef XYPOINTSMODEL_H
22
#define XYPOINTSMODEL_H
21
#ifndef CUSTOMTABLE MODEL_H
22
#define CUSTOMTABLE MODEL_H
23
23
24
24
#include <QAbstractTableModel>
25
25
#include <QHash>
@@
-48,4
+48,4
private:
48
48
int m_rowCount ;
49
49
};
50
50
51
#endif // XYPOINTSMODEL_H
51
#endif // CUSTOMTABLE MODEL_H
0
examples/modeldata/customtablemodel.h
examples/modeldata/customtablemodel.h
+3
-3
@@
-18,8
+18,8
18
18
**
19
19
****************************************************************************/
20
20
21
#ifndef XYPOINTSMODEL_H
22
#define XYPOINTSMODEL_H
21
#ifndef CUSTOMTABLE MODEL_H
22
#define CUSTOMTABLE MODEL_H
23
23
24
24
#include <QAbstractTableModel>
25
25
#include <QHash>
@@
-48,4
+48,4
private:
48
48
int m_rowCount ;
49
49
};
50
50
51
#endif // XYPOINTSMODEL_H
51
#endif // CUSTOMTABLE MODEL_H
0
examples/scatterinteractions/chartview.h
examples/scatterinteractions/chartview.h
+3
-3
@@
-18,8
+18,8
18
18
**
19
19
****************************************************************************/
20
20
21
#ifndef MAINWINDOW_H
22
#define MAINWINDOW_H
21
#ifndef CHARTVIE W_H
22
#define CHARTVIE W_H
23
23
24
24
#include <QChartGlobal>
25
25
#include <QChartView>
@@
-43,4
+43,4
private:
43
43
QScatterSeries * m_scatter2 ;
44
44
};
45
45
46
#endif // MAINWINDOW_H
46
#endif // CHARTVIE W_H
0
tests/auto/qabstractaxis/tst_qabstractaxis.h
tests/auto/qabstractaxis/tst_qabstractaxis.h
+2
-2
@@
-18,8
+18,8
18
18
**
19
19
****************************************************************************/
20
20
21
#ifndef TST_QABSTRACTSERIES_H
22
#define TST_QABSTRACTSERIES_H
21
#ifndef TST_QABSTRACTAXI S_H
22
#define TST_QABSTRACTAXI S_H
23
23
24
24
#include <QtTest/QtTest>
25
25
#include <tst_definitions.h>
0
tests/chartdesigner/engine.h
tests/chartdesigner/engine.h
+3
-3
@@
-18,8
+18,8
18
18
**
19
19
****************************************************************************/
20
20
21
#ifndef ENGINE_H_
22
#define ENGINE_H_
21
#ifndef ENGINE_H
22
#define ENGINE_H
23
23
24
24
#include <QObject>
25
25
#include <QAbstractSeries>
@@
-73,4
+73,4
private:
73
73
QMap < QAbstractSeries * , QList < QModelIndex > > m_seriesModelIndex ;
74
74
};
75
75
76
#endif /* ENGINE_H_ */
76
#endif /* ENGINE_H */
0
tests/wavechart/wavechart.cpp
tests/wavechart/wavechart.cpp
0
-2
@@
-53,9
+53,7
WaveChart::WaveChart(QChart* chart, QWidget* parent) :
53
53
QObject :: connect ( & m_timer , SIGNAL ( timeout ()), this , SLOT ( update ()));
54
54
m_timer . setInterval ( 5000 );
55
55
m_timer . start ();
56
57
56
}
58
;
59
57
60
58
void WaveChart :: update ()
61
59
{
0
tests/wavechart/wavechart.h
tests/wavechart/wavechart.h
+5
0
@@
-18,6
+18,9
18
18
**
19
19
****************************************************************************/
20
20
21
#ifndef WAVECHART_H
22
#define WAVECHART_H
23
21
24
#include <QTimer>
22
25
#include <QTime>
23
26
#include <QObject>
@@
-42,3
+45,5
private:
42
45
qreal m_step ;
43
46
QTimer m_timer ;
44
47
};
48
49
#endif
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