##// END OF EJS Templates
Added a couple of todo comments
Tero Ahola -
r7:a317065461d9
parent child
Show More
@@ -19,6 +19,8 MainWidget::MainWidget(QWidget *parent) :
19 m_chartWidget->setColor(Qt::red);
19 m_chartWidget->setColor(Qt::red);
20
20
21 // Chart type
21 // Chart type
22 // TODO: How about multiple types?
23 // Should the type be a property of a graph instead of the chart?
22 QComboBox *chartTypeCombo = new QComboBox(this);
24 QComboBox *chartTypeCombo = new QComboBox(this);
23 chartTypeCombo->addItem("Line");
25 chartTypeCombo->addItem("Line");
24 chartTypeCombo->addItem("Area");
26 chartTypeCombo->addItem("Area");
@@ -42,6 +44,7 MainWidget::MainWidget(QWidget *parent) :
42 this, SLOT(backgroundChanged(int)));
44 this, SLOT(backgroundChanged(int)));
43
45
44 // Axis
46 // Axis
47 // TODO: multiple axes?
45 QCheckBox *autoScaleCheck = new QCheckBox("Automatic scaling");
48 QCheckBox *autoScaleCheck = new QCheckBox("Automatic scaling");
46 connect(autoScaleCheck, SIGNAL(stateChanged(int)), this, SLOT(autoScaleChanged(int)));
49 connect(autoScaleCheck, SIGNAL(stateChanged(int)), this, SLOT(autoScaleChanged(int)));
47 // Allow setting also non-sense values (like -2147483648 and 2147483647)
50 // Allow setting also non-sense values (like -2147483648 and 2147483647)
General Comments 0
You need to be logged in to leave comments. Login now