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

Diff of /infoscreen/pictureview.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 527 by torben, Tue Jan 5 17:19:02 2010 UTC revision 528 by torben, Wed Jan 6 22:18:52 2010 UTC
# Line 3  Line 3 
3    
4  #include <QWidget>  #include <QWidget>
5  #include <QMap>  #include <QMap>
6  #include <QHttp>  
7    
8    
9  class PictureView : public QWidget  class PictureView : public QWidget
# Line 12  class PictureView : public QWidget Line 12  class PictureView : public QWidget
12  public:  public:
13      PictureView(QWidget* parent);      PictureView(QWidget* parent);
14      void loadFromUrl(QString source);      void loadFromUrl(QString source);
15  public slots:  
     void onLoad(int id, bool ok);  
16  protected:  protected:
17      virtual void paintEvent ( QPaintEvent* event);      virtual void paintEvent ( QPaintEvent* event);
18  private:  private:
     QHttp http;  
19      QMap<QString, QPixmap> map;      QMap<QString, QPixmap> map;
     QString requestedUrl;  
20    
21      QPixmap image;      QPixmap image;
22    

Legend:
Removed from v.527  
changed lines
  Added in v.528

  ViewVC Help
Powered by ViewVC 1.1.20