summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/imageview.h
blob: f61c93f48ddf051d92734a198cc05bdca7f8f9e3 (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
#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;
    }
    namespace Ui {
        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::Ui::OKeyConfigManager* manager();

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

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