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
23
#include "
ui/dialogs/irendererpanel.h
"
24
25
#include <QWidget>
26
27
class
QComboBox;
28
class
QStackedWidget;
29
class
QVBoxLayout;
30
31
namespace
openswmmvis::ui
{
32
33
class
SymbologyTab
:
public
QWidget
34
{
35
Q_OBJECT
36
public
:
41
explicit
SymbologyTab
(
const
RendererPanelContext
&ctx,
42
QWidget *
parent
=
nullptr
);
43
44
private
slots:
45
void
onRendererChanged(
int
comboIndex);
51
void
syncToInstalledRenderer();
52
53
private
:
54
void
mountPanelForId(
const
QString &rendererId);
55
[[nodiscard]] QString currentRendererId()
const
;
56
57
RendererPanelContext
m_ctx;
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
openswmmvis::ui::SymbologyTab
Definition
symbologytab.h:34
irendererpanel.h
Renderer-class panel interface + factory registry.
openswmmvis::ui
Definition
openswmmvislayer.h:43
parent
QVector< int > parent
union-find
Definition
pslgminsize.cpp:176
openswmmvis::ui::RendererPanelContext
Context passed to renderer-panel factories at construction time.
Definition
irendererpanel.h:74
include
ui
dialogs
symbologytab.h
Generated by
1.9.8