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

Annotation of /infoscreen/clientsiderender.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 524 - (hide 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 torben 515 #ifndef CLIENTSIDERENDER_H
2     #define CLIENTSIDERENDER_H
3    
4     #include <QWidget>
5 torben 524 #include <QMap>
6 torben 515
7 torben 524
8 torben 515 class QGraphicsTextItem;
9     class QGraphicsView;
10     class QGraphicsScene;
11 torben 524 class QHttp;
12 torben 515
13 torben 524
14 torben 515 class ClientSideRender : public QWidget
15     {
16 torben 524 Q_OBJECT
17 torben 515 public:
18     ClientSideRender(QWidget* parent);
19 torben 516
20     void timerTick();
21 torben 524 void draw();
22    
23    
24 torben 515 protected:
25     virtual void resizeEvent ( QResizeEvent * event );
26     private:
27     QGraphicsTextItem *text;
28     QGraphicsView* view ;
29     QGraphicsScene* scene;
30 torben 524 QHttp* http;
31     QMap<QString, QPixmap> map;
32     QString requestedUrl;
33 torben 515 };
34    
35     #endif // CLIENTSIDERENDER_H

  ViewVC Help
Powered by ViewVC 1.1.20