26 #ifndef IMG_OV_GUI_OVDIALOG_H
27 #define IMG_OV_GUI_OVDIALOG_H
35 #include <QRadioButton>
38 #include <QGridLayout>
40 #include <QPushButton>
41 #include <QButtonGroup>
42 namespace ost {
namespace img {
namespace gui {
103 typedef std::map<int, OverlayEntry> EntryMap;
134 QButtonGroup* active_group_;
135 QGridLayout* layout_;
OverlayCustomVisCheckBox(int i, OverlayManager *m)
virtual void OnRemoveOverlay(OverlayManager *m, int id)
called on removal of an overlay
OverlayCustomActCheckBox(int i, OverlayManager *m)
virtual void OnLockChange(OverlayManager *m, int id, bool lock)
called on overlay lock change
void SetInfoText(const QString &t)
void OnEventMenuPopup(QAction *e)
QButtonGroup * GetButtonGroup(void)
void OnEventActivate(QAction *e)
virtual void OnRelease(OverlayManager *m)
called if observed manager will go out of scope
void OnEventShowHide(QAction *e)
OverlayCustomLockCheckBox(int i, OverlayManager *m)
virtual void OnAddOverlay(OverlayManager *m, int id)
called on addition of an overlay
virtual void OnActivate(OverlayManager *m, int id)
called on overlay activation
OverlayManagerGUI(QWidget *p, OverlayManagerPtr ov_manager)
virtual void OnVisibilityChange(OverlayManager *m, int id, bool is_visible)
called on overlay visibility change
void OnEventMenu(QAction *e)
void OnEventLock(QAction *e)
boost::shared_ptr< OverlayManager > OverlayManagerPtr
Abstract observer base class for the OverlayManager.