Parent Directory | Revision Log
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 |