KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
KDChartDatasetSelector.h
Go to the documentation of this file.
1/****************************************************************************
2**
3** This file is part of the KD Chart library.
4**
5** SPDX-FileCopyrightText: 2001 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: MIT
8**
9****************************************************************************/
10
11#ifndef KDCHARTDATASETSELECTOR_H
12#define KDCHARTDATASETSELECTOR_H
13
14#include <QFrame>
15
17
23QT_BEGIN_NAMESPACE
24namespace Ui {
25class DatasetSelector;
26}
27QT_END_NAMESPACE
32namespace KDChart {
33
34class KDCHART_EXPORT DatasetSelectorWidget : public QFrame
35{
36 Q_OBJECT
37
38public:
39 explicit DatasetSelectorWidget(QWidget *parent = nullptr);
40 ~DatasetSelectorWidget() override;
41
42public Q_SLOTS:
43 void setSourceRowCount(const int &rowCount);
44 void setSourceColumnCount(const int &columnCount);
45
46Q_SIGNALS:
48 const DatasetDescriptionVector &rowConfig,
49 const DatasetDescriptionVector &columnConfig);
50
52
53private Q_SLOTS:
54 void on_sbStartColumn_valueChanged(int);
55 void on_sbStartRow_valueChanged(int);
56 void on_sbColumnCount_valueChanged(int);
57 void on_sbRowCount_valueChanged(int);
58 void on_cbReverseRows_stateChanged(int);
59 void on_cbReverseColumns_stateChanged(int);
60 void on_groupBox_toggled(bool);
61
62private:
63 void resetDisplayValues();
64 void calculateMapping();
65
66 Ui::DatasetSelector *mUi;
67 int mSourceRowCount = 0;
68 int mSourceColumnCount = 0;
69};
70}
71
72#endif
void configureDatasetProxyModel(const DatasetDescriptionVector &rowConfig, const DatasetDescriptionVector &columnConfig)

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated on Wed May 1 2024 00:01:10 for KD Chart API Documentation by doxygen 1.9.8