#include "Plot2d_ViewManager.h"
#include "QtxPagePrefMgr.h"
-//TODO
-//#include "OB_Browser.h"
+#include "OB_Browser.h"
#include "SALOME_ListIteratorOfListIO.hxx"
#include "LightApp_SelectionMgr.h"
#include "LightApp_Selection.h"
#include "LightApp_Preferences.h"
+#include <LightApp_Browser.h>
#include "QtxAction.h"
#include "QtxFontEdit.h"
{
SalomeApp_Module::contextMenuPopup(theClient, theMenu, theTitle);
- //TODO: object Browser
- //OB_Browser* ob = getApp()->objectBrowser();
- //bool isOBClient = (ob && theClient == ob->popupClientType());
- bool isOBClient = false;
+ //TODO: object Browser DONE
+ OB_Browser* ob = getApp()->objectBrowser();
+ bool isOBClient = (ob && theClient == ob->popupClientType());
+ //bool isOBClient = false;
LightApp_SelectionMgr* aSelectionMgr = GetSelectionMgr(this);
SALOME_ListIO aListIO;
connect(SpinBoxDistance , SIGNAL(valueChanged(double)) , this, SLOT(SetCurrentPlaneParam()));
connect(SpinBoxRot1 , SIGNAL(valueChanged(double)) , this, SLOT(SetCurrentPlaneParam()));
connect(SpinBoxRot2 , SIGNAL(valueChanged(double)) , this, SLOT(SetCurrentPlaneParam()));
- connect(ButtonGroupIJKAxis , SIGNAL(clicked(int)) , this, SLOT(onIJKAxisChanged(int)));
+ connect(ButtonGroupIJKAxis , SIGNAL(buttonClicked(int)) , this, SLOT(onIJKAxisChanged(int)));
connect(SpinBoxIJKIndex , SIGNAL(valueChanged(int)) , this, SLOT(SetCurrentPlaneIJKParam()));
connect(CheckBoxIJKPlaneReverse, SIGNAL(toggled(bool)) , this, SLOT(SetCurrentPlaneIJKParam()));
connect(TabPane , SIGNAL(currentChanged (QWidget*)), this, SLOT(onTabChanged(QWidget*)));
connect( RainbowButton, SIGNAL( toggled( bool ) ), ColorSpin, SLOT( setEnabled( bool ) ) );
connect( RainbowButton, SIGNAL( toggled( bool ) ), LabelLabel, SLOT( setEnabled( bool ) ) );
connect( RainbowButton, SIGNAL( toggled( bool ) ), LabelSpin, SLOT( setEnabled( bool ) ) );
- connect( OrientGroup, SIGNAL( clicked( int ) ), this, SLOT( changeDefaults( int ) ) );
+ connect( OrientGroup, SIGNAL( buttonClicked( int ) ), this, SLOT( changeDefaults( int ) ) );
connect( XSpin, SIGNAL( valueChanged( double ) ), this, SLOT( XYChanged( double ) ) );
connect( YSpin, SIGNAL( valueChanged( double ) ), this, SLOT( XYChanged( double ) ) );
connect( myTextBtn, SIGNAL( clicked() ), this, SLOT( onTextPref() ) );
bottomLayout->addWidget(PreviewChkB, 3, 0);
// signals and slots connections
- connect(GBOrientation, SIGNAL(clicked(int)), this, SLOT(orientationChanged(int)));
+ connect(GBOrientation, SIGNAL(buttonClicked(int)), this, SLOT(orientationChanged(int)));
connect(Rot1, SIGNAL(valueChanged(double)), this, SLOT(updatePreview()));
connect(Rot2, SIGNAL(valueChanged(double)), this, SLOT(updatePreview()));
connect(PositionSpn, SIGNAL(valueChanged(double)), this, SLOT(onPositionSpn()));
connect(RelativeChkB, SIGNAL(toggled(bool)), this, SLOT(onRelativePos(bool)));
- connect(GBPrsType, SIGNAL(clicked(int)), this, SLOT(onPrsType(int)));
+ connect(GBPrsType, SIGNAL(buttonClicked(int)), this, SLOT(onPrsType(int)));
connect(PreviewChkB, SIGNAL(toggled(bool)), this, SLOT(updatePreview()));
}
myStackWgt->setCurrentIndex(AutoMode);
- connect(aBtnGrp, SIGNAL(clicked(int)), myStackWgt, SLOT(raiseWidget(int)) );
+ connect(aBtnGrp, SIGNAL(buttonClicked(int)), myStackWgt, SLOT(raiseWidget(int)) );
SUIT_Study* aSUITStudy = myViewWindow->getViewManager()->study();
SalomeApp_Study* anAppStudy = dynamic_cast<SalomeApp_Study*>(aSUITStudy);