Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2022
[modules/geom.git]
/
src
/
CurveCreator
/
CurveCreator_Widget.h
diff --git
a/src/CurveCreator/CurveCreator_Widget.h
b/src/CurveCreator/CurveCreator_Widget.h
index 94ba453b41e32ee2bdf8762e9f206623b1aa1c7d..849a88ab1830176d23ae4796fae18c5ae1a20405 100644
(file)
--- a/
src/CurveCreator/CurveCreator_Widget.h
+++ b/
src/CurveCreator/CurveCreator_Widget.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2013-20
19
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-20
22
CEA/DEN, EDF R&D, OPEN CASCADE
//
// 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
@@
-56,7
+56,8
@@
public:
NoFlags = 0x00000000,
DisableDetectionMode = 0x00000001,
DisableNewSection = 0x00000002,
NoFlags = 0x00000000,
DisableDetectionMode = 0x00000001,
DisableNewSection = 0x00000002,
- DisableClosedSection = 0x00000004
+ DisableClosedSection = 0x00000004,
+ DisableSetColor = 0x00000008
};
enum ActionMode {
};
enum ActionMode {
@@
-119,6
+120,7
@@
public slots:
void onJoin();
void onBringTogether();
void onRemove();
void onJoin();
void onBringTogether();
void onRemove();
+ void onSetColor();
void onClearAll();
void onJoinAll();
void onSetSpline();
void onClearAll();
void onJoinAll();
void onSetSpline();
@@
-146,23
+148,24
@@
protected:
protected:
enum ActionId{ NONE_ID,
protected:
enum ActionId{ NONE_ID,
- UNDO_ID,
- REDO_ID,
- NEW_SECTION_ID,
- ADDITION_MODE_ID,
- REMOVE_ID,
- REMOVE_ALL_ID,
+ UNDO_ID,
+ REDO_ID,
+ NEW_SECTION_ID,
+ ADDITION_MODE_ID,
+ REMOVE_ID,
+ REMOVE_ALL_ID,
JOIN_ID,
JOIN_ID,
- JOIN_ALL_ID,
- CLOSE_SECTIONS_ID,
+ JOIN_ALL_ID,
+ CLOSE_SECTIONS_ID,
UNCLOSE_SECTIONS_ID,
UNCLOSE_SECTIONS_ID,
- SET_SECTIONS_POLYLINE_ID,
- SET_SECTIONS_SPLINE_ID,
- CLEAR_ALL_ID,
- SEPARATOR_ID,
- MODIFICATION_MODE_ID,
+ SET_SECTIONS_POLYLINE_ID,
+ SET_SECTIONS_SPLINE_ID,
+ CLEAR_ALL_ID,
+ SEPARATOR_ID,
+ MODIFICATION_MODE_ID,
DETECTION_MODE_ID,
DETECTION_MODE_ID,
- BRING_TOGETHER_ID
+ BRING_TOGETHER_ID,
+ SETCOLOR_ID
};
public:
};
public:
@@
-193,7
+196,7
@@
private:
void startCurveModification( CurveCreator_ICurve::SectionToPointList& thePoints,
const bool theFillPoints = true );
void startCurveModification( CurveCreator_ICurve::SectionToPointList& thePoints,
const bool theFillPoints = true );
- void finishCurveModification( const CurveCreator_ICurve::SectionToPointList& thePoints =
+ void finishCurveModification( const CurveCreator_ICurve::SectionToPointList& thePoints =
CurveCreator_ICurve::SectionToPointList() );
// curve algorithm
CurveCreator_ICurve::SectionToPointList() );
// curve algorithm