1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-25 00:05:03 -04:00

32 Commits

Author SHA1 Message Date
Nyall Dawson
77c3be97e3 Make sure (f)abs are prefixed with std:: 2017-08-25 02:35:28 +10:00
Nyall Dawson
f2b2c6d2fd Use fabs/abs/labs instead of qAbs
Better to stick to standard methods where available instead
of less supported Qt methods
2017-08-25 02:35:27 +10:00
Nyall Dawson
78685e1a49 Qt5 style connects 2017-03-30 11:11:28 +10:00
Denis Rouzaud
dccf8c9e13 run astyle on src/app 2017-03-03 09:09:37 +01:00
Nyall Dawson
4166a3ea62 Fix most clazy qstring-unneeded-heap-allocations warnings
By flipping string literals to QStringLiteral/QLatin1String

see

https://woboq.com/blog/qstringliteral.html
2016-10-24 15:26:24 +10:00
Matthias Kuhn
b20d3b7e2d Less debug noise 2016-09-09 14:26:28 +02:00
Martin Dobias
3e183a27d5 Fix updates of undo widget in styling panel
Before, on current layer change it would switch to undo stack
of freshly activated layer, ignoring the layer set in the combo box
(and the undo stack it switched to was the one for editing)
2016-07-06 22:27:17 +02:00
Nathan Woodrow
7a572c4ff8 [style dock] Refactor API. Move back button outside scrollarea.
Clean up API. Remove QgsPanelWidgetPage - no longer needed
QgsPanelWidgetStack widget manages back button and breadcrumb.
QgsPanelWidget manages state of active widget.
2016-06-20 10:48:53 +10:00
Mathieu Pellerin
7cfe7f838c [style dock] vectorize undo & redo button, create history symbol () 2016-06-09 12:54:53 +10:00
Nathan Woodrow
ca914f118e [FEATURE] Add style/history tab to style dock 2016-05-10 10:32:30 +10:00
Juergen E. Fischer
8214608169 more nullptr updates (folloup 320c696) 2015-12-16 16:29:29 +01:00
Nyall Dawson
576875e998 Followup 320c696 use clang-modernize to replace 0/NULL use with nullptr 2015-12-15 11:24:51 +11:00
Richard Duivenvoorde
c77db4f285 Changing more Window titles 2015-07-24 20:45:31 +02:00
Denis Rouzaud
9e3183c63f Revert "sort includes"
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Denis Rouzaud
2b7d3d3c73 sort includes 2015-06-10 13:59:08 +02:00
Juergen E. Fischer
82b6e0342a cosmetic cleanups, typo fixes, formatting 2014-10-21 01:33:20 +02:00
Martin Dobias
72b3ef742e More integration of layer tree view in QGIS app 2014-05-21 14:49:32 +07:00
Juergen E. Fischer
1a2c387d63 fix warnings 2013-03-30 11:38:55 +01:00
Larry Shaffer
2de2f2327e Limit canvas redraws when working with vector layer undo stack
- Fix unreported bug where clicking on group in legend would clear previously selected vector layer's undo stack
- Ensure empty view is created on project load (cosmetic)
2013-02-10 22:48:03 -07:00
Larry Shaffer
96565d1d12 Add empty QUndoView to QgsUndoWidget for initial show
- Shows disabled view instead of blank dock area (same as creating new project after closing project)
2013-01-25 19:02:54 -07:00
Larry Shaffer
7a82041245 Followup to 9069f3b
- Avoid canvas refresh when new command is added after user clicks back in undo view history
2012-12-18 02:15:17 -07:00
Larry Shaffer
9069f3bb90 Update undo/redo widget and vector layer rollback
- Allows for any number of undo/redo commands with only one refresh
- Significantly decreases time needed to cancel or redo many edits
- Disable undo/redo dock's widgets and toolbar actions when layer not in editing mode
2012-12-14 19:45:12 -07:00
Juergen E. Fischer
048a07a572 another copyright update 2012-10-08 00:29:13 +02:00
Etienne Tourigny
008592b002 move getThemeIcon() and getThemePixmap() to QgsApplication 2012-07-16 15:42:39 -03:00
Juergen E. Fischer
1e7b9ed0d4 add missing copyright headers to c++ files 2012-05-18 19:36:07 +02:00
Juergen E. Fischer
eae552ffa6 fix warnings and icon size of GRASS toolbar 2012-01-29 20:54:02 +01:00
Juergen E. Fischer
5a3a87fde2 [FEATURE] support 64bit feature ids 2011-06-16 20:30:07 +02:00
jef
9dd9f36450 [FEATURE]
- save edits button added (implements )
- subset option to layer menu (implements )
- show selected feature count in status bar (implements )
- temporary workaround for 
- refactored redundant code from legend to qgisapp:
  attribute table, save as, layer removal, layer properties
- some more cleanups



git-svn-id: http://svn.osgeo.org/qgis/trunk@13501 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-16 14:44:42 +00:00
timlinux
278e4a4b61 Reduce the mimimum size of the undo dock widget.
git-svn-id: http://svn.osgeo.org/qgis/trunk@11756 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-04 20:50:48 +00:00
jef
a5d5cf85d3 automatic indentation update (r10918-r10980)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10981 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-26 15:29:46 +00:00
wonder
76dd50498a A bunch of fixes for node tool from Richard:
- fixed update of node tool vertex markers after undo 
- fixed a crash when trying to edit non-existent feature
- vertex markers are now QgsVertexMarker instances (i.e. don't scale when zooming)
- fixed moving of points in point layer
- original node is excluded when snapping

Fixed double map canvas refresh when doing edits.


git-svn-id: http://svn.osgeo.org/qgis/trunk@10947 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-18 10:15:09 +00:00
wonder
5752dc5bc6 [FEATURE] Added undo/redo functionality for vector layer editing.
There are undo/redo actions in Edit menu, in Advanced digitizing toolbar
and there is a new dock widget displaying undo stack of active layer.


git-svn-id: http://svn.osgeo.org/qgis/trunk@10921 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-14 14:21:44 +00:00