Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support both 5.5 and 5.6 version of ParaView
[modules/gui.git]
/
src
/
Plot2d
/
Plot2d_ViewModel.cxx
diff --git
a/src/Plot2d/Plot2d_ViewModel.cxx
b/src/Plot2d/Plot2d_ViewModel.cxx
index d7c4d242810d83b81218a9f8be0ce0d6f2ab7ac0..7125c3e91fe65db283bbfa7127174dd962c6440e 100755
(executable)
--- a/
src/Plot2d/Plot2d_ViewModel.cxx
+++ b/
src/Plot2d/Plot2d_ViewModel.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
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) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-40,7
+40,8
@@
Plot2d_Viewer::Plot2d_Viewer(bool theAutoDel)
{
myPrs = 0;
myAutoDel = theAutoDel;
{
myPrs = 0;
myAutoDel = theAutoDel;
- Plot2d_Object::initColors();
+ Plot2d_Object::setSelectionColor( QColor(80,80,80) );
+ Plot2d_Object::setHighlightedLegendTextColor( QColor(255,255,255) );
}
/*!
}
/*!
@@
-219,7
+220,7
@@
void Plot2d_Viewer::onCloneView( Plot2d_ViewFrame* clonedVF, Plot2d_ViewFrame* n
/*
SLOT: called when clicked item in the legend from Plot2d_ViewManager
*/
/*
SLOT: called when clicked item in the legend from Plot2d_ViewManager
*/
-void Plot2d_Viewer::on
LegendClicked( QwtPlotItem* plotItem
)
+void Plot2d_Viewer::on
Clicked(const QVariant& itemInfo, int index
)
{
}
{
}