#include <ModuleBase_Filter.h>
#include <ModuleBase_IModule.h>
#include <ModuleBase_ViewerPrs.h>
+#include <ModuleBase_IconFactory.h>
#include <Config_WidgetAPI.h>
#include <Events_Loop.h>
#include <ModelAPI_AttributeValidator.h>
#include <Config_WidgetAPI.h>
-#include <Events_Error.h>
#include <GeomAPI_Shape.h>
QString aLabelIcon = QString::fromStdString(theData->widgetIcon());
myLabel = new QLabel(aLabelText, this);
if (!aLabelIcon.isEmpty())
- myLabel->setPixmap(QPixmap(aLabelIcon));
+ myLabel->setPixmap(ModuleBase_IconFactory::loadPixmap(aLabelIcon));
QString aToolTip = QString::fromStdString(theData->widgetTooltip());
//********************************************************************
bool ModuleBase_WidgetShapeSelector::storeValueCustom()
{
- // the value is stored on the selection changed signal processing
+ // the value is stored on the selection changed signal processing
return true;
}
}
//********************************************************************
-QIntList ModuleBase_WidgetShapeSelector::getShapeTypes() const
+QIntList ModuleBase_WidgetShapeSelector::shapeTypes() const
{
QIntList aShapeTypes;
foreach(QString aType, myShapeTypes) {