| Last change
 on this file since 73 was             2, checked in by dmik, 20 years ago | 
        
          | 
Imported xplatform parts of the official release 3.3.1 from Trolltech
 | 
        
          | 
              
Property                 svn:keywords
 set to                 Id | 
        
          | File size:
            1.0 KB | 
      
      
| Line |  | 
|---|
| 1 | /**************************************************************************** | 
|---|
| 2 | ** $Id: wizard.h 2 2005-11-16 15:49:26Z dmik $ | 
|---|
| 3 | ** | 
|---|
| 4 | ** Copyright (C) 1992-2000 Trolltech AS.  All rights reserved. | 
|---|
| 5 | ** | 
|---|
| 6 | ** This file is part of an example program for Qt.  This example | 
|---|
| 7 | ** program may be used, distributed and modified without limitation. | 
|---|
| 8 | ** | 
|---|
| 9 | *****************************************************************************/ | 
|---|
| 10 |  | 
|---|
| 11 | #ifndef WIZARD_H | 
|---|
| 12 | #define WIZARD_H | 
|---|
| 13 |  | 
|---|
| 14 | #include <qwizard.h> | 
|---|
| 15 |  | 
|---|
| 16 | class QWidget; | 
|---|
| 17 | class QHBox; | 
|---|
| 18 | class QLineEdit; | 
|---|
| 19 | class QLabel; | 
|---|
| 20 |  | 
|---|
| 21 | class Wizard : public QWizard | 
|---|
| 22 | { | 
|---|
| 23 | Q_OBJECT | 
|---|
| 24 |  | 
|---|
| 25 | public: | 
|---|
| 26 | Wizard( QWidget *parent = 0, const char *name = 0 ); | 
|---|
| 27 |  | 
|---|
| 28 | void showPage(QWidget* page); | 
|---|
| 29 |  | 
|---|
| 30 | protected: | 
|---|
| 31 | void setupPage1(); | 
|---|
| 32 | void setupPage2(); | 
|---|
| 33 | void setupPage3(); | 
|---|
| 34 |  | 
|---|
| 35 | QHBox *page1, *page2, *page3; | 
|---|
| 36 | QLineEdit *key, *firstName, *lastName, *address, *phone, *email; | 
|---|
| 37 | QLabel *lKey, *lFirstName, *lLastName, *lAddress, *lPhone, *lEmail; | 
|---|
| 38 |  | 
|---|
| 39 | protected slots: | 
|---|
| 40 | void keyChanged( const QString & ); | 
|---|
| 41 | void dataChanged( const QString & ); | 
|---|
| 42 |  | 
|---|
| 43 | }; | 
|---|
| 44 |  | 
|---|
| 45 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.