]> rtime.felk.cvut.cz Git - orte.git/blob - orte/contrib/shape/richtext.h
orte 0.3.2 release
[orte.git] / orte / contrib / shape / richtext.h
1 /****************************************************************************
2 ** $Id: richtext.h,v 1.6 2008/10/07 21:19:07 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 <qglobal.h>
15 #include <QPushButton>
16 #include <QTextBrowser>
17 #include <QWidget>
18 #include <QVBoxLayout>
19 #include <QHBoxLayout>
20
21 class MyRichText : public QWidget
22 {
23     Q_OBJECT
24
25 public:
26     MyRichText( QWidget *parent = 0, Qt::WindowFlags f = 0);
27     void setTextPublisher();
28     void setTextSubscriber();
29     const char **sayings;
30
31 protected:
32     QTextBrowser *view;
33     QPushButton *bClose, *bNext, *bPrev;
34     int num;
35
36 protected slots:
37     void prev();
38     void next();
39
40 };
41
42 #endif