+#include <HYDROGUI_Operations.h>
+#include <HYDROGUI_BathymetryPrs.h>
+#include <HYDROGUI_ShapeBathymetry.h>
+#include <HYDROGUI_Module.h>
+#include <LightApp_Application.h>
+#include <OCCViewer_ViewManager.h>
+#include <OCCViewer_ViewWindow.h>
+#include <QtxDoubleSpinBox.h>
+#include <SUIT_Desktop.h>
+#include <QLayout>
+#include <QPushButton>
+
+HYDROGUI_BathymetryLimitsDlg::HYDROGUI_BathymetryLimitsDlg( QWidget* theParent )
+ : QDialog( theParent )
+{
+ QGridLayout* layout = new QGridLayout();
+ setLayout( layout );
+
+ layout->addWidget( new QLabel( tr( "MIN_VALUE" ) ), 0, 0 );
+ layout->addWidget( new QLabel( tr( "MAX_VALUE" ) ), 1, 0 );
+
+ myMin = new QtxDoubleSpinBox( this );
+ myMax = new QtxDoubleSpinBox( this );
+
+ layout->addWidget( myMin, 0, 1 );
+ layout->addWidget( myMax, 1, 1 );
+
+ QFrame* aBtnFrame = new QFrame( this );
+ QHBoxLayout* aBtnLayout = new QHBoxLayout( aBtnFrame );
+ layout->addWidget( aBtnFrame, 2, 0, 1, 2 );
+
+ QPushButton* ok = new QPushButton( tr( "OK" ), this );
+ QPushButton* cancel = new QPushButton( tr( "CANCEL" ), this );
+ aBtnLayout->addWidget( ok );
+ aBtnLayout->addWidget( cancel );
+
+ connect( ok, SIGNAL( clicked() ), this, SLOT( accept() ) );
+ connect( ok, SIGNAL( clicked() ), this, SLOT( reject() ) );
+}
+
+HYDROGUI_BathymetryLimitsDlg::~HYDROGUI_BathymetryLimitsDlg()
+{
+}
+
+double HYDROGUI_BathymetryLimitsDlg::GetMin() const
+{
+ return myMin->value();
+}
+
+double HYDROGUI_BathymetryLimitsDlg::GetMax() const
+{
+ return myMax->value();
+}
+
+void HYDROGUI_BathymetryLimitsDlg::SetMinMax( double theMin, double theMax )
+{
+ myMin->setValue( theMin );
+ myMax->setValue( theMax );
+}
+
+
+
+