Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ajout dependance VTK
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ProfileDlg.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx
b/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx
index ea9bfd8a00c8f91149fe38c99c5edeee0949f317..8e1ed22c9380adf6fbbc411f9694a0c8f6b5a576 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ProfileDlg.cxx
+++ b/
src/HYDROGUI/HYDROGUI_ProfileDlg.cxx
@@
-1,8
+1,4
@@
-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015 EDF-R&D
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
@@
-89,6
+85,7
@@
void HYDROGUI_ProfileDlg::reset()
{
myEditorWidget->reset();
myEditorWidget->setActionMode( CurveCreator_Widget::AdditionMode );
{
myEditorWidget->reset();
myEditorWidget->setActionMode( CurveCreator_Widget::AdditionMode );
+ viewer()->setTrihedronShown( false ); // Issue #548
}
void HYDROGUI_ProfileDlg::setProfileName( const QString& theName )
}
void HYDROGUI_ProfileDlg::setProfileName( const QString& theName )
@@
-154,3
+151,11
@@
void HYDROGUI_ProfileDlg::processFinishedSubOperation( QWidget* theWidget )
theWidget->hide();
myAddElementBox->hide();
}
theWidget->hide();
myAddElementBox->hide();
}
+
+Handle(AIS_Trihedron) HYDROGUI_ProfileDlg::trihedron()
+{
+ SUIT_ResourceMgr* aResMgr = SUIT_Session::session()->resourceMgr();
+ Handle(AIS_Trihedron) aTrihedron =
+ HYDROGUI_AISTrihedron::createTrihedron( aResMgr->doubleValue( "3DViewer", "trihedron_size", viewer()->trihedronSize() ) );
+ return aTrihedron;
+}