148 TAttLine* att =
dynamic_cast<TAttLine*
> (obj);
150 icol = att->GetLineColor();
154 TAttFill* att =
dynamic_cast<TAttFill*
> (obj);
156 icol = att->GetFillColor();
160 TAttMarker* att =
dynamic_cast<TAttMarker*
> (obj);
162 icol = att->GetMarkerColor();
167 TColor* rcol = gROOT->GetColor(icol);
172 qcol.setRgb(rcol->GetRed(), rcol->GetGreen(), rcol->GetBlue());
174 QColor c = QColorDialog::getColor(qcol);
175 if (!c.isValid())
return;
177 icol = TColor::GetColor(c.red(), c.green(), c.blue());
181 TAttLine* att =
dynamic_cast<TAttLine*
> (obj);
182 if (att) att->SetLineColor(icol);
186 TAttFill* att =
dynamic_cast<TAttFill*
> (obj);
187 if (att) att->SetFillColor(icol);
191 TAttMarker* att =
dynamic_cast<TAttMarker*
> (obj);
192 if (att) att->SetMarkerColor(icol);