#include <QGridLayout>
#include <QHBoxLayout>
#include <QVBoxLayout>
+#include <QButtonGroup>
// VTK includes
#include <vtkProperty.h>
// -----------------------------------------------------------------------
bool HasReadyActorsFor (int subShapeID, GEOM::GEOM_Object_var aMainShape )
{
- string mainEntry;
+ std::string mainEntry;
if ( !aMainShape->_is_nil() )
mainEntry = aMainShape->GetStudyEntry();
return ( myMainEntry == mainEntry &&
void Show( int subShapeID, GEOM::GEOM_Object_var aMainShape, bool only = false)
{
SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( SMESHGUI::GetSMESHGUI() );
- string mainEntry;
+ std::string mainEntry;
if ( !aMainShape->_is_nil() )
mainEntry = aMainShape->GetStudyEntry();
if ( myMainEntry != mainEntry || aViewWindow != myViewWindow ) { // remove actors
TActorVec myActors;
TActorVec myShownActors;
TopTools_IndexedMapOfShape myIndexToShape;
- string myMainEntry;
+ std::string myMainEntry;
SVTK_ViewWindow* myViewWindow;
vtkProperty* myProperty;
std::set<int> myBuiltSubs;
// constructor
QGroupBox* aPixGrp = new QGroupBox(tr("CONSTRUCTOR"), aFrame);
+ QButtonGroup* aBtnGrp = new QButtonGroup(this);
QHBoxLayout* aPixGrpLayout = new QHBoxLayout(aPixGrp);
aPixGrpLayout->setMargin(MARGIN); aPixGrpLayout->setSpacing(SPACING);
aRBut->setIcon(iconCompute);
aRBut->setChecked(true);
aPixGrpLayout->addWidget(aRBut);
+ aBtnGrp->addButton(aRBut, 0);
// Mesh name