]> rtime.felk.cvut.cz Git - orte.git/blob - orte/contrib/shape/richtext.h
New version of shapedemo
[orte.git] / orte / contrib / shape / richtext.h
1 /****************************************************************************
2 ** $Id: richtext.h,v 1.1 2004/03/17 22:46:13 smolik Exp $
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     void setTextPublisher();
26     void setTextSubscriber();
27     const char **sayings;
28
29 protected:
30     QTextView *view;
31     QPushButton *bClose, *bNext, *bPrev;
32     int num;
33
34 protected slots:
35     void prev();
36     void next();
37
38 };
39
40 #endif