SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
comparisonpairsdialog.h
Go to the documentation of this file.
1
15#ifndef OPENSWMMVIS_UI_DIALOGS_COMPARISONPAIRSDIALOG_H
16#define OPENSWMMVIS_UI_DIALOGS_COMPARISONPAIRSDIALOG_H
17
18#include <QDialog>
19
20class QComboBox;
21class QListWidget;
22class QPushButton;
23
24namespace openswmmvis::plot { class ComparisonPlotModel; }
25
26namespace openswmmvis::ui {
27
28class ComparisonPairsDialog : public QDialog
29{
30 Q_OBJECT
31public:
33 QWidget *parent = nullptr);
34
35private slots:
36 void onAddClicked();
37 void onRemoveClicked();
38 void onResetClicked();
39
40private:
41 void buildUi();
43 void refreshPairList();
45 QString seriesLabel(int seriesIndex) const;
46
48
49 QComboBox *m_xCombo = nullptr;
50 QComboBox *m_yCombo = nullptr;
51 QListWidget *m_pairList = nullptr;
52 QPushButton *m_addBtn = nullptr;
53 QPushButton *m_removeBtn = nullptr;
54 QPushButton *m_resetBtn = nullptr;
55};
56
57} // namespace openswmmvis::ui
58
59#endif // OPENSWMMVIS_UI_DIALOGS_COMPARISONPAIRSDIALOG_H
Model layer for the Comparison Plot Dialog.
Definition comparisonplotmodel.h:118
Definition comparisonpairsdialog.h:29
Definition chartproperties.h:34
Definition openswmmvislayer.h:43
QVector< int > parent
union-find
Definition pslgminsize.cpp:176