4 #ifndef pqPropertiesPanel_h
5 #define pqPropertiesPanel_h
7 #include "pqComponentsModule.h"
36 Q_PROPERTY(
int panelMode READ panelMode WRITE setPanelMode);
37 typedef QWidget Superclass;
47 static
void setAutoApply(
bool enabled);
53 static
bool autoApply();
59 static
void setAutoApplyDelay(
int delay);
65 static
int autoApplyDelay();
76 static
int suggestedMargin() {
return 0; }
83 SOURCE_PROPERTIES = 0x01,
84 DISPLAY_PROPERTIES = 0x02,
85 VIEW_PROPERTIES = 0x04,
86 ALL_PROPERTIES = SOURCE_PROPERTIES | DISPLAY_PROPERTIES | VIEW_PROPERTIES
92 void setPanelMode(
int val);
136 void propertiesRestoreDefaults();
144 void propertiesSaveAsDefaults();
152 void displayRestoreDefaults();
160 void displaySaveAsDefaults();
168 void viewRestoreDefaults();
176 void viewSaveAsDefaults();
189 void setPipelineProxy(
pqProxy*);
210 void viewChanged(
pqView*);
218 void helpRequested(
const QString& groupname,
const QString& proxyType);
223 void deleteRequested(
pqProxy* source);
230 void applyEnableStateChanged();
253 void updateDisplayPanel();
258 void renderActiveView();
263 void sourcePropertyChanged(
bool change_finished =
true);
264 void sourcePropertyChangeAvailable() { this->sourcePropertyChanged(
false); }
269 void updateButtonState();
275 void updateButtonEnableState();
277 void copyProperties();
278 void pasteProperties();
285 void updatePropertiesPanel(
pqProxy* source);
287 void updateViewPanel(
pqView* view);
291 friend class pqInternals;
293 pqInternals* Internals;