#include "scenetoolrun.hpp" void CSVWidget::SceneToolRun::adjustToolTips() { QString toolTip = mToolTip; if (mCurrentIndex==-1) toolTip += "
No debug profile selected (function disabled)"; else toolTip += "
Debug profile: " + QString::fromUtf8 (mProfiles[mCurrentIndex].c_str());
setToolTip (toolTip);
}
void CSVWidget::SceneToolRun::updateIcon()
{
setIcon (QIcon (mCurrentIndex==-1 ? mIconDisabled : mIcon));
}
CSVWidget::SceneToolRun::SceneToolRun (SceneToolbar *parent, const QString& toolTip,
const QString& icon, const QString& iconDisabled, const std::vector