Skip to content

Class QAccelPlot::Colors

ClassList > QAccelPlot > Colors

QML singleton exposing QAccelPlot's built-in color palettes. More...

  • #include <Colors.hpp>

Inherits the following classes: QObject

Inheritance diagram

flowchart TB
  classQAccelPlot_1_1Colors["QAccelPlot::Colors"]

  external_base_classQAccelPlot_1_1Colors_1["QObject"]
  external_base_classQAccelPlot_1_1Colors_1 --> classQAccelPlot_1_1Colors

Public Properties

Type Name
property QML_SINGLETONColorPalette * dark
Read-only constant: dark theme palette. C++ property defaults use these colors.
property ColorPalette * light
Read-only constant: light theme palette.

Public Functions

Type Name
Colors (QObject * parent=nullptr)
ColorPalette * dark () const
ColorPalette * light () const

Detailed Description

** **

import QAccelPlot as QAccelPlot

QAccelPlot.Plot {
    plotAreaColor: QAccelPlot.Colors.dark.plotArea
}

See also: ColorPalette

Public Properties Documentation

property dark

Read-only constant: dark theme palette. C++ property defaults use these colors.

QML_SINGLETONColorPalette* QAccelPlot::Colors::dark;


property light

Read-only constant: light theme palette.

ColorPalette* QAccelPlot::Colors::light;


Public Functions Documentation

function Colors

explicit QAccelPlot::Colors::Colors (
    QObject * parent=nullptr
) 

function dark

ColorPalette * QAccelPlot::Colors::dark () const

function light

ColorPalette * QAccelPlot::Colors::light () const


The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/theme/Colors.hpp