The PaletteEditor class provides a dialog to customize a QPalette.
More...
#include <paletteeditor.h>
|
static QPalette | getPalette (QWidget *parent, const QPalette &init=QPalette(), const QPalette &parentPal=QPalette(), int *result=nullptr) |
|
|
bool | event (QEvent *event) override |
|
The PaletteEditor class provides a dialog to customize a QPalette.
This is taken from qttools/src/designer/src/components/propertyeditor/paletteeditor.cpp. In contrast to the original version this version doesn't provide a preview.
Definition at line 29 of file paletteeditor.h.
◆ PaletteEditor()
QtUtilities::PaletteEditor::PaletteEditor |
( |
QWidget * | parent | ) |
|
◆ ~PaletteEditor()
QtUtilities::PaletteEditor::~PaletteEditor |
( |
| ) |
|
|
override |
◆ event()
bool QtUtilities::PaletteEditor::event |
( |
QEvent * | event | ) |
|
|
overrideprotected |
◆ getPalette()
QPalette QtUtilities::PaletteEditor::getPalette |
( |
QWidget * | parent, |
|
|
const QPalette & | init = QPalette(), |
|
|
const QPalette & | parentPal = QPalette(), |
|
|
int * | result = nullptr ) |
|
static |
◆ palette()
QPalette QtUtilities::PaletteEditor::palette |
( |
| ) |
const |
◆ setPalette() [1/2]
void QtUtilities::PaletteEditor::setPalette |
( |
const QPalette & | palette | ) |
|
◆ setPalette() [2/2]
void QtUtilities::PaletteEditor::setPalette |
( |
const QPalette & | palette, |
|
|
const QPalette & | parentPalette ) |
◆ palette
QPalette QtUtilities::PaletteEditor::palette |
|
readwrite |
The documentation for this class was generated from the following files: