summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/imageview.h
blob: 87e2b322343effd1c2a8d58a5c68b74a6fdb587c (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
#ifndef _IMAGE_VIEW_H
#define _IMAGE_VIEW_H

/* must be changed when it will moved to Opie::MM */
#include "imagescrollview.h"

namespace Opie {
    namespace Core {
        class OConfig;
        class OKeyConfigManager;
    }
}

class ImageView:public ImageScrollView
{
    Q_OBJECT

    enum ActionIds {
        ViewInfo
    };

public:
    ImageView(Opie::Core::OConfig *cfg, QWidget* parent, const char* name = 0, WFlags fl = 0 );
    virtual ~ImageView();
    Opie::Core::OKeyConfigManager* manager();

signals:
    void dispImageInfo(const QString&);
    void sig_return();

protected:
    Opie::Core::OConfig * m_cfg;
    Opie::Core::OKeyConfigManager*m_viewManager;
    void initKeys();
protected slots:
    virtual void slotShowImageInfo();
};
#endif