summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/imageinfoui.h
blob: 34ec9376d32ef0872cece120eaa8eee2e599768c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef IMAGEINFO_H
#define IMAGEINFO_H

#include <qvariant.h>
#include <qwidget.h>
#include <qdialog.h>

class QVBoxLayout; 
class QHBoxLayout; 
class QGridLayout; 
class QFrame;
class QLabel;
class QTextView;

class imageinfo : public QWidget
{ 
    Q_OBJECT

public:
    imageinfo(const QString&_path, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~imageinfo();

    QLabel* PixmapLabel1;
    QLabel* fnameLabel;
    QFrame* Line1;
    QTextView* TextView1;

protected:
    QVBoxLayout* imageinfoLayout;
    QString currentFile;

protected slots:
    virtual void slot_fullInfo(const QString&, const QString&);
    virtual void slotThumbNail(const QString&, const QPixmap&);
    
    virtual void slotChangeName(const QString&);
};

/* for testing purpose */
class infoDlg:public QDialog
{
    Q_OBJECT
public:
    infoDlg(const QString&,QWidget * parent=0, const char * name=0);
    virtual ~infoDlg();
};

#endif // IMAGEINFO_H