HYDROGUI_ProfileDlg::HYDROGUI_ProfileDlg( HYDROGUI_Module* theModule, const QString& theTitle,
bool theIsEdit )
-: HYDROGUI_ViewerDlg( theModule, theTitle, true ),
+: HYDROGUI_ViewerDlg( theModule, theTitle, true, false ),
myName( NULL ), myProfileNames (NULL), myProfilesPointer (NULL),
myIsEdit (theIsEdit)
{
myEditorWidget->reset();
myEditorWidget->setActionMode( CurveCreator_Widget::AdditionMode );
viewer()->setTrihedronShown( false ); // Issue #548
+ viewer()->setStaticTrihedronDisplayed(false);
if (myProfileNames)
myProfileNames->clear();
}
#include <QLineEdit>
#include <QMouseEvent>
-HYDROGUI_ViewerDlg::HYDROGUI_ViewerDlg( HYDROGUI_Module* theModule, const QString& theTitle, bool isSplitter )
+HYDROGUI_ViewerDlg::HYDROGUI_ViewerDlg( HYDROGUI_Module* theModule, const QString& theTitle, bool isSplitter, bool dispTrihedron )
: HYDROGUI_InputPanel( theModule, theTitle, true, isSplitter )
{
SUIT_ResourceMgr* aResMgr = SUIT_Session::session()->resourceMgr();
SUIT_Study* aStudy = 0;
#endif
myViewManager = new OCCViewer_ViewManager( aStudy, 0 );
- OCCViewer_Viewer* aViewer = new OCCViewer_Viewer( true );
+ OCCViewer_Viewer* aViewer = new OCCViewer_Viewer( dispTrihedron );
aViewer->setBackground( OCCViewer_ViewFrame::TOP_LEFT,
aResMgr->backgroundValue( "OCCViewer", "xz_background", aViewer->background(OCCViewer_ViewFrame::TOP_LEFT) ) );
Q_OBJECT
public:
- HYDROGUI_ViewerDlg( HYDROGUI_Module* theModule, const QString& theTitle, bool isSplitter );
+ HYDROGUI_ViewerDlg( HYDROGUI_Module* theModule, const QString& theTitle, bool isSplitter, bool dispTrihedron = true );
virtual ~HYDROGUI_ViewerDlg();
Handle(AIS_InteractiveContext) getAISContext();