MorphoGraphX  2.0-1-227
ProcessDocsDlg.hpp
Go to the documentation of this file.
1 //
2 // This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3 // Copyright (C) 2012-2015 Richard S. Smith and collaborators.
4 //
5 // If you use MorphoGraphX in your work, please cite:
6 // http://dx.doi.org/10.7554/eLife.05864
7 //
8 // MorphoGraphX is free software, and is licensed under under the terms of the
9 // GNU General (GPL) Public License version 2.0, http://www.gnu.org/licenses.
10 //
11 #ifndef PROCESS_DOCS_DIALOG_HPP
12 #define PROCESS_DOCS_DIALOG_HPP
13 
14 #include <Config.hpp>
15 #include <Process.hpp>
16 
17 #include <QDialog>
18 
19 #include <memory>
20 
21 class QTreeWidget;
22 class QTreeWidgetItem;
23 
24 namespace Ui {
25  class ProcessDocsDialog;
26 }
27 
28 namespace mgx
29 {
30  class mgx_EXPORT ProcessDocsDialog : public QDialog
31  {
32  Q_OBJECT
33  public:
34  ProcessDocsDialog(QWidget *parent);
35  virtual ~ProcessDocsDialog();
36 
37  protected slots:
38  // Automatically connected slots
39  void on_StackTreeWidget_currentItemChanged(QTreeWidgetItem* item, QTreeWidgetItem* previous);
40  void on_MeshTreeWidget_currentItemChanged(QTreeWidgetItem* item, QTreeWidgetItem* previous);
41  void on_MiscTreeWidget_currentItemChanged(QTreeWidgetItem* item, QTreeWidgetItem* previous);
42 
43  void on_StackFilter_textChanged(const QString& text);
44  void on_MeshFilter_textChanged(const QString& text);
45  void on_MiscFilter_textChanged(const QString& text);
46 
47  private:
48  void updateDocView(ProcessDefinition* def);
49  void findProcesses();
50 
51  //std::unique_ptr<Ui::ProcessDocsDialog> ui;
52  Ui::ProcessDocsDialog *ui;
53  };
54 }
55 
56 #endif
57 
Process.hpp
mgx
Distributed matrix library.
Definition: Assert.hpp:26
Ui
Definition: ColorEditDlg.hpp:59
mgx::ProcessDefinition
Definition: Process.hpp:873
mgx::ProcessDocsDialog
Definition: ProcessDocsDlg.hpp:30