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
openswmmvis::ui::theme Namespace Reference

Enumerations

enum class  Banner {
  Info ,
  Success ,
  Error
}
 

Functions

void applyHintRole (QWidget *w)
 
QString hintStyle ()
 
QString hintItalicStyle ()
 
QString errorTextStyle ()
 
QString errorBorderStyle ()
 
QString sectionHeadingStyle ()
 
QString errorFillStyle ()
 
QString bannerStyle (Banner kind)
 

Enumeration Type Documentation

◆ Banner

enum class openswmmvis::ui::theme::Banner
strong
Enumerator
Info 
Success 
Error 

Function Documentation

◆ applyHintRole()

void openswmmvis::ui::theme::applyHintRole ( QWidget *  w)
inline

Secondary/hint text via the palette role — theme-live, no stylesheet.

Here is the caller graph for this function:

◆ bannerStyle()

QString openswmmvis::ui::theme::bannerStyle ( Banner  kind)
inline

Background+foreground pair for an inline banner strip; append site-specific padding/radius as needed.

Here is the call graph for this function:

◆ errorBorderStyle()

QString openswmmvis::ui::theme::errorBorderStyle ( )
inline

Validation-error border of the current theme.

Here is the call graph for this function:

◆ errorFillStyle()

QString openswmmvis::ui::theme::errorFillStyle ( )
inline

Iteration 2 (D5) — field-background fill for a failed-validation input (the tokenized replacement for hardcoded light-pink fills that were illegible on the dark theme). Transient-state string, same refresh policy as errorTextStyle().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ errorTextStyle()

QString openswmmvis::ui::theme::errorTextStyle ( )
inline

Validation-error text color of the current theme.

Here is the call graph for this function:

◆ hintItalicStyle()

QString openswmmvis::ui::theme::hintItalicStyle ( )
inline

◆ hintStyle()

QString openswmmvis::ui::theme::hintStyle ( )
inline

Theme-live hint styling for stylesheet-based sites (Mid == hintText).

Here is the caller graph for this function:

◆ sectionHeadingStyle()

QString openswmmvis::ui::theme::sectionHeadingStyle ( )
inline

Iteration 2 (D5) — bold section heading for pseudo-headings that used to be raw tags or ad-hoc bold stylesheets. Palette-driven text color, so it stays theme-live.