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
layerstyledialog.h File Reference

Unified, multitab styling dialog for every OpenSWMMVisLayer. More...

#include <QDialog>
#include <QFlags>
#include <QJsonObject>
#include <QPointer>
#include <QString>
#include <memory>
#include <vector>
Include dependency graph for layerstyledialog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ui::LayerStyleDialog
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Enumerations

enum class  openswmmvis::ui::LayerCapability : unsigned int {
  openswmmvis::ui::Information = 1u << 0 ,
  openswmmvis::ui::Source = 1u << 1 ,
  openswmmvis::ui::Symbology = 1u << 2 ,
  openswmmvis::ui::Labels = 1u << 3 ,
  openswmmvis::ui::Rendering = 1u << 4 ,
  openswmmvis::ui::Metadata = 1u << 5
}
 Which tabs apply to a given layer type. More...
 

Functions

LayerCapabilities openswmmvis::ui::layerCapabilities (OpenSWMMVisLayer *layer)
 

Detailed Description

Unified, multitab styling dialog for every OpenSWMMVisLayer.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later
    Slice X.1 — refactored to a QGIS-aligned fixed tab set with a
    vertical sidebar (`tabPosition = West`).  The dialog hosts six
    tabs in canonical QGIS order — Information / Source / Symbology
    / Labels / Rendering / Metadata — and shows only the ones the
    current layer type supports per `layerCapabilities()`.

    Apply / OK / Cancel buttons buffer edits — Cancel rolls back
    every subject and the General/Rendering snapshot.

    Entry points:
      - Layer-tree right-click → Properties        (any layer)
      - Legend dock right-click → Edit Style       (sublayer rows)
      - Kind-row right-click → Properties          (focused on kind)

    The optional \p initialRoutingId focuses the Symbology tab on
    the matching kind / sublayer when launched from a sub-row
    context menu.