-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpqZeqManagerDockWindow.h
106 lines (80 loc) · 2.07 KB
/
pqZeqManagerDockWindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#ifndef _pqZeqManagerDockWindow_h
#define _pqZeqManagerDockWindow_h
#include <QDockWidget>
#include <vtkSmartPointer.h>
class QCheckBox;
class QComboBox;
class QPushButton;
class QTreeWidgetItem;
class QProgressDialog;
class QButtonGroup;
class QScrollArea;
class QVBoxLayout;
//
class pqServer;
class pqView;
class pqObjectPanel;
//
class vtkSMSourceProxy;
class vtkSMRepresentationProxy;
class pqZeqManagerPanel;
class pqZeqManagerDockWindow : public QDockWidget
{
Q_OBJECT
public:
/// constructor
pqZeqManagerDockWindow(QWidget* p = NULL);
~pqZeqManagerDockWindow();
///////////////////////////////////
// From pqObjectInspectorWidget
///////////////////////////////////
signals:
/// emitted before accept.
void preaccept();
/// emitted on accept() after preaccept() but before postaccept()/
void accepted();
///emitted after accept;
void postaccept();
/// emitted before reject.
void prereject();
/// emitted after reject.
void postreject();
/// emitted when render module is changed
void viewChanged(pqView*);
void helpRequested(const QString& proxyType);
void canAccept();
public slots:
void serverAdded(pqServer *server);
void StartRemovingServer(pqServer *server);
void updateAcceptState();
void init();
/// accept the changes made to the properties
/// changes will be propogated down to the server manager
void accept();
/// reset the changes made
/// editor will query properties from the server manager
void reset();
/// Updates the accept/reset button state.
void canAccept(bool status);
///////////////////////////////////
// From pqObjectPanel
///////////////////////////////////
/// Fires modified
virtual void setModified();
private slots:
signals:
void modified();
protected:
/// populate widgets with properties from the server manager
virtual void showEvent( QShowEvent * event );
class pqUI;
pqUI* UI;
protected slots:
protected:
QPushButton *InitButton;
QPushButton *AcceptButton;
QPushButton *ResetButton;
QScrollArea *ScrollArea;
QVBoxLayout *PanelLayout;
};
#endif