/[projects]/infoscreen/clientsiderender.h
ViewVC logotype

Contents of /infoscreen/clientsiderender.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 524 - (show annotations) (download)
Tue Jan 5 14:03:06 2010 UTC (14 years, 4 months ago) by torben
File MIME type: text/plain
File size: 584 byte(s)
Added a plain picture viewer
1 #ifndef CLIENTSIDERENDER_H
2 #define CLIENTSIDERENDER_H
3
4 #include <QWidget>
5 #include <QMap>
6
7
8 class QGraphicsTextItem;
9 class QGraphicsView;
10 class QGraphicsScene;
11 class QHttp;
12
13
14 class ClientSideRender : public QWidget
15 {
16 Q_OBJECT
17 public:
18 ClientSideRender(QWidget* parent);
19
20 void timerTick();
21 void draw();
22
23
24 protected:
25 virtual void resizeEvent ( QResizeEvent * event );
26 private:
27 QGraphicsTextItem *text;
28 QGraphicsView* view ;
29 QGraphicsScene* scene;
30 QHttp* http;
31 QMap<QString, QPixmap> map;
32 QString requestedUrl;
33 };
34
35 #endif // CLIENTSIDERENDER_H

  ViewVC Help
Powered by ViewVC 1.1.20