46 Q_PROPERTY(
QgsReferencedGeometry geometryValue READ geometryValue WRITE setGeometryValue NOTIFY geometryValueChanged )
81 void setAcceptedWkbTypes(
const QList<Qgis::WkbType> &types );
88 QList<Qgis::WkbType> acceptedWkbTypes()
const;
95 bool isReadOnly()
const;
104 void setReadOnly(
bool readOnly );
109 void clearGeometry();
123 void copyAsGeoJson();
140 void pasteTriggered();
143 QLineEdit *mLineEdit =
nullptr;
144 QToolButton *mButton =
nullptr;
145 QMenu *mMenu =
nullptr;
146 QAction *mClearAction =
nullptr;
147 QAction *mCopyWktAction =
nullptr;
148 QAction *mCopyGeoJsonAction =
nullptr;
149 QAction *mPasteAction =
nullptr;
152 QList<Qgis::WkbType> mAcceptedTypes;
153 bool mReadOnly =
false;
155 void fetchGeomFromClipboard();
161 void updateLineEdit();