Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide On Plane filter and reading of validators for filters GUI definition
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetValidator.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetValidator.h
b/src/ModuleBase/ModuleBase_WidgetValidator.h
old mode 100755
(executable)
new mode 100644
(file)
index
f6c8442
..
778ae77
--- a/
src/ModuleBase/ModuleBase_WidgetValidator.h
+++ b/
src/ModuleBase/ModuleBase_WidgetValidator.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-201
7
CEA/DEN, EDF R&D
+// Copyright (C) 2014-201
9
CEA/DEN, 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
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-12,10
+12,9
@@
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
//
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef ModuleBase_WidgetValidator_H_
//
#ifndef ModuleBase_WidgetValidator_H_
@@
-52,13
+51,15
@@
class MODULEBASE_EXPORT ModuleBase_WidgetValidator
virtual ~ModuleBase_WidgetValidator();
/// Fills given container with selection modes if the widget has it
virtual ~ModuleBase_WidgetValidator();
/// Fills given container with selection modes if the widget has it
+ /// \param [out] theModuleSelectionModes module additional modes, -1 means all default modes
/// \param theModes [out] a container of modes
/// \param theModes [out] a container of modes
- /// \param isAdditional if true, the modes are combinated with the module ones
- virtual void selectionModes(QIntList& theModes, bool& isAdditional) {}
+ virtual void selectionModes(int& theModuleSelectionModes, QIntList& theModes) {}
/// Appends into container of workshop selection filters
/// Appends into container of workshop selection filters
+ /// \param [out] theModuleSelectionFilters module additional modes, -1 means all default modes
/// \param [out] selection filters
/// \param [out] selection filters
- virtual void selectionFilters(SelectMgr_ListOfFilter& theSelectionFilters);
+ virtual void selectionFilters(QIntList& theModuleSelectionFilters,
+ SelectMgr_ListOfFilter& theSelectionFilters);
/// Returns true if the validation is activated
bool isInValidate() const { return myIsInValidate; }
/// Returns true if the validation is activated
bool isInValidate() const { return myIsInValidate; }