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
symbologytab.h
Go to the documentation of this file.
1
20#ifndef OPENSWMMVIS_UI_DIALOGS_SYMBOLOGYTAB_H
21#define OPENSWMMVIS_UI_DIALOGS_SYMBOLOGYTAB_H
22
24
25#include <QWidget>
26
27class QComboBox;
28class QStackedWidget;
29class QVBoxLayout;
30
31namespace openswmmvis::ui {
32
33class SymbologyTab : public QWidget
34{
35 Q_OBJECT
36public:
41 explicit SymbologyTab(const RendererPanelContext &ctx,
42 QWidget *parent = nullptr);
43
44private slots:
45 void onRendererChanged(int comboIndex);
51 void syncToInstalledRenderer();
52
53private:
54 void mountPanelForId(const QString &rendererId);
55 [[nodiscard]] QString currentRendererId() const;
56
58
59 QComboBox *m_rendererCombo = nullptr;
60 QStackedWidget *m_stack = nullptr;
61};
62
63} // namespace openswmmvis::ui
64
65#endif // OPENSWMMVIS_UI_DIALOGS_SYMBOLOGYTAB_H
Definition symbologytab.h:34
Renderer-class panel interface + factory registry.
Definition openswmmvislayer.h:43
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
Context passed to renderer-panel factories at construction time.
Definition irendererpanel.h:74