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

Annotation of /infoscreen/pictureview.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 528 - (hide annotations) (download)
Wed Jan 6 22:18:52 2010 UTC (14 years, 4 months ago) by torben
File MIME type: text/plain
File size: 366 byte(s)
first functioning clientside xml-controlled switch
1 torben 524 #ifndef PICTUREVIEW_H
2     #define PICTUREVIEW_H
3    
4     #include <QWidget>
5     #include <QMap>
6    
7    
8 torben 528
9 torben 524 class PictureView : public QWidget
10     {
11     Q_OBJECT
12     public:
13     PictureView(QWidget* parent);
14     void loadFromUrl(QString source);
15 torben 528
16 torben 524 protected:
17     virtual void paintEvent ( QPaintEvent* event);
18     private:
19     QMap<QString, QPixmap> map;
20    
21     QPixmap image;
22    
23     };
24    
25     #endif // PICTUREVIEW_H

  ViewVC Help
Powered by ViewVC 1.1.20