nodeviewscene: added basic standard filtering modes
This commit is contained in:
@@ -80,6 +80,13 @@ public:
|
||||
*/
|
||||
void ReorganizeFrom(Node* n);
|
||||
|
||||
enum FilterMode {
|
||||
kFilterShowAll,
|
||||
kFilterShowSelectedBlocks
|
||||
};
|
||||
|
||||
void SetFilterMode(const FilterMode& f);
|
||||
|
||||
public slots:
|
||||
/**
|
||||
* @brief Slot when a Node is added to a graph (SetGraph() connects this)
|
||||
@@ -124,6 +131,8 @@ private:
|
||||
|
||||
NodeViewCommon::FlowDirection direction_;
|
||||
|
||||
FilterMode filter_mode_;
|
||||
|
||||
private slots:
|
||||
/**
|
||||
* @brief Receiver for whenever a node position changes
|
||||
|
||||
Reference in New Issue
Block a user