-// File : InstallWizard.h
-// Created : Thu Mar 27 12:01:00 2003
-// Author : Vadim SANDLER
-// Project : PAL/SALOME
-// Module : InstallWizard
-// Copyright : 2004 CEA
-// $Header$
+/****************************************************************************
+** $Id$
+**
+** Definition of the QWizard class.
+**
+** Created : 990101
+**
+** Copyright (C) 1999 by Trolltech AS. All rights reserved.
+**
+** This file is part of the dialogs module of the Qt GUI Toolkit.
+**
+** This file may be distributed under the terms of the Q Public License
+** as defined by Trolltech AS of Norway and appearing in the file
+** LICENSE.QPL included in the packaging of this file.
+**
+** This file may be distributed and/or modified under the terms of the
+** GNU General Public License version 2 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file.
+**
+** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
+** licenses may use this file in accordance with the Qt Commercial License
+** Agreement provided with the Software.
+**
+** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+**
+** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
+** information about Qt Commercial License Agreements.
+** See http://www.trolltech.com/qpl/ for QPL licensing information.
+** See http://www.trolltech.com/gpl/ for GPL licensing information.
+**
+** Contact info@trolltech.com if any conditions of this licensing are
+** not clear to you.
+**
+**********************************************************************/
#ifndef InstallWizard_h
#define InstallWizard_h
-#include "qdialog.h"
+#include <qdialog.h>
/*!
- This is the patched QWizard class
+ This is the patched Qt 3.0.5 QWizard class
*/
class QHBoxLayout;
class InstallWizardPrivate;
public:
InstallWizard( QWidget* parent=0, const char* name=0, bool modal=FALSE, WFlags f=0 );
~InstallWizard();
+
+ static void postValidateEvent( InstallWizard* iw, const int val = 0, void* data = 0 );
+ virtual void processValidateEvent( const int val, void* data );
+
+ bool event ( QEvent * e );
+
void show();
void setFont( const QFont & font );
QWidget* page( const QString& title ) const;
int pageCount() const;
int indexOf( QWidget* ) const;
+
+ void addLogo( const QPixmap& pm );
+ void removeLogos();
virtual bool appropriate( QWidget * ) const;
virtual void setAppropriate( QWidget *, bool );
virtual void help();
signals:
+ void nextClicked();
+ void backClicked();
void helpClicked();
void selected( const QString& );
virtual void layOutTitleRow( QHBoxLayout *, const QString & );
virtual bool acceptData( const QString& );
void layOut();
-
-private:
void setBackEnabled( bool );
void setNextEnabled( bool );
+private:
void setHelpEnabled( bool );
void setNextPage( QWidget * );