814 Commits

Author SHA1 Message Date
gsherman
f767096b04 Added functions to return menu ids by name and menu name by id.
These were added to the interface classes for use by plugins
NOTE - The utility of these functions is questionable and they
       may be removed in the future


git-svn-id: http://svn.osgeo.org/qgis/trunk@1031 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:53:12 +00:00
gsherman
f52698d9c0 Changed popup menu names to something more meaningful than PopupMenu, PopupMenu_1, etc
git-svn-id: http://svn.osgeo.org/qgis/trunk@1030 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:49:38 +00:00
gsherman
ac26abcb51 Minor code reformatting
git-svn-id: http://svn.osgeo.org/qgis/trunk@1029 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:45:32 +00:00
gsherman
afa52585c5 Added delimited text doc dir makefile
git-svn-id: http://svn.osgeo.org/qgis/trunk@1028 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:44:41 +00:00
gsherman
bb3fa92eeb Added delimited_text to SUBDIRS
git-svn-id: http://svn.osgeo.org/qgis/trunk@1027 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:42:40 +00:00
gsherman
a4f5122b62 Initial checkin of documentation for the delimited text plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk@1026 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:41:58 +00:00
gsherman
af0a1f976f Renamed plugin source files to something more meaningful
Removed previous files
Modified Makefile.am to support file changes
Added a Help button to the dialog


git-svn-id: http://svn.osgeo.org/qgis/trunk@1025 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:40:38 +00:00
mhugent
70288e8b15 some more cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk@1024 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 14:56:59 +00:00
mhugent
c87fd4ea56 some more cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk@1023 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 14:44:42 +00:00
mhugent
f9ee0e58fe little code cleanup
git-svn-id: http://svn.osgeo.org/qgis/trunk@1022 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 08:10:24 +00:00
mhugent
d31f200ae9 changed the drawing code of multipolygons as suggested by Radim
git-svn-id: http://svn.osgeo.org/qgis/trunk@1021 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 06:59:43 +00:00
mcoletti
d094e1a8cd Added GDAL_CFLAGS to find GDAL headers
git-svn-id: http://svn.osgeo.org/qgis/trunk@1020 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 19:19:01 +00:00
mhugent
e03105b23a removed old symbology dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@1019 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 07:46:04 +00:00
mhugent
47fe338381 removed code related to old symbology
git-svn-id: http://svn.osgeo.org/qgis/trunk@1018 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 07:19:26 +00:00
gsherman
9835ae571f Added Qt standard WhatsThis button to the toolbar at startup
Removed the homebrew WhatsThis tool button from the toolbar in qgisappbase.ui


git-svn-id: http://svn.osgeo.org/qgis/trunk@1017 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 03:06:56 +00:00
gsherman
00c8d29e5a Modifed ternary statement to return QString::null if the file is not valid
git-svn-id: http://svn.osgeo.org/qgis/trunk@1016 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 02:58:07 +00:00
gsherman
33fd356603 Updated icon for plugin
Added WhatsThis help to the plugin toolbar and menu entry


git-svn-id: http://svn.osgeo.org/qgis/trunk@1015 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 02:56:11 +00:00
gsherman
a6cb25b395 Changed embedded image format to XPM.GZ to eliminate the duplicate const error when compiling with Qt 3.2 or older
git-svn-id: http://svn.osgeo.org/qgis/trunk@1014 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 01:00:38 +00:00
gsherman
9205dc43ce Fixed version number in .ui file to allow compilation under Qt versions prior to 3.3
git-svn-id: http://svn.osgeo.org/qgis/trunk@1013 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-11 00:49:55 +00:00
gsherman
b200a8fb01 Updated changes related to 0.1.0devel7
git-svn-id: http://svn.osgeo.org/qgis/trunk@1012 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:28:57 +00:00
gsherman
3326005217 Bumped extra_version to 7
git-svn-id: http://svn.osgeo.org/qgis/trunk@1011 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:27:25 +00:00
gsherman
214d9a3dff Changes to support upcoming data provider api changes related to plugging memory leaks
git-svn-id: http://svn.osgeo.org/qgis/trunk@1010 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:23:06 +00:00
gsherman
e09ec1ce5a Indentation chagnes
git-svn-id: http://svn.osgeo.org/qgis/trunk@1009 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:22:02 +00:00
gsherman
15a79c50c2 Indentation changes, stub for new getNextFeature function that will be implemented to plug memory leaks
git-svn-id: http://svn.osgeo.org/qgis/trunk@1008 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:21:01 +00:00
gsherman
c788079aba Fixed implementation for tables and identify. Select and highlight of features does not work yet. This is the inital version, work on bugs is ongoing
git-svn-id: http://svn.osgeo.org/qgis/trunk@1007 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:18:52 +00:00
gsherman
9ec26ace64 Added delimited text provider to Makefile.am
git-svn-id: http://svn.osgeo.org/qgis/trunk@1006 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:17:37 +00:00
gsherman
9e6fe39e1d Initial checkin of delmited text plugin files
git-svn-id: http://svn.osgeo.org/qgis/trunk@1005 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:16:52 +00:00
gsherman
f838ea7eb2 Added delimited_text plugin to Makefile.am
git-svn-id: http://svn.osgeo.org/qgis/trunk@1004 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:14:50 +00:00
gsherman
5d59cd32ae Fixed include for qgisapp.h to local
git-svn-id: http://svn.osgeo.org/qgis/trunk@1003 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:14:14 +00:00
gsherman
1e61f0272e Added delimited_text plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk@1002 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 23:13:13 +00:00
mhugent
30ad8fcba3 fixed a small bug occuring when loading project with graduated vector symbology
git-svn-id: http://svn.osgeo.org/qgis/trunk@1001 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 11:37:29 +00:00
gsherman
4cc1581835 *** empty log message ***
git-svn-id: http://svn.osgeo.org/qgis/trunk@999 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-10 02:30:45 +00:00
mhugent
36c253220d removed duplication of drawing code in the vector renderers
git-svn-id: http://svn.osgeo.org/qgis/trunk@997 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-09 18:50:59 +00:00
timlinux
c3552c13a1 Completed session management - loaded plugins are remembered when qgis is closed and reloaded next time qgis is opened.
git-svn-id: http://svn.osgeo.org/qgis/trunk@996 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-09 12:32:51 +00:00
timlinux
21cc2901bc Completed session management - loaded plugins are remembered when qgis is closed and reloaded next time qgis is opened.
git-svn-id: http://svn.osgeo.org/qgis/trunk@995 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-09 12:25:03 +00:00
mcoletti
2e54ed8648 - Promoted name, description, version, and type strings to QgisPlugin base
class.

- Type now a formal enumerated typedef

- Propogated changes forward to existing plug-ins


git-svn-id: http://svn.osgeo.org/qgis/trunk@994 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-08 23:50:05 +00:00
mhugent
c7efec252e added option to change the outline width in continuous color renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk@993 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-08 06:44:45 +00:00
mhugent
c7dc6118f2 added nopen linestyle
git-svn-id: http://svn.osgeo.org/qgis/trunk@991 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-06 12:11:04 +00:00
timlinux
29d9e3b237 Save state of plugins in ~/.qt/qtrc file (in progress). State is saved, just need to implement code to load plugins marked as active during application startup.
git-svn-id: http://svn.osgeo.org/qgis/trunk@990 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-06 11:58:19 +00:00
mhugent
7e5ae067d3 set line with 1 as default and constrained minimum width of outline spinboxes to 1 to avoid confusion between line width 0 and Qt::NoPen linestyle
git-svn-id: http://svn.osgeo.org/qgis/trunk@989 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-06 11:15:54 +00:00
mhugent
ce6b7fed13 more changes to the resize behaviour of the graduated symbol dialogs
git-svn-id: http://svn.osgeo.org/qgis/trunk@988 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-06 10:29:57 +00:00
timlinux
9c4f775641 Filter hook for raster
git-svn-id: http://svn.osgeo.org/qgis/trunk@987 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-06 03:37:11 +00:00
timlinux
3700434188 Automagic display of version number....
git-svn-id: http://svn.osgeo.org/qgis/trunk@986 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-06 03:34:28 +00:00
timlinux
f3c97369a7 Added QgsRasterLayer::filterLayer which gets called near the end of each of the 8 renderers. This is the place to inline filters. Note taht eventually filters will be hived out to a filter plugin mechanism.
git-svn-id: http://svn.osgeo.org/qgis/trunk@985 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-06 03:32:59 +00:00
jobi
c9261d9ba4 - forgot to add config.h.in to EXTRA_SOURCES so it gets in the release
git-svn-id: http://svn.osgeo.org/qgis/trunk@984 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-05 23:40:59 +00:00
jobi
adf8745e87 - Changed configure stuff to write DEFINES in config.h.
Postgresql stuff needs testing as I commented the compileflags in src/Makefile.am
- Infos will be posted on the devel mailinglist


git-svn-id: http://svn.osgeo.org/qgis/trunk@983 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-05 23:30:29 +00:00
mcoletti
22c79565bb - differentiate between headers and implementation files [0]
- neatened file listings

Notes:

[0] this in anticipation of eventually having two overall targets: one for
a qgis library, which can be used to write plug-ins outside directory
hierarchy, and the application itself.


git-svn-id: http://svn.osgeo.org/qgis/trunk@982 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-05 22:08:24 +00:00
mcoletti
922ff0ec11 Added copy of .indent.pro file from src directory to this provider directory
git-svn-id: http://svn.osgeo.org/qgis/trunk@980 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-04 21:03:48 +00:00
mcoletti
0de5bec56c main.cpp:
- now complains if unable to load project [0]

qgsprojectio.cpp:

  - in read(), potential resource leak with QDomDocument plugged by using
    std::auto_ptr<QDomDocument> [1]

  - also in read(), now properly complain and exit if there was a problem
    opening a layer; e.g., the specified URI doesn't exist

Notes:

  [0] Though the complaint is currently written to cerr, and even then only if
      QGISDEBUG is defined; eventually we should be better at handling broken
      qgis project files.

  [1] We should use at least std::auto_ptr for dynamically created objects
      that shouldn't live outside the scope of the function.  That way we
      don't have to worry about deleting said objects; that'll happen
      automatically if std::auto_ptrs are used.  Moreover, if we eventually
      use exceptions, these objects will also be properly deleted if
      std::auto_ptrs are used.


git-svn-id: http://svn.osgeo.org/qgis/trunk@979 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-04 20:58:13 +00:00
mcoletti
ab3b85fdbb - ran files through GNU indent to make it easier to read code
- isValid() was always returning true when, in fact, occasionally the
  provider was not in a valid state


git-svn-id: http://svn.osgeo.org/qgis/trunk@978 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-04 20:35:14 +00:00