39 connect(newLight, SIGNAL(updated()),
this, SLOT(
updateLight()));
76 foreach(
const QString&
key, selection){
77 QColor color = colorMap.value(key);
78 if(!selectedColor.isValid())
79 selectedColor = color;
80 else if(color != selectedColor){
81 selectedColor = QColor();
89 int count = selection.count();
150 if(dialog.result() != QDialog::Accepted)
static void set(const QString &key, const QVariant &value)
const QStringList & keys()
static bool isMouse(Model model)
const PresetValue & preset(int index) const
static QVariant get(const QString &key, const QVariant &defaultValue=QVariant())
const QColorMap & colorMap()
const QStringList & presets() const
void color(const QString &key, const QColor &newColor)
QHash< QString, QRgb > QColorMap
const AnimScript * chosenScript()