myButtonsFrame = new QFrame( this );
myStack = new QStackedWidget( this );
- myStack->setFrameStyle(QFrame::Box | QFrame::Raised);
aMainLayout->addWidget( myButtonsFrame, 0 );
aMainLayout->addWidget( myStack, 1 );
{
ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId, theIcon);
QFrame* aFrame = dynamic_cast<QFrame*>(thePage);
- aFrame->setFrameShape(QFrame::Box);
- aFrame->setFrameStyle(QFrame::Sunken);
+ aFrame->setFrameStyle(QFrame::Box | QFrame::Raised);
myToolBox->addItem(aFrame, theName, theIcon );
return myToolBox->count();
}
<sketch-2dpoint_selector id="RectStartPoint" accept_expressions="0" title="Start point" tooltip="Start point coordinates"
enable_value="enable_by_preferences"/>
<sketch-2dpoint_selector id="RectEndPoint" accept_expressions="0" title="End point" tooltip="End point coordinates"
- enable_value="false"/>
+ enable_value="enable_by_preferences"/>
<boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
<validator id="GeomValidators_Different" parameters="RectStartPoint,RectEndPoint"/>
</feature>