#include "HYDROGUI_InputPanel.h"
-class QGroupBox;
+#include <AIS_InteractiveContext.hxx>
+
class QLineEdit;
class CurveCreator_Widget;
class CurveCreator_ICurve;
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 setCurve( CurveCreator_ICurve* theCurve );
+ void setProfile( CurveCreator_ICurve* theProfile );
void reset();
void deleteSelected();
bool deleteEnabled();
-protected slots:
- void processStartedSubOperation( QWidget* );
- void processFinishedSubOperation( QWidget* );
signals:
void createPreview( QString );
void selectionChanged();
private:
QLineEdit* myName;
CurveCreator_Widget* myEditorWidget;
- QGroupBox* myAddElementBox;
+ OCCViewer_Viewer* myViewer;
};
#endif