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
Bos #24055 [CEA 24054] Editing ExtrusionCut object updates other.
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_Workshop.h
diff --git
a/src/XGUI/XGUI_Workshop.h
b/src/XGUI/XGUI_Workshop.h
index 8f524f3cb5d92244bc573f7356c612d00d989f52..c503990f9671babb5fb79093e419705d31d0d3f5 100644
(file)
--- a/
src/XGUI/XGUI_Workshop.h
+++ b/
src/XGUI/XGUI_Workshop.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-20
19
CEA/DEN, EDF R&D
+// Copyright (C) 2014-20
20
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
@@
-186,7
+186,7
@@
Q_OBJECT
bool canMoveFeature();
/// Move selected features to be after the current feature
bool canMoveFeature();
/// Move selected features to be after the current feature
- void moveObjects();
+ void moveObjects(
const bool theSplit
);
/// Returns true if the object can be shaded. If the object is a compsolid result, the method
/// checks subobjects of the result
/// Returns true if the object can be shaded. If the object is a compsolid result, the method
/// checks subobjects of the result
@@
-213,6
+213,10
@@
Q_OBJECT
/// theObjects a list of selected objects
void changeTransparency(const QObjectPtrList& theObjects);
/// theObjects a list of selected objects
void changeTransparency(const QObjectPtrList& theObjects);
+ /// Change number of iso-lines for the given objects
+ /// theObjects a list of selected objects
+ void changeIsoLines(const QObjectPtrList& theObjects);
+
/// Show the given features in 3d Viewer
void showObjects(const QObjectPtrList& theList, bool isVisible);
/// Show the given features in 3d Viewer
void showObjects(const QObjectPtrList& theList, bool isVisible);
@@
-316,6
+320,9
@@
Q_OBJECT
/// A constant string used for "Move to end" command definition
/// It is used for specific processing of Undo/Redo for this command.
static QString MOVE_TO_END_COMMAND;
/// A constant string used for "Move to end" command definition
/// It is used for specific processing of Undo/Redo for this command.
static QString MOVE_TO_END_COMMAND;
+ /// A constant string used for "Move to end and split" command definition
+ /// It is used for specific processing of Undo/Redo for this command.
+ static QString MOVE_TO_END_SPLIT_COMMAND;
/// Closes all in the current session and load the directory
/// \param theDirectory a path to directory
/// Closes all in the current session and load the directory
/// \param theDirectory a path to directory
@@
-328,6
+335,8
@@
Q_OBJECT
/// The method updates a Color Scale object in the viewer
void updateColorScaleVisibility();
/// The method updates a Color Scale object in the viewer
void updateColorScaleVisibility();
+ void showHelpPage(const QString& thePage) const;
+
signals:
/// Emitted when selection happens in Salome viewer
void salomeViewerSelection();
signals:
/// Emitted when selection happens in Salome viewer
void salomeViewerSelection();
@@
-395,6
+404,18
@@
signals:
/// Create a new document
void onNew();
/// Create a new document
void onNew();
+ /// Import part structure from a file
+ void onImportPart();
+
+ /// Import shape from a file
+ void onImportShape();
+
+ /// Export features to a file
+ void onExportPart();
+
+ /// Export a shape to a file
+ void onExportShape();
+
#ifndef HAVE_SALOME
/// Exit application
void onExit();
#ifndef HAVE_SALOME
/// Exit application
void onExit();
@@
-475,7
+496,7
@@
private:
void onPreviewActionClicked();
/// Called on help button clicked in the property panel.
void onPreviewActionClicked();
/// Called on help button clicked in the property panel.
- void onHelpActionClicked();
+ void onHelpActionClicked()
const
;
//! The slot is called only once on resizing of Object Browser
void onDockSizeChanged();
//! The slot is called only once on resizing of Object Browser
void onDockSizeChanged();