Mercurial > hg > svgui
comparison widgets/ImageDialog.h @ 305:013a37723c0a
* Add support for remote files to image layer
author | Chris Cannam |
---|---|
date | Fri, 05 Oct 2007 15:52:52 +0000 |
parents | 4b7e8da8f069 |
children | e9fe3923bdf4 |
comparison
equal
deleted
inserted
replaced
304:4b7e8da8f069 | 305:013a37723c0a |
---|---|
20 #include <QString> | 20 #include <QString> |
21 | 21 |
22 class QLineEdit; | 22 class QLineEdit; |
23 class QLabel; | 23 class QLabel; |
24 class QPushButton; | 24 class QPushButton; |
25 class RemoteFile; | |
25 | 26 |
26 class ImageDialog : public QDialog | 27 class ImageDialog : public QDialog |
27 { | 28 { |
28 Q_OBJECT | 29 Q_OBJECT |
29 | 30 |
48 void updatePreview(); | 49 void updatePreview(); |
49 | 50 |
50 protected slots: | 51 protected slots: |
51 void browseClicked(); | 52 void browseClicked(); |
52 void imageEditEdited(const QString &); | 53 void imageEditEdited(const QString &); |
54 void imageEditEdited(); | |
53 | 55 |
54 protected: | 56 protected: |
55 void resizeEvent(QResizeEvent *); | 57 void resizeEvent(QResizeEvent *); |
56 | 58 |
57 QLineEdit *m_imageEdit; | 59 QLineEdit *m_imageEdit; |
60 | 62 |
61 QString m_loadedImageFile; | 63 QString m_loadedImageFile; |
62 QPixmap m_loadedImage; | 64 QPixmap m_loadedImage; |
63 | 65 |
64 QPushButton *m_okButton; | 66 QPushButton *m_okButton; |
67 | |
68 RemoteFile *m_remoteFile; | |
65 }; | 69 }; |
66 | 70 |
67 #endif | 71 #endif |