const Config_WidgetAPI* theData)
: ModuleBase_PagedContainer(theParent, theData)
{
+ myRemeberChoice = false;
QVBoxLayout* aMainLay = new QVBoxLayout(this);
//aMainLay->setContentsMargins(2, 4, 2, 2);
ModuleBase_Tools::adjustMargins(aMainLay);
int ModuleBase_WidgetSwitch::addPage(ModuleBase_PageBase* thePage, const QString& theName,
const QString& theCaseId,
- const QPixmap& theIcon )
+ const QPixmap& theIcon,
+ const QString& theTooltip)
{
- int aSuperCount = ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId, theIcon);
+ int aSuperCount =
+ ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId, theIcon, theTooltip);
myCombo->addItem(theName);
int aResultCount = myCombo->count();
if (aResultCount == 2)