Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ProfileDlg.h
diff --git
a/src/HYDROGUI/HYDROGUI_ProfileDlg.h
b/src/HYDROGUI/HYDROGUI_ProfileDlg.h
index 266599303d8940e5cd06a5ee802063d37db31288..7c9e0d46d5340aa2200a5e89d176b48aa87bb55f 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ProfileDlg.h
+++ b/
src/HYDROGUI/HYDROGUI_ProfileDlg.h
@@
-25,11
+25,15
@@
#include "HYDROGUI_InputPanel.h"
#include "HYDROGUI_InputPanel.h"
-class QGroupBox;
-class QLineEdit;
+#include <AIS_InteractiveContext.hxx>
+
class CurveCreator_Widget;
class CurveCreator_ICurve;
class CurveCreator_Widget;
class CurveCreator_ICurve;
-class OCCViewer_Viewer;
+class OCCViewer_ViewManager;
+class SUIT_ViewWindow;
+class QGroupBox;
+class QLineEdit;
+class QLabel;
class HYDROGUI_ProfileDlg : public HYDROGUI_InputPanel
{
class HYDROGUI_ProfileDlg : public HYDROGUI_InputPanel
{
@@
-39,24
+43,29
@@
public:
HYDROGUI_ProfileDlg( HYDROGUI_Module* theModule, const QString& theTitle );
virtual ~HYDROGUI_ProfileDlg();
HYDROGUI_ProfileDlg( HYDROGUI_Module* theModule, const QString& theTitle );
virtual ~HYDROGUI_ProfileDlg();
-
void setOCCViewer( OCCViewer_Viewer* theViewer
);
+
Handle(AIS_InteractiveContext) getAISContext(
);
void setProfileName( const QString& theName );
QString getProfileName() const;
void setProfileName( const QString& theName );
QString getProfileName() const;
- void set
Curve( CurveCreator_ICurve* theCurv
e );
+ void set
Profile( CurveCreator_ICurve* theProfil
e );
void reset();
QList<int> getSelectedSections();
void reset();
QList<int> getSelectedSections();
- QList< QPair< int, int > > getSelectedPoints();
void deleteSelected();
bool deleteEnabled();
void deleteSelected();
bool deleteEnabled();
+protected:
+ virtual bool eventFilter( QObject*, QEvent* );
+
protected slots:
protected slots:
- void processStartedSubOperation( QWidget* );
+ void processStartedSubOperation( QWidget*
, bool
);
void processFinishedSubOperation( QWidget* );
void processFinishedSubOperation( QWidget* );
+
+ void onMouseMove( SUIT_ViewWindow*, QMouseEvent* );
+
signals:
void createPreview( QString );
void selectionChanged();
signals:
void createPreview( QString );
void selectionChanged();
@@
-64,9
+73,11
@@
signals:
void subOperationStarted(QWidget*);
void subOperationFinished(QWidget*);
private:
void subOperationStarted(QWidget*);
void subOperationFinished(QWidget*);
private:
- QLineEdit* myName;
- CurveCreator_Widget* myEditorWidget;
- //QGroupBox* myAddElementBox;
+ QLineEdit* myName;
+ CurveCreator_Widget* myEditorWidget;
+ QGroupBox* myAddElementBox;
+ OCCViewer_ViewManager* myViewManager;
+ QLabel* myCoordLabel;
};
#endif
};
#endif