00001 #ifndef IGUANA_STUDIO_IG_QT_FOCUSMANAGER_H
00002 # define IGUANA_STUDIO_IG_QT_FOCUSMANAGER_H
00003
00004
00005
00006 # include "Iguana/Studio/interface/config.h"
00007 # include <qobject.h>
00008 # include <map>
00009
00010
00011
00012
00013
00014 class QWidget;
00015 class IgState;
00016 class IgView;
00017
00018
00019
00020
00021
00022
00023
00024 class IGUANA_STUDIO_API IgQtFocusManager : public QObject
00025 {
00026 Q_OBJECT
00027 public:
00028 IgQtFocusManager (IgState *state, std::map<QWidget *, IgView *> *views);
00029
00030 public slots:
00031 void windowActivated (QWidget *widget);
00032
00033
00034
00035
00036 private:
00037 IgState *m_state;
00038 std::map<QWidget *, IgView *> *m_views;
00039 IgView *m_oldView;
00040 };
00041
00042
00043
00044
00045 #endif // IGUANA_STUDIO_IG_QT_FOCUSMANAGER_H