summaryrefslogtreecommitdiffstats
path: root/examples/charts/chartthemes/themewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/charts/chartthemes/themewidget.h')
-rw-r--r--examples/charts/chartthemes/themewidget.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/examples/charts/chartthemes/themewidget.h b/examples/charts/chartthemes/themewidget.h
index 5b31ab7c..e2e093ab 100644
--- a/examples/charts/chartthemes/themewidget.h
+++ b/examples/charts/chartthemes/themewidget.h
@@ -36,6 +36,7 @@
QT_BEGIN_NAMESPACE
class QComboBox;
class QCheckBox;
+class Ui_ThemeWidgetForm;
QT_END_NAMESPACE
QT_CHARTS_BEGIN_NAMESPACE
@@ -61,9 +62,9 @@ private Q_SLOTS:
private:
DataTable generateRandomData(int listCount, int valueMax, int valueCount) const;
- QComboBox *createThemeBox() const;
- QComboBox *createAnimationBox() const;
- QComboBox *createLegendBox() const;
+ void populateThemeBox();
+ void populateAnimationBox();
+ void populateLegendBox();
void connectSignals();
QChart *createAreaChart() const;
QChart *createBarChart(int valueCount) const;
@@ -79,10 +80,7 @@ private:
QList<QChartView *> m_charts;
DataTable m_dataTable;
- QComboBox *m_themeComboBox;
- QCheckBox *m_antialiasCheckBox;
- QComboBox *m_animatedComboBox;
- QComboBox *m_legendComboBox;
+ Ui_ThemeWidgetForm *m_ui;
};
#endif /* THEMEWIDGET_H */