##// END OF EJS Templates
missing #ifndef's in themes
missing #ifndef's in themes

File last commit:

r735:8b3d19ded350
r795:5d81932a6b14
Show More
tablewidget.h
45 lines | 882 B | text/x-c | CLexer
Marek Rosa
Table model data example
r519 #ifndef TABLEWIDGET_H
#define TABLEWIDGET_H
#include <QtGui/QWidget>
#include "qchartview.h"
Marek Rosa
Added support for adding and removing data with model. Updated the example
r545 #include "qxyseries.h"
Marek Rosa
Table model data example
r519
QTCOMMERCIALCHART_USE_NAMESPACE
Marek Rosa
Added support for adding and removing data with model. Updated the example
r545 class CustomTableModel;
class QTableView;
class QRadioButton;
Marek Rosa
Some more work on mapping with limits
r735 class QSpinBox;
Marek Rosa
Added support for adding and removing data with model. Updated the example
r545 //class QSeries;
Marek Rosa
Table model data example
r519 class TableWidget : public QWidget
{
Q_OBJECT
public:
TableWidget(QWidget *parent = 0);
~TableWidget();
Marek Rosa
Added support for adding and removing data with model. Updated the example
r545 public slots:
Marek Rosa
Model data example updated
r546 void addRowAbove();
void addRowBelow();
Marek Rosa
Added support for adding and removing data with model. Updated the example
r545 void removeRow();
void updateChartType();
Marek Rosa
Table model data example
r519
private:
QChartView* chartView;
Marek Rosa
Added support for adding and removing data with model. Updated the example
r545 QXYSeries* series;
CustomTableModel* m_model;
QTableView* tableView;
QRadioButton* lineRadioButton;
QRadioButton* splineRadioButton;
QRadioButton* scatterRadioButton;
Marek Rosa
Added data from model support to QPieSeries(modify, remove). Data from model example updated
r597 QRadioButton* pieRadioButton;
Marek Rosa
Added support for data from model to QBarSeries. Various fixes and small modifications to data from model support to other series
r630 QRadioButton* areaRadioButton;
QRadioButton* barRadioButton;
Marek Rosa
Some more work on mapping with limits
r735 QSpinBox* linesCountSpinBox;
Marek Rosa
Table model data example
r519 };
#endif // TABLEWIDGET_H