You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/qgsmaptoolsplitfeatures.cpp
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -80,10 +80,10 @@ void QgsMapToolSplitFeatures::canvasReleaseEvent( QMouseEvent * e )
80
80
//bring up dialog if a split was not possible (polygon) or only done once (line)
81
81
int topologicalEditing = QgsProject::instance()->readNumEntry( "Digitizing", "/TopologicalEditing", 0 );
82
82
int returnCode = vlayer->splitFeatures( mCaptureList, topologicalEditing );
83
-
if(returnCode == 4)
84
-
{
85
-
QMessageBox::warning(0, tr("No feature split done"), tr("If there are selected features, the split tool only applies to the selected ones. If you like to split all features under the split line, clear the selection"));
86
-
}
83
+
if ( returnCode == 4)
84
+
{
85
+
QMessageBox::warning(0, tr("No feature split done"), tr("If there are selected features, the split tool only applies to the selected ones. If you like to split all features under the split line, clear the selection" ) );
86
+
}
87
87
elseif ( returnCode != 0 )
88
88
{
89
89
//several intersections but only one split (most likely line)
Copy file name to clipboardExpand all lines: src/core/renderer/qgsgraduatedsymbolrenderer.h
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ class QgsVectorLayer;
27
27
classCORE_EXPORT QgsGraduatedSymbolRenderer: public QgsRenderer
28
28
{
29
29
public:
30
-
enum Mode
30
+
enum Mode
31
31
{
32
32
EqualInterval,
33
33
Quantile,
@@ -37,85 +37,85 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer: public QgsRenderer
37
37
QgsGraduatedSymbolRenderer( const QgsGraduatedSymbolRenderer& other );
38
38
QgsGraduatedSymbolRenderer& operator=( const QgsGraduatedSymbolRenderer& other );
39
39
virtual~QgsGraduatedSymbolRenderer();
40
-
40
+
41
41
/** Get the mode - which is only really used to be able to reinstate
42
-
* the graduated dialog properties properly, so we
42
+
* the graduated dialog properties properly, so we
43
43
* dont do anything else besides accessors and mutators in
44
44
* this class.
45
45
*/
46
46
Mode mode() const;
47
47
48
48
/** Set the mode - which is only really used to be able to reinstate
49
-
* the graduated dialog properties properly, so we
49
+
* the graduated dialog properties properly, so we
50
50
* dont do anything else besides accessors and mutators in
51
51
* this class.
52
52
*/
53
53
voidsetMode( Mode theMode );
54
-
54
+
55
55
/**Adds a new item
56
56
\param sy a pointer to the QgsSymbol to be inserted. It has to be created using the new operator and is automatically destroyed when 'removeItems' is called or when this object is destroyed*/
57
57
voidaddSymbol( QgsSymbol* sy );
58
-
58
+
59
59
/**Returns the indes of the classification field*/
60
60
intclassificationField() const;
61
-
61
+
62
62
/**Removes all symbols*/
63
63
voidremoveSymbols();
64
-
64
+
65
65
/** Determines if a feature will be rendered or not
66
66
@param f a pointer to the feature to determine if rendering will happen*/
67
67
virtualboolwillRenderFeature( QgsFeature *f );
68
-
68
+
69
69
/**Renders an OGRFeature
70
70
\param p a painter (usually the one from the current map canvas)
71
71
\param f a pointer to a feature to render
72
72
\param t the transform object containing the information how to transform the map coordinates to screen coordinates*/
0 commit comments