#include <ColorChooser.h>
|
| static QVector< QColor > | defaultPalette () |
| | Copy the current QColorDialog palette into an array.
|
| static QVector< QColor > | nicePalette (int) |
| | Generate a nice palette, with adjustable value.
|
◆ Palette
| Enumerator |
|---|
| Default | |
| Track | |
| Mixer | |
◆ ColorChooser() [1/3]
| lmms::gui::ColorChooser::ColorChooser |
( |
const QColor & | initial, |
|
|
QWidget * | parent ) |
|
inline |
◆ ColorChooser() [2/3]
| lmms::gui::ColorChooser::ColorChooser |
( |
QWidget * | parent | ) |
|
|
inline |
◆ ColorChooser() [3/3]
| lmms::gui::ColorChooser::ColorChooser |
( |
| ) |
|
|
default |
For getting a color without having to initialise a color dialog.
◆ defaultPalette()
| QVector< QColor > lmms::gui::ColorChooser::defaultPalette |
( |
| ) |
|
|
staticprivate |
Copy the current QColorDialog palette into an array.
◆ getPalette()
| QVector< QColor > lmms::gui::ColorChooser::getPalette |
( |
Palette | palette | ) |
|
|
static |
Return a certain palette.
◆ keyReleaseEvent()
| void lmms::gui::ColorChooser::keyReleaseEvent |
( |
QKeyEvent * | event | ) |
|
|
inlineoverrideprotected |
Forward key events to the parent to prevent stuck notes when the dialog gets focus.
◆ nicePalette()
| QVector< QColor > lmms::gui::ColorChooser::nicePalette |
( |
int | base | ) |
|
|
staticprivate |
Generate a nice palette, with adjustable value.
◆ setPalette() [1/2]
| void lmms::gui::ColorChooser::setPalette |
( |
Palette | palette | ) |
|
Set global paletter via enum.
◆ setPalette() [2/2]
| void lmms::gui::ColorChooser::setPalette |
( |
QVector< QColor > | colors | ) |
|
Set global palette via array, checking bounds.
◆ withPalette()
Set palette via enum, return self pointer for chaining.
The documentation for this class was generated from the following files: