const Config_WidgetAPI* theData,
const std::string& theParentId)
: ModuleBase_ModelWidget(theParent, theData, theParentId),
- myWorkshop(theWorkshop), myIsActive(false), myUseSubShapes(false)
+ myWorkshop(theWorkshop), myIsActive(false)
{
myMainWidget = new QWidget(theParent);
QGridLayout* aMainLay = new QGridLayout(myMainWidget);
aMainLay->addWidget(new QLabel(myMainWidget));
aMainLay->setRowMinimumHeight(3, 20);
myMainWidget->setLayout(aMainLay);
- //TODO: Move into the base class
- myUseSubShapes = theData->getBooleanAttribute("use_subshapes", false);
- //TODO_END
connect(myTypeCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(onSelectionTypeChanged()));
myCopyAction = new QAction(QIcon(":pictures/copy.png"), tr("Copy"), this);