MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ProcessUtils.hpp
1 #ifndef PROCESS_UTILS_HPP
2 #define PROCESS_UTILS_HPP
3 
4 #include <Config.hpp>
5 
6 #include <QHash>
7 
8 class QTreeWidgetItem;
9 class QTreeWidget;
10 class QRegularExpression;
11 
12 namespace mgx {
21 
28  void filterProcesses(QTreeWidget* tree, const QString& filter_text);
29 }
30 #endif
31 
void filterProcesses(QTreeWidget *tree, const QString &filter_text)
Show only processes whose name match the regular expression.
AttribBase(const QString &name) const QString & name()
Default constructor of named attribute.
Definition: Attributes.hpp:54
QTreeWidgetItem * getFolder(QString name, QHash< QString, QTreeWidgetItem * > &folders, QTreeWidget *tree)
Find or create a folder from a process tree.