1
#ifndef CSV_RENDER_PATHGRID_SELECTION_MODE_H
2
#define CSV_RENDER_PATHGRID_SELECTION_MODE_H
4
#include "selectionmode.hpp"
8
class PathgridSelectionMode : public SelectionMode
14
PathgridSelectionMode(CSVWidget::SceneToolbar* parent, WorldspaceWidget& worldspaceWidget);
18
/// Add context menu items to \a menu.
20
/// \attention menu can be a 0-pointer
22
/// \return Have there been any menu items to be added (if menu is 0 and there
23
/// items to be added, the function must return true anyway.
24
bool createContextMenu(QMenu* menu);
28
QAction* mRemoveSelectedNodes;
29
QAction* mRemoveSelectedEdges;
33
void removeSelectedNodes();
34
void removeSelectedEdges();