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
66 void ShowMenu(
const QPoint& pos);
67 void Rename(QModelIndex index);
69 void AddAction(QAction*
action,ContextActionTypes type);
77 QVector<std::pair<QAction*, ContextActionTypes> > actions_;
85 Q_DECLARE_OPERATORS_FOR_FLAGS(ost::gui::ContextActionTypes)
#define DLLEXPORT_OST_GUI