-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <QRadioButton>
#include <QToolButton>
+const QString AStyle = "QToolButton:checked {border: 1px solid black; background-color:#C0DCF3}";
+
+
ModuleBase_ChoiceCtrl::ModuleBase_ChoiceCtrl(QWidget* theParent,
const QStringList& theChoiceList,
const QStringList& theIconsList,
QPixmap aIcon = ModuleBase_IconFactory::loadPixmap(theIconsList.at(aId));
aBtn->setIcon(aIcon);
aBtn->setIconSize(aIcon.size());
+ aBtn->setStyleSheet(AStyle);
aBtnLayout->addWidget(aBtn);
myButtons->addButton(aBtn, aId++);