QIcon QLCChannel::getIconFromGroup(QLCChannel::Group grp) const { if (grp == Intensity) return getIntensityIcon(); else return QIcon(getIconNameFromGroup(grp)); }
QIcon QLCChannel::getIconFromGroup(QLCChannel::Group grp) const { switch(grp) { case Pan: return QIcon(":/pan.png"); break; case Tilt: return QIcon(":/tilt.png"); break; case Colour: return QIcon(":/color.png"); break; case Effect: return QIcon(":/star.png"); break; case Gobo: return QIcon(":/gobo.png"); break; case Shutter: return QIcon(":/shutter.png"); break; case Speed: return QIcon(":/speed.png"); break; case Prism: return QIcon(":/prism.png"); break; case Maintenance: return QIcon(":/configure.png"); break; case Intensity: return getIntensityIcon(); break; case Beam: return QIcon(":/beam.png"); break; default: break; } return QIcon(":/intensity.png"); }