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

Annotation of /infoscreen/pictureview.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 526 - (hide annotations) (download)
Tue Jan 5 17:19:02 2010 UTC (14 years, 4 months ago) by torben
File MIME type: text/plain
File size: 471 byte(s)
added bugs in pictureview
1 torben 524 #ifndef PICTUREVIEW_H
2     #define PICTUREVIEW_H
3    
4     #include <QWidget>
5     #include <QMap>
6 torben 526 #include <QHttp>
7 torben 524
8    
9     class PictureView : public QWidget
10     {
11     Q_OBJECT
12     public:
13     PictureView(QWidget* parent);
14     void loadFromUrl(QString source);
15     public slots:
16     void onLoad(int id, bool ok);
17     protected:
18     virtual void paintEvent ( QPaintEvent* event);
19     private:
20 torben 526 QHttp http;
21 torben 524 QMap<QString, QPixmap> map;
22     QString requestedUrl;
23    
24     QPixmap image;
25    
26     };
27    
28     #endif // PICTUREVIEW_H

  ViewVC Help
Powered by ViewVC 1.1.20