author | alwin <alwin> | 2004-04-04 02:44:21 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-04 02:44:21 (UTC) |
commit | df0b892f8ec86ae6d21351a8ce1677d904dcdb2a (patch) (unidiff) | |
tree | 57dfd32247fe39ff480cc5e174675150112ed46f /noncore/graphics/opie-eye/gui/imageinfoui.h | |
parent | 354ad5e87ce582ee45b52cd6019bb94348958584 (diff) | |
download | opie-df0b892f8ec86ae6d21351a8ce1677d904dcdb2a.zip opie-df0b892f8ec86ae6d21351a8ce1677d904dcdb2a.tar.gz opie-df0b892f8ec86ae6d21351a8ce1677d904dcdb2a.tar.bz2 |
first shot of an image info widget (this moment encapsulated just in a test
dlg which will removed later)
Diffstat (limited to 'noncore/graphics/opie-eye/gui/imageinfoui.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/imageinfoui.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageinfoui.h b/noncore/graphics/opie-eye/gui/imageinfoui.h new file mode 100644 index 0000000..34ec937 --- a/dev/null +++ b/noncore/graphics/opie-eye/gui/imageinfoui.h | |||
@@ -0,0 +1,48 @@ | |||
1 | #ifndef IMAGEINFO_H | ||
2 | #define IMAGEINFO_H | ||
3 | |||
4 | #include <qvariant.h> | ||
5 | #include <qwidget.h> | ||
6 | #include <qdialog.h> | ||
7 | |||
8 | class QVBoxLayout; | ||
9 | class QHBoxLayout; | ||
10 | class QGridLayout; | ||
11 | class QFrame; | ||
12 | class QLabel; | ||
13 | class QTextView; | ||
14 | |||
15 | class imageinfo : public QWidget | ||
16 | { | ||
17 | Q_OBJECT | ||
18 | |||
19 | public: | ||
20 | imageinfo(const QString&_path, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
21 | ~imageinfo(); | ||
22 | |||
23 | QLabel* PixmapLabel1; | ||
24 | QLabel* fnameLabel; | ||
25 | QFrame* Line1; | ||
26 | QTextView* TextView1; | ||
27 | |||
28 | protected: | ||
29 | QVBoxLayout* imageinfoLayout; | ||
30 | QString currentFile; | ||
31 | |||
32 | protected slots: | ||
33 | virtual void slot_fullInfo(const QString&, const QString&); | ||
34 | virtual void slotThumbNail(const QString&, const QPixmap&); | ||
35 | |||
36 | virtual void slotChangeName(const QString&); | ||
37 | }; | ||
38 | |||
39 | /* for testing purpose */ | ||
40 | class infoDlg:public QDialog | ||
41 | { | ||
42 | Q_OBJECT | ||
43 | public: | ||
44 | infoDlg(const QString&,QWidget * parent=0, const char * name=0); | ||
45 | virtual ~infoDlg(); | ||
46 | }; | ||
47 | |||
48 | #endif // IMAGEINFO_H | ||