32 #include <QColorDialog> 41 QObject::connect(
this, SIGNAL(clicked(
bool)),
47 if (!color.isValid() || color ==
color_) {
59 setStyleSheet(
"background: " +
color_.name());
60 setStyleSheet(
"background: " +
color_.name());
68 QColor new_color = QColorDialog::getColor(
color_);
69 if (!new_color.isValid() || new_color ==
color_) {