4 #ifndef pqSpreadSheetViewDecorator_h
5 #define pqSpreadSheetViewDecorator_h
7 #include "pqApplicationComponentsModule.h"
9 #include <QScopedPointer>
24 typedef QObject Superclass;
25 Q_PROPERTY(
bool allowChangeOfSource READ allowChangeOfSource WRITE setAllowChangeOfSource);
33 bool generateCellConnectivity READ generateCellConnectivity WRITE setGenerateCellConnectivity);
34 Q_PROPERTY(
bool showFieldData READ showFieldData WRITE setShowFieldData);
36 bool showSelectedElementsOnly READ showSelectedElementsOnly WRITE setShowSelectedElementsOnly);
37 Q_PROPERTY(
int fieldAssociation READ fieldAssociation WRITE setFieldAssociation);
49 bool generateCellConnectivity()
const;
50 void setGenerateCellConnectivity(
bool);
51 bool showFieldData()
const;
52 void setShowFieldData(
bool);
53 bool showSelectedElementsOnly()
const;
54 void setShowSelectedElementsOnly(
bool);
55 int fieldAssociation()
const;
56 void setFieldAssociation(
int);
59 void setPrecision(
int);
60 void setFixedRepresentation(
bool);
66 bool allowChangeOfSource()
const;
71 void setAllowChangeOfSource(
bool val);
76 bool eventFilter(QObject*
object, QEvent* e)
override;
86 void onCurrentAttributeChange(
int);
90 void displayPrecisionChanged(
int);
91 void toggleFixedRepresentation(
bool);
92 void copyToClipboard();
101 QScopedPointer<pqInternal> Internal;