#include <QLineEdit>
#include <QPicture>
#include <QToolButton>
+#include <QCheckBox>
HYDROGUI_ImportBathymetryDlg::HYDROGUI_ImportBathymetryDlg( HYDROGUI_Module* theModule, const QString& theTitle )
: HYDROGUI_InputPanel( theModule, theTitle )
aBathymetryNameLayout->addWidget( aBathymetryNameLabel );
aBathymetryNameLayout->addWidget( myObjectName );
+ myInvertAltitudes = new QCheckBox( tr( "INVERT_BATHYMETRY_ALTITUDES" ), this );
+
// Common
addWidget( myFileNameGroup );
addWidget( myObjectNameGroup );
+ addWidget( myInvertAltitudes );
+
addStretch();
connect( aBrowseBtn, SIGNAL( clicked() ), this, SLOT( onBrowse() ) );
return myFileName->text();
}
+void HYDROGUI_ImportBathymetryDlg::setInvertAltitudes( const bool theIsInvert )
+{
+ myInvertAltitudes->setChecked( theIsInvert );
+}
+
+bool HYDROGUI_ImportBathymetryDlg::isInvertAltitudes() const
+{
+ return myInvertAltitudes->isChecked();
+}
+
void HYDROGUI_ImportBathymetryDlg::onBrowse()
{
QString aFilter( tr( "BATHYMETRY_FILTER" ) );