File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 14
14
%Include qgsmapmouseevent.sip
15
15
%Include qgsmaptip.sip
16
16
%Include qgsrubberband.sip
17
+ %Include qgssnapindicator.sip
17
18
%Include qgstablewidgetitem.sip
18
19
%Include qgsuserinputdockwidget.sip
19
20
%Include qgsbrowserdockwidget.sip
188
189
%Include qgssearchquerybuilder.sip
189
190
%Include qgsshortcutsmanager.sip
190
191
%Include qgsslider.sip
191
- %Include qgssnapindicator.sip
192
192
%Include qgsstatusbar.sip
193
193
%Include qgssublayersdialog.sip
194
194
%Include qgssubstitutionlistwidget.sip
Original file line number Diff line number Diff line change @@ -48,6 +48,12 @@ Returns whether the snapping indicator is visible
48
48
:rtype: bool
49
49
%End
50
50
51
+ private:
52
+ QgsSnapIndicator( const QgsSnapIndicator &rh );
53
+ QgsSnapIndicator &operator=( const QgsSnapIndicator & );
54
+ %Docstring
55
+ :rtype: QgsSnapIndicator
56
+ %End
51
57
};
52
58
53
59
/************************************************************************
Original file line number Diff line number Diff line change @@ -28,9 +28,8 @@ QgsSnapIndicator::QgsSnapIndicator( QgsMapCanvas *canvas )
28
28
{
29
29
}
30
30
31
- QgsSnapIndicator::~QgsSnapIndicator ()
32
- {
33
- }
31
+ QgsSnapIndicator::~QgsSnapIndicator () = default ;
32
+
34
33
35
34
void QgsSnapIndicator::setMatch ( const QgsPointLocator::Match &match )
36
35
{
Original file line number Diff line number Diff line change @@ -47,6 +47,13 @@ class GUI_EXPORT QgsSnapIndicator
47
47
bool isVisible () const ;
48
48
49
49
private:
50
+ Q_DISABLE_COPY ( QgsSnapIndicator )
51
+
52
+ #ifdef SIP_RUN
53
+ QgsSnapIndicator ( const QgsSnapIndicator &rh );
54
+ QgsSnapIndicator &operator =( const QgsSnapIndicator & );
55
+ #endif
56
+
50
57
QgsMapCanvas *mCanvas ;
51
58
QgsPointLocator::Match mMatch ;
52
59
std::unique_ptr<QgsVertexMarker> mSnappingMarker ;
You can’t perform that action at this time.
0 commit comments