135 Commits

Author SHA1 Message Date
Matthias Kuhn
fc66a97426 Add minimum size option for diagrams. (Will be scaled if smaller) 2012-08-09 12:28:01 +02:00
Matthias Kuhn
d5531b6708 Text diagrams: new label placement method (x-height) 2012-08-09 12:28:00 +02:00
Juergen E. Fischer
a033d474fd [FEATURE] add new labeling to vector layer properties
- add 'deprecated' label to old labeling in vector layer properties
2012-08-07 17:57:25 +02:00
Nathan Woodrow
8aa160bcb3 Add html support in map tips
- Add new display tab to edit html text
2012-08-05 15:19:12 +10:00
Juergen E. Fischer
b64b3fc812 indentation update with a few fixed warnings 2012-07-25 20:43:37 +02:00
Giuseppe Sucameli
88187f1e4c display a menu to choose the output format saving vector styles (fix #5136) 2012-06-19 13:36:48 +02:00
Juergen E. Fischer
2d8b1ab33d [FEATURE] add update extent button in vector layer properties
and implement QgsDataProvider::updateExtents in postgres, ogr and
spatialite provider
2012-01-20 17:41:18 +01:00
Juergen E. Fischer
5a6d3cebcc remove svn Id tags 2011-05-26 23:05:55 +02:00
Juergen E. Fischer
40bcb99627 apply #3716: add value relation widget type 2011-05-04 22:01:20 +02:00
mhugent
c3ac6df9ee [FEATURE] Add diagram system that uses the same pal instance as labeling-ng
git-svn-id: http://svn.osgeo.org/qgis/trunk@15503 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-15 16:43:23 +00:00
mhugent
f1a655f480 [FEATURE]: experimental table join support refactored and ported from branch to trunk
git-svn-id: http://svn.osgeo.org/qgis/trunk@15155 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-11 16:23:17 +00:00
timlinux
ee822083b4 Fix broken activation of label dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@14668 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-11-14 22:45:26 +00:00
timlinux
72a5bfcc06 Cleanups for vector layer properties
git-svn-id: http://svn.osgeo.org/qgis/trunk@14622 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-11-13 21:27:42 +00:00
jef
deaec1ecfa lazy fill meta data page in vector layer properties
git-svn-id: http://svn.osgeo.org/qgis/trunk@13529 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-19 06:57:12 +00:00
jef
e5cf709dd3 another round of typo fixes (and use color instead of colour - like Qt; no string updates)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-23 16:14:24 +00:00
wonder
948841b299 Vector layer properties dialog can convert layer to new/old symbology.
(there's no transfer of settings between old/new symbology)


git-svn-id: http://svn.osgeo.org/qgis/trunk@12191 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-19 13:13:42 +00:00
jef
76ac06e760 replace context help ids with classnames
git-svn-id: http://svn.osgeo.org/qgis/trunk@12169 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-18 08:51:17 +00:00
jef
6b7ad07597 [FEATURE] customizable attribute forms using Qt Designer dialog UIs
- add support for checkbox edit type and edit forms for vector layers
- selection of ui file in vector layer properties (general tab)
- the forms are opened when a feature is added or via identify.
  The widgets on the ui have to be named like the attribute they are supposed
  to edit or show.  If the vector layer is not in editing mode, the widgets
  will be disabled



git-svn-id: http://svn.osgeo.org/qgis/trunk@12077 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-10 18:30:57 +00:00
mhugent
59a486bd71 [FEATURE]: A field calculator, accessible with a button in the attribute section of the vector properties
git-svn-id: http://svn.osgeo.org/qgis/trunk@11735 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-30 07:14:54 +00:00
jef
1f423b556b fix alias editing in vector layer properties
git-svn-id: http://svn.osgeo.org/qgis/trunk@11706 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-24 11:20:29 +00:00
jef
dae86ed4a0 misc cleanups:
- added Q_OBJECT to various classes where lupdate was complaining
- fix some warnings (mostly potentially uninitialized variables)
- introduce doubleNear(a,b,epsilon) to compare doubles
- fix new composer pagesizes
- cleanup edit type labels in vector properties (marked translation strings,
  synced with qgsattributetypeedit.ui, removed redundant code)
- allow update_ts_files.sh for specified languages
- german translation update



git-svn-id: http://svn.osgeo.org/qgis/trunk@11241 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-08-01 19:20:09 +00:00
jef
b49980c995 automatic indentation update (r11003-r11227)
git-svn-id: http://svn.osgeo.org/qgis/trunk@11228 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-07-31 17:15:15 +00:00
wonder
39520b1af6 [FEATURE] GUI for setting edit widgets for layer attributes.
Additionally added a dialog for loading value map from a layer (could be aspatial table too!)
Contributed by Richard Kostecky.


git-svn-id: http://svn.osgeo.org/qgis/trunk@11149 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-07-22 20:56:14 +00:00
jef
e9f8f1521d automatic indentation update (r10980-r11003)
git-svn-id: http://svn.osgeo.org/qgis/trunk@11004 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-07-01 22:38:49 +00:00
mhugent
047eb9d3e8 [FEATURE] Possibility to add attribute aliases for vector layers. The aliases are shown in the infotool and attribute table to have more descriptive names
git-svn-id: http://svn.osgeo.org/qgis/trunk@10990 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-07-01 07:29:08 +00:00
jef
3e01e6d3d5 - allow setting of field width and precision when adding attributes
- update vector data providers accordingly
- postgres provider:
  - add support for more native types and setting of column comments
  - catch errors on retrieval of defaults values (fixes #1713)



git-svn-id: http://svn.osgeo.org/qgis/trunk@10863 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-30 17:48:49 +00:00
mhugent
846a43c658 Merge vector overlay branch (diagram plugin)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10484 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-06 11:53:45 +00:00
timlinux
6eb5e8ce1a API cleanup for raster data provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@9539 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-24 22:31:31 +00:00
jef
4b46398bc4 astyle re-indentation & iostream=>QgsDebugMsg migration cleanup
git-svn-id: http://svn.osgeo.org/qgis/trunk@9138 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 21:37:31 +00:00
jef
120a61cabe various code cleanups by mloskot for GCC 4.1 (fixes #1239, #1240).
Inspired by it I also enabled pedantic mode for MSVC and cleaned
up some more warnings found by GCC 4.3 and MSVC.




git-svn-id: http://svn.osgeo.org/qgis/trunk@9133 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 14:06:01 +00:00
jef
43278d720b handling vector data geometry and attribute updates refactored
QgsVectorLayer:
  - move attribute part of editing to vector layer class and unify with geometry handling:
    * remove commitAttributeChanges(), addedFeatures(), deletedFeatureIds(), changedAttributes()
      and replace with changeAttributeValue(), deleteFeature(), addAttribute()
      and deleteAttribute()
    * add pendingFields(), pendingAttributeList(), pendingFeatureCount()
    * emit signals on start editing and commit, change of attribute values, adding/deleting of
      attributes and layer or feature removal (currently used in the attribute table)
  - new commitErrors() method to query errors from commitChanges()
  - replaced featuresInRectangle with select/getNextFeature combo
  - edit types added to support more input widgets and input constraints

QgsFeature:
  - remove update aware ctor
  - unify geometry handling in ctors

QgsVectorDataProvider:
  - add QVariant::Type to supportNativeTypes()

QgisApp:
  - add instance() method to query QgisApp object
  - replace code at various place to use it instead of passing the pointer
    arround or searching it in the widget tree.
  - move toggleEditing() code from the legend here

QgsAttributeTable/QgsAttributeTableDisplay:
  - move attribute table creation legend here
  - make attribute table dockable (from Tim)
  - most editing logic moved to QgsVectorLayer
  - adding/deleting attributes moved to QgsVectorLayerProperties

QgsIdentifyResults:
  - add support for attribute editing when it edit mode

QgsVectorLayerProperties:
  add a new tab to show attribute list:
    * start/stop editing
    * add/delete attributes
    * assign edit type to attributes (unique values, value map, ranges)

QgsAttributeDialog:
  add support for attribute edit types:
   * selection from unique value render classes (combobox)
   * selection from unique values of existing features (combobox or line edits with completion)
   * spinboxes for ranges

QgsPostgresProvider:
 - use read-only connection for cursors and read-write connection for updates
 - updated native types

QgsOgrProvider:
 - remove unused references to GEOS geometry factory
 - updated native types


git-svn-id: http://svn.osgeo.org/qgis/trunk@9092 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-20 12:15:14 +00:00
timlinux
8a55d7f241 Merge renderer branch to trunk r7761:7920
git-svn-id: http://svn.osgeo.org/qgis/trunk@7922 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-10 22:38:05 +00:00
timlinux
97bb326f48 Applied patch from Aaron for ticket #572
git-svn-id: http://svn.osgeo.org/qgis/trunk@7683 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-29 10:16:43 +00:00
telwertowski
92d9665c46 Convert six dialogs to Qt 4.2 StandardButton API.
Also use the full accept code path rather than overriding accept to do apply but look like reject to the caller. Remove deletion of the raster layer from the reaster properties destructor (which was called only after accept and may be why accept was avoided).


git-svn-id: http://svn.osgeo.org/qgis/trunk@6447 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-21 05:29:14 +00:00
wonder
46a2d125a2 Merged refactoring branch back to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00