+
+ aCurIdx = myWizard->currentIndex();
+ if ( aCurIdx <= 0 )
+ {
+ // Disable back if go to the first page
+ myBack->setEnabled( false );
+ }
+
+ emit Back( aCurIdx );
+}
+
+void HYDROGUI_Wizard::onFirstPage()
+{
+ if ( myWizard->count() > 1 ) {
+ myNext->setVisible( true );
+ myFinish->setVisible( false );
+ myWizard->setCurrentIndex( 0 );
+ myBack->setEnabled( false );
+ emit Back( myWizard->currentIndex() );
+ }
+}
+
+bool HYDROGUI_Wizard::acceptCurrent() const
+{
+ return true;