38 static void apply(QCustomPlot *plot);
62 static void track(QCustomPlot *plot, std::function<
void()> afterApply =
nullptr);
Applies the active theme's palette to a QCustomPlot.
Definition plot_theme.h:29
static void apply(QCustomPlot *plot)
Recolor a plot from the current theme.
Definition plot_theme.cpp:58
static void track(QCustomPlot *plot, std::function< void()> afterApply=nullptr)
Apply the theme now and again whenever the theme changes.
Definition plot_theme.cpp:91
static void applyToAxis(QCPAxis *axis)
Recolor one axis from the current theme.
Definition plot_theme.cpp:32
static QColor textColor()
The theme's primary text color for plot elements.
Definition plot_theme.cpp:27