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_;
OverlayCustomActCheckBox(int i, OverlayManager *m)
OverlayCustomLockCheckBox(int i, OverlayManager *m)
OverlayCustomVisCheckBox(int i, OverlayManager *m)
QButtonGroup * GetButtonGroup(void)
virtual void OnVisibilityChange(OverlayManager *m, int id, bool is_visible)
called on overlay visibility change
virtual void OnRemoveOverlay(OverlayManager *m, int id)
called on removal of an overlay
void OnEventMenu(QAction *e)
OverlayManagerGUI(QWidget *p, OverlayManagerPtr ov_manager)
void SetInfoText(const QString &t)
void OnEventActivate(QAction *e)
virtual void OnRelease(OverlayManager *m)
called if observed manager will go out of scope
void OnEventLock(QAction *e)
virtual void OnLockChange(OverlayManager *m, int id, bool lock)
called on overlay lock change
void OnEventShowHide(QAction *e)
virtual void OnAddOverlay(OverlayManager *m, int id)
called on addition of an overlay
void OnEventMenuPopup(QAction *e)
virtual void OnActivate(OverlayManager *m, int id)
called on overlay activation
Abstract observer base class for the OverlayManager.
boost::shared_ptr< OverlayManager > OverlayManagerPtr