MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ProcessDocsDlg.hpp
1 #ifndef PROCESS_DOCS_DIALOG_HPP
2 #define PROCESS_DOCS_DIALOG_HPP
3 
4 #include <Config.hpp>
5 #include <Process.hpp>
6 
7 #include <QDialog>
8 
9 #include <memory>
10 #include <ui_ProcessDocs.h>
11 
12 class QTreeWidget;
13 class QTreeWidgetItem;
14 
15 namespace mgx { namespace gui {
16 
17 class mgx_EXPORT ProcessDocsDialog : public QDialog
18 {
19  Q_OBJECT
20 public:
21  ProcessDocsDialog(QWidget *parent);
22  virtual ~ProcessDocsDialog();
23 
24 protected slots:
25  void on_StackTreeWidget_currentItemChanged(QTreeWidgetItem* item, QTreeWidgetItem* previous);
26  void on_MeshTreeWidget_currentItemChanged(QTreeWidgetItem* item, QTreeWidgetItem* previous);
27  void on_GlobalTreeWidget_currentItemChanged(QTreeWidgetItem* item, QTreeWidgetItem* previous);
28 
29  void on_StackFilter_textChanged(const QString& text);
30  void on_MeshFilter_textChanged(const QString& text);
31  void on_GlobalFilter_textChanged(const QString& text);
32 
33 private:
34  void updateDocView(const QString& type, process::BaseProcessDefinition* def);
35  void findProcesses(const QString& type, QTreeWidget* tree);
36 
37  //std::unique_ptr<Ui::ProcessDocsDialog> ui;
38  Ui::ProcessDocsDialog *ui;
39 };
40 }}
41 
42 #endif
43 
Definition of a process, without the process factory.
Definition: Process.hpp:1229
File containing the definition of a Process.
Definition: ProcessDocsDlg.hpp:17