<source>DIMENSIONS_GRP</source>
<translation>Dimensions</translation>
</message>
+ <message>
+ <source>HIDE_SCALAR_BAR</source>
+ <translation>Hide Scalar Bar</translation>
+ </message>
<message>
<source>DISPLAYED</source>
<translation>Displayed</translation>
myBarDlg = new VisuGUI_BarPrefDlg(this);
aMainLayout->addWidget( myBarDlg );
+ QGroupBox* CheckGroup = new QGroupBox("", this );
+ aMainLayout->addWidget( CheckGroup );
+ QGridLayout* CheckGroupLayout = new QGridLayout( CheckGroup );
+
+ myHideBar = new QCheckBox(tr("HIDE_SCALAR_BAR"), CheckGroup);
+ myHideBar->setChecked(false);
+ CheckGroupLayout->addWidget(myHideBar, 0, 0);
+
// signals and slots connections ===========================================
connect( RBFieldRange, SIGNAL( clicked() ), this, SLOT( fieldRangeClicked() ) );
connect( RBImposedRange,SIGNAL( clicked() ), this, SLOT( imposedRangeClicked() ) );
thePrs->IsBoldLabel(),
thePrs->IsItalicLabel(),
thePrs->IsShadowLabel());
+
+ myHideBar->setChecked(!thePrs->IsBarVisible());
}
/**
thePrs->SetLabelsFormat( f.c_str() );
thePrs->SetUnitsVisible(myBarDlg->isUnitsVisible());
+ thePrs->SetBarVisible(!myHideBar->isChecked());
+
if (myIsStoreTextProp) {
// "Title"
thePrs->SetTitle(myTextDlg->getTitleText().toLatin1().data());
//Issue 0019874(EDF 746 VISU: Picking alphanumeric Gauss)
if(thePrs){
SALOME_ListIO aListIO;
- LightApp_SelectionMgr* aSelectionMgr = VISU::GetSelectionMgr(myModule);
+ // LightApp_SelectionMgr* aSelectionMgr = VISU::GetSelectionMgr(myModule);
Handle(SALOME_InteractiveObject) anIO = thePrs->GetIO();
if(anIO && anIO->hasEntry()) {
aListIO.Append(anIO);