2103 Commits

Author SHA1 Message Date
gsherman
15f08344dc Added ability to pass a .qgs project file as an argument without using the
--project switch. This is necessary to allow using QGIS to open .qgs files in a desktop environment where a mime type has been established. The --project switch still works, but QGIS will now load .qgs, .shp, and .tif files specified on the command line.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2801 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-14 18:30:42 +00:00
mhugent
336ec6bfd0 fix for bug where layers have been removed from overview just by changing the active layer in the legend
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2800 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-13 20:37:15 +00:00
mhugent
85ecbb3f37 Fixed for crash when showing the attribute table of a layer with no features and some other minor improvements to editing
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2799 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-13 19:40:01 +00:00
timlinux
fa7c09f1df Fix for bug #1118786
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2798 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-13 03:45:29 +00:00
mhugent
e1b2e60c93 some changes to display tables. Displaying the attribute table is now done in QgsVectorLayer::fillTable() with consideration of (not commited) added and deleted features
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2792 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-12 22:21:11 +00:00
larsl
2e60214386 Forgot to remove some debug code
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2783 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-11 23:39:21 +00:00
larsl
53bd6d1eba Added attribute editing in the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2782 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-11 23:36:49 +00:00
larsl
841c7addec Changed supports*() to capabilities()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2781 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-11 22:33:38 +00:00
mhugent
ec0b110a2c Replaced QgsVectorDataProvider::support... functions with QgsVectorDataProvider::capabilities()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2769 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-10 22:13:28 +00:00
larsl
9b4aa3796a Added the EmitPoint 'tool' which just emits xyClickCoordinate() when the user clicks in the canvas
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2766 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-10 19:54:53 +00:00
mhugent
7d57ea9c2e Added QgsVectorDataProvider::capabilities(). The current queries in the dialogs will be subsequently replaced
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2763 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-08 22:16:14 +00:00
larsl
6ded2ab1d3 Enabled deletion of GPX tracks and routes too, it seems to work now
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2756 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-06 21:57:02 +00:00
gsherman
c20b367623 Fix for bug 1117501 - crash when clicking on Remove layer menu item when
no layers are present


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2755 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-06 21:19:33 +00:00
mhugent
cf0c319c1c implemented a function in the attribute table to bring the selected rows to the top
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2754 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-06 20:45:11 +00:00
larsl
9e80d518e8 Added waypoint deletion in the GPX provider, route and track deletion is buggy and will be disabled until they are fixed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2751 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-06 19:18:31 +00:00
mhugent
33942541e0 Use QgsAttributeTable::fillTable to populate the attribute table
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2750 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-05 19:47:10 +00:00
mhugent
4bf1e0f73d attribute editing of not commited features is now possible
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2749 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-05 16:56:29 +00:00
timlinux
c0991d8e95 A meaningless commit in a vain attempt to substantially increase my karma
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2746 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-05 16:25:35 +00:00
rabla
03898e85e9 map composer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2740 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-04 13:28:48 +00:00
stevehalasz
520c0e5478 Add ECW to supported drivers list. I haven't testes .ecw files, but it works nicely for jpeg 2000
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2739 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-03 05:57:49 +00:00
stevehalasz
656a9f7a3d Try to get GISBASE from:
1. GISBASE env var
  2. QSettings
  3. --with-grass configure flag

Before resorting to asking the user for it. Still need to provide
some more information in the file dialog.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2738 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-03 05:54:43 +00:00
stevehalasz
f1cabdb5e2 Add filters to file dialog for MrSID and JPEG 2000
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2737 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-03 05:49:20 +00:00
mhugent
539d727d2b added QgsRenderer::items() method to retreive QgsRenderItems
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2736 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-02 21:51:02 +00:00
rabla
d488da97e5 edit attributes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2735 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-02 16:07:32 +00:00
rabla
e7237b77d3 edit attributes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2734 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-02 15:54:35 +00:00
rabla
3e33d105e9 changeAttributeValues
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2733 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-02-02 15:53:25 +00:00
mhugent
625a5973fe some cleanups in QgsVectorLayer and in QgsPostgresProvider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2732 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-30 20:49:53 +00:00
g_j_m
9d96eea6d0 Add the ability to display postgis tables and views that lack the
requisite row in the geometry_columns table (views still need an
oid column though)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2731 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-30 09:28:17 +00:00
gsherman
13ebf46a37 Updated changelog
Bumped the extra version to 5


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2730 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-30 04:51:12 +00:00
gsherman
7d97d0584a Applied patch from M. Loskot
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2729 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-30 04:48:05 +00:00
gsherman
6592c1fbf8 Applied patches from M Loskot
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2728 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-30 04:47:45 +00:00
mhugent
f37a383a0f quotes for text values in the postgres provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2727 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-29 17:00:02 +00:00
mhugent
8c6df99f40 change in QgsVectorLayer::table(), use the attribute names of QgsFeature for the table to ommit the postgresql geometry column (makes problem in table display if there are attributes behind the geometry column)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2726 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-29 16:22:52 +00:00
mhugent
d692f29788 added the dialog classes for attribute addition
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2725 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-29 14:56:27 +00:00
mhugent
d3d18169b8 adding attributes for postgis layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2724 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-29 14:54:15 +00:00
timlinux
d22fd1fd2d Changed ui version to 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2716 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-26 12:39:29 +00:00
gsherman
76a473b258 Fix for PNG pollution in the qgis main window UI. We still must support
Qt 3.1.2. Developers should be using the Qt 3.1.2 version of designer when
working with UI files that contain images/toolbar items.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2715 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-26 05:34:01 +00:00
mhugent
de1cc61f8e added BEGIN and COMMITS for update and alter table, added select() after
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2713 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-25 21:06:54 +00:00
mhugent
6ad8b81813 implemented attribute editing. Still problems with changes not written to the database if the table is not closed and reopened
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2712 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-25 20:35:45 +00:00
timlinux
41a9000aaf Get rid of 3.3 in ui
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2711 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-25 18:35:45 +00:00
mhugent
46b2803ce3 implementation of a gui to delete attributes in postgres table (changing of attributes and adding attributes will follow)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2695 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-23 09:49:30 +00:00
telwertowski
3b055377a1 Mac needs "/" after directory path for marker to be drawn in Image preview box
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2693 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-23 06:50:29 +00:00
telwertowski
8c68a4a99a Add Q_OS_MACX variation since Qt/Mac pixels are transparent by default while Qt/X11 pixels are opaque by default
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2692 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-23 06:42:41 +00:00
telwertowski
cb72f6f38f Marker location passed to drawPicture needs to be projected to match location passed to prior drawRect
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2691 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-23 06:33:13 +00:00
telwertowski
7c26aa3cf8 Previously added #ifdef Q_OS_MACOSX needs #include <qapplication.h> for qApp
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2690 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-23 06:28:06 +00:00
gsherman
78e2dcab97 Added tr() to user visible string so they can be translated.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2686 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-21 06:31:06 +00:00
gsherman
04eaf1b621 Changed description in the column editor so as not to confuse the
user when there are no columns names that are reserved words.
Bug 1103390


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2685 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-21 05:56:28 +00:00
gsherman
2b3fc797a3 Changes from mloskot to allow editing of geometry type
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2684 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-21 05:30:20 +00:00
g_j_m
f48d5efcdd moved an include from the .h to the .cpp file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2678 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 23:59:10 +00:00
mcoletti
724ea26d11 Added tests for QgsProject::clearProperties()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2677 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-19 23:09:32 +00:00