46 Q_PROPERTY(
QgsReferencedGeometry geometryValue READ geometryValue WRITE setGeometryValue NOTIFY geometryValueChanged )
82 void setAcceptedWkbTypes(
const QList<Qgis::WkbType> &types );
89 QList< Qgis::WkbType > acceptedWkbTypes()
const;
96 bool isReadOnly()
const;
105 void setReadOnly(
bool readOnly );
110 void clearGeometry();
124 void copyAsGeoJson();
141 void pasteTriggered();
144 QLineEdit *mLineEdit =
nullptr;
145 QToolButton *mButton =
nullptr;
146 QMenu *mMenu =
nullptr;
147 QAction *mClearAction =
nullptr;
148 QAction *mCopyWktAction =
nullptr;
149 QAction *mCopyGeoJsonAction =
nullptr;
150 QAction *mPasteAction =
nullptr;
153 QList<Qgis::WkbType> mAcceptedTypes;
154 bool mReadOnly =
false;
156 void fetchGeomFromClipboard();
162 void updateLineEdit();