270 Commits

Author SHA1 Message Date
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
cafc0b8b18 As per email thread '[Qgis-developer] Qgis application name' on the QGIS developer list, I have renamed the application name from qgis to QGIS. THe application name is used by some OSes (e.g. OS X) in menus and other places and the lower case name looks incongruous. A side effect of this however is that all application settings will need to be re-set since the qgis key used by QSettings is now called QGIS and it is case sensitive.
Also remove deprecated widget components from main window and renamed Qgis to QGIS in help-about menu.


git-svn-id: http://svn.osgeo.org/qgis/trunk@9034 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-08 13:01:35 +00:00
timlinux
b4123d5f0b Dont display unneeded 'you are using i18n foo message' on startup
git-svn-id: http://svn.osgeo.org/qgis/trunk@8994 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-05 19:28:05 +00:00
telwertowski
784ce74d40 Remove use of Qt3 support inline routines which redirect old Qt3 names to new Qt4 names. Remove USE_QT3SUPPORT from top-level CMakeLists and add it to GRASS provider/plugin CMakeLists so that all use of Qt3 names and libraries is limited to these two directories.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8630 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-09 03:30:50 +00:00
ersts
31651d0210 -update locale/userLocal when default locale is use as well as when --lang= option is used so that thirdparty plugins can be in the same language as the rest of QGIS
git-svn-id: http://svn.osgeo.org/qgis/trunk@8497 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-23 15:27:49 +00:00
timlinux
6aee99a2e4 Prettified application variable name
git-svn-id: http://svn.osgeo.org/qgis/trunk@8485 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-21 17:25:48 +00:00
timlinux
f7210baedb On windows and mac, add the plugins dir to the search path on application start up.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8467 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-19 13:37:53 +00:00
telwertowski
21708a56fb Remove all use of Qt3 compatibiliy routines except for the GRASS provider/plugin. Automatic casts of QString to char* have also been removed for compatibility with Qt/Mac-Cocoa (64-bit).
git-svn-id: http://svn.osgeo.org/qgis/trunk@8406 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-07 05:15:58 +00:00
timlinux
1b0c716697 Updated version to 0.10.0 since this release will contain new features as well as bug fixes. I've also softcoded the places that had release numbers hard coded in various points in the code, so setting the version no in top level CMakeLists.txt should 'trickle down' into most places where version numbers need to be set.
Made some small changes to whats new too.


git-svn-id: http://svn.osgeo.org/qgis/trunk@8361 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-17 12:35:32 +00:00
timlinux
855802c94c Fix for #798 - users need to be able to set locale easily
git-svn-id: http://svn.osgeo.org/qgis/trunk@7371 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-10 21:57:38 +00:00
jef
21f95a2ab7 fixed typo in comment
git-svn-id: http://svn.osgeo.org/qgis/trunk@7346 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-07 14:00:24 +00:00
timlinux
33ba195a3b Patched in Jürgens MSVC logger improvements.
git-svn-id: http://svn.osgeo.org/qgis/trunk@7311 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-01 10:23:54 +00:00
telwertowski
b9811d006d Mac OS X: Don't use Qt4.2 spash screen workaround for Qt4.3. It's needed for 4.2 but produces a rectangular window in 4.3.
git-svn-id: http://svn.osgeo.org/qgis/trunk@7255 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-10-09 02:05:07 +00:00
godofredo
864fef8f40 Surround definition of _fmode in MSVC ifdef to allow compilation in mingw
git-svn-id: http://svn.osgeo.org/qgis/trunk@7233 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-28 19:10:19 +00:00
timlinux
d6f5315280 Applied patch from David Willis for msvc/win32 build support
git-svn-id: http://svn.osgeo.org/qgis/trunk@7226 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-27 19:41:16 +00:00
gsherman
6849f37cd7 changed version names to Ganymede preview 1
git-svn-id: http://svn.osgeo.org/qgis/trunk@7111 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-30 02:01:54 +00:00
wonder
7ef07b3151 Fixed check whether user runs QGIS from sources to halt him.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6938 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-08 09:41:34 +00:00
g_j_m
e982da1154 Fix some compiler warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@6448 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-21 08:42:27 +00:00
telwertowski
ce640e7322 Convert all uses of QMessageBox to Qt 4.2 StandardButton API.
Also add tr() where missing.


git-svn-id: http://svn.osgeo.org/qgis/trunk@6441 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-18 19:39:53 +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