MCPcopy Create free account
hub / github.com/Simsys/qhexedit2 / setColor

Method setColor

example/optionsdialog.cpp:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void OptionsDialog::setColor(QWidget *widget, QColor color)
87{
88 QPalette palette = widget->palette();
89 palette.setColor(QPalette::Window, color);
90 widget->setPalette(palette);
91 widget->setAutoFillBackground(true);
92}
93
94void OptionsDialog::on_pbHighlightingColor_clicked()
95{

Callers 2

OptionsDialogMethod · 0.80
setAreaColorMethod · 0.80

Calls 1

setPaletteMethod · 0.80

Tested by

no test coverage detected