mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-25 06:10:33 +05:00
refs #1331: access to methods for testing purposes
This commit is contained in:
parent
e7c4b29a9e
commit
19eba9530f
@ -98,14 +98,15 @@ public:
|
|||||||
void setSelectedPoints( const CurveCreator_ICurve::SectionToPointList& =
|
void setSelectedPoints( const CurveCreator_ICurve::SectionToPointList& =
|
||||||
CurveCreator_ICurve::SectionToPointList() );
|
CurveCreator_ICurve::SectionToPointList() );
|
||||||
|
|
||||||
|
void updateLocalPointView();
|
||||||
|
void setLocalPointContext( const bool theOpen, const bool isUpdateTable = false );
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void selectionChanged();
|
void selectionChanged();
|
||||||
void subOperationStarted( QWidget*, bool );
|
void subOperationStarted( QWidget*, bool );
|
||||||
void subOperationFinished( QWidget* );
|
void subOperationFinished( QWidget* );
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|
||||||
protected slots:
|
|
||||||
void onAdditionMode(bool checked);
|
void onAdditionMode(bool checked);
|
||||||
void onModificationMode(bool checked);
|
void onModificationMode(bool checked);
|
||||||
void onDetectionMode(bool checked);
|
void onDetectionMode(bool checked);
|
||||||
@ -165,13 +166,15 @@ protected:
|
|||||||
BRING_TOGETHER_ID
|
BRING_TOGETHER_ID
|
||||||
};
|
};
|
||||||
|
|
||||||
|
public:
|
||||||
|
QAction* getAction(ActionId theId);
|
||||||
|
QAction* getAction(ActionMode theMode);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
OCCViewer_Viewer* getOCCViewer();
|
OCCViewer_Viewer* getOCCViewer();
|
||||||
|
|
||||||
QAction* createAction( ActionId theId, const QString& theName, const QPixmap& theImage,
|
QAction* createAction( ActionId theId, const QString& theName, const QPixmap& theImage,
|
||||||
const QString& theToolTip, const QKeySequence& theShortcut );
|
const QString& theToolTip, const QKeySequence& theShortcut );
|
||||||
QAction* getAction(ActionId theId);
|
|
||||||
QAction* getAction(ActionMode theMode);
|
|
||||||
|
|
||||||
void updateActionsStates();
|
void updateActionsStates();
|
||||||
void updateUndoRedo();
|
void updateUndoRedo();
|
||||||
@ -182,8 +185,6 @@ private:
|
|||||||
void insertPointToSelectedSegment( const int theXPosition,
|
void insertPointToSelectedSegment( const int theXPosition,
|
||||||
const int theYPosition );
|
const int theYPosition );
|
||||||
void moveSelectedPoints( const int theXPosition, const int theYPosition );
|
void moveSelectedPoints( const int theXPosition, const int theYPosition );
|
||||||
void updateLocalPointView();
|
|
||||||
void setLocalPointContext( const bool theOpen, const bool isUpdateTable = false );
|
|
||||||
|
|
||||||
void setDragStarted( const bool theState, const QPoint& thePoint = QPoint() );
|
void setDragStarted( const bool theState, const QPoint& thePoint = QPoint() );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user