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

QObject wrapper around SeriesStyle exposing every visual attribute as a Q_PROPERTY so a QPropertyModel can drive per-series editing in a tree view. More...

#include "plot/seriesstyle.h"
#include <QColor>
#include <QFont>
#include <QObject>
#include <QString>
Include dependency graph for seriesstyleobject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::plot::SeriesStyleObject
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::plot
 

Detailed Description

QObject wrapper around SeriesStyle exposing every visual attribute as a Q_PROPERTY so a QPropertyModel can drive per-series editing in a tree view.

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

Mirrors the design of ChartProperties for chart-level editing. Every setter both updates the underlying SeriesStyle cache and emits a typed Notify signal (for QPropertyModel to repaint the row) and the aggregate styleChanged(SeriesStyle) signal so host dialogs can live-update their chart in one place.

Property groupings (rendered via displayLabelFor):

  • Identity: color, opacity, legendName, legendOverride
  • Line: showLine, lineWidth, dash, capStyle, joinStyle
  • Markers: showMarkers, shape, markerSize, markerFillColor, markerBorderColor, markerBorderWidth
  • Labels: showPointLabels, pointLabelFont, pointLabelColor, pointLabelPrecision
  • Area: showAreaFill, areaFillColor