void MainWindow::backgroundColor_screen_clicked()
{
QColorDialog col;
QColor color;
color = col.getColor();
pviz->setBackgroundColor(color.red()/255.0,color.green()/255.0,color.blue()/255.0);
pviz2->setBackgroundColor(color.red()/255.0,color.green()/255.0,color.blue()/255.0);
}
When I use QColorDialog, I get a dialog form like this:
However, when I check the under QColorDialog examples I saw that form like this:
How can I use this color chart in my code too?