MCPcopy Create free account
hub / github.com/Theverat/NormalmapGenerator / showMainColorDialog

Method showMainColorDialog

src_gui/aboutdialog.cpp:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void AboutDialog::showMainColorDialog() {
63 QColorDialog *colorDialog = new QColorDialog(mainwindow->getUiColorMain(), this);
64 connect(colorDialog, SIGNAL(currentColorChanged(QColor)), mainwindow, SLOT(setUiColorMain(QColor)));
65 colorDialog->show();
66}
67
68void AboutDialog::showTextColorDialog() {
69 QColorDialog *colorDialog = new QColorDialog(mainwindow->getUiColorText(), this);

Callers

nothing calls this directly

Calls 1

getUiColorMainMethod · 0.80

Tested by

no test coverage detected