nodeviewscene: added basic standard filtering modes

This commit is contained in:
itsmattkc
2020-05-09 03:33:41 +10:00
parent 16d4cccdb5
commit fc694296f1
2 changed files with 15 additions and 1 deletions
+9
View File
@@ -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