19 #ifndef OST_GUI_SCENE_WIN_CONTEXT_MENU_HH
20 #define OST_GUI_SCENE_WIN_CONTEXT_MENU_HH
32 #include <QAbstractItemModel>
34 namespace ost {
namespace gui {
52 MAP_DOWNSAMPLED=0x2000,
53 MAP_DSAMPLED_AVAIL=0x4000
65 void ShowMenu(
const QPoint& pos);
66 void Rename(QModelIndex index);
68 void AddAction(QAction*
action,ContextActionTypes type);
76 QMap<QAction*, ContextActionTypes> actions_;
84 Q_DECLARE_OPERATORS_FOR_FLAGS(ost::gui::ContextActionTypes)