home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / richtext / richtext.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-11  |  783 b   |  38 lines

  1. /****************************************************************************
  2. ** $Id:  qt/richtext.h   3.0.0   edited Jun 22 13:24 $
  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 RICHTEXT_H
  12. #define RICHTEXT_H
  13.  
  14. #include <qvbox.h>
  15.  
  16. class QTextView;
  17. class QPushButton;
  18.  
  19. class MyRichText : public QVBox
  20. {
  21.     Q_OBJECT
  22.  
  23. public:
  24.     MyRichText( QWidget *parent = 0, const char *name = 0 );
  25.  
  26. protected:
  27.     QTextView *view;
  28.     QPushButton *bClose, *bNext, *bPrev;
  29.     int num;
  30.  
  31. protected slots:
  32.     void prev();
  33.     void next();
  34.  
  35. };
  36.  
  37. #endif
  38.