3054 Commits

Author SHA1 Message Date
morb_au
662ad19750 Several improvements related to WMS:
* Adds WMS styles support (think "themes").
* WMS layer selection window only lets you select one style at a time.
* WMS layer selection window can be sorted various ways, including the list order in which it was sent from the server (this helps in keeping lists of months ordered properly).
* Early work for changing the image encoding sent from the WMS server.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4278 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-27 20:51:17 +00:00
telwertowski
039e9e0fca Update ToolButton popup menus for Qt4.C
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4277 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-27 08:13:51 +00:00
telwertowski
83d5a57e8e QApplication needs to be instantiated before applicationDirPath() is called.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4276 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-27 04:25:58 +00:00
timlinux
5d6e4d3994 Fix some layout issues
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4275 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-27 00:27:31 +00:00
timlinux
fe31ebda00 UI improvements to keep the A-types (ie me) happy..
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4274 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-27 00:10:31 +00:00
gsherman
abcc61c60a Python wrapper code -- testing only
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4273 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-26 22:23:23 +00:00
gsherman
6c7a5aafa5 Implementation of Qt4 dialog for mapserver export tool
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4272 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-26 03:46:24 +00:00
telwertowski
ba6ff9f9c5 Make X11 selection rect display to the upper left as well as lower right.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4271 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-26 02:27:06 +00:00
gsherman
32abe7d551 Refactoring of QSettings naming conventions. This has been tested but there
may be errors since the base key name for all plugins was changed. The convention
for settings keys used by a pluting is to name the key "/Plugin-MyPluginName/foo".
Thus the delimited text plugin key is /Plugin-DelimitedText and all settings
related to it are stored under it. (I know, commit messages shouldn't be used
to write documentation)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4270 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-26 01:10:29 +00:00
gsherman
f9b3936543 Reorganization of the sections in the QGIS configuration file (QSettings).
There may be issues with the implementation -- check to make sure that
the appropriate keys are being used when restoring settings.

Plugins are not affected -- yet.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4269 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-25 23:31:01 +00:00
telwertowski
a25beb4b42 Update selection and zoom rectangles for Qt4.
(Object editing rubberbands are still not updated.)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4268 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-25 19:43:45 +00:00
gsherman
2f390c9f82 Quick change to fail configure if Qt 4 is not found. Additional cleanup
to the Qt detection code is required to complete the migration from
version 3.x to 4.x.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4267 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-25 17:53:29 +00:00
morb_au
04a72d5831 qgis/helpviewer should now be compilable under Qt4; Makefile.am more closely follows (e.g.) qgis/plugins/grass, which makes "make clean" work properly.
After this commit you should re-configure qgis, make clean in qgis/helpviewer then build as normal.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4266 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-24 21:45:44 +00:00
gsherman
1990e48260 Converted QSettings to use global organization and application name so
they don't have to be specified in the QSettings constructor. This doesn't
apply to plugins.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4265 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-24 17:18:36 +00:00
gsherman
18129527c3 Fixes for QSettings implementation
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4264 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-24 00:13:55 +00:00
telwertowski
1bfefb2370 Set dialog constructor modal flag to true. This causes the dialog to have the right window type on a Mac.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-23 07:58:09 +00:00
telwertowski
550a3cc1cc Remove font property settings using the default (unspecified) font size from UI files. uic3 (Qt 4.0.1) is generating code which sets the size to 0 instead of the default size. This causes no text to be drawn for X11 and a crash for Macs.
Removing empty attribute blocks has no effect. For non-empty blocks using the default size, the settings have been moved to the implementation class. When the bug is fixed, the settings can be put back in the ui file and removed from the implementation file.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4262 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-23 07:08:50 +00:00
timlinux
6abe63cb1e Transparency for grayscale images works again
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4261 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 17:57:01 +00:00
timlinux
b8ae4eb2ca Reinstate nodata in metadata which has mysteriously disappeared from raster metadata...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4260 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 16:38:38 +00:00
timlinux
0ea02a0042 Apply patch from Martin for gentoo friendliness
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4259 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 16:05:05 +00:00
gsherman
d823854829 Removed Qt4 #ifdef block (issue resolved)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4258 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 07:18:39 +00:00
gsherman
9648e23861 Fix for plugins not loading. This was related to grabbing the existing Plugin menu
in order to insert the new menu items.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4257 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 07:10:50 +00:00
telwertowski
d33f69ccf5 Qt4/Mac requires a type to avoid an "ambiguous argument type" error.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4256 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-22 00:10:34 +00:00
telwertowski
6e8edde3b3 Add build support for Qt4/Mac.
(The environment variable QTDIR should be defined similar to /usr/local/Trolltech/Qt-4.0.1 for Qt4 and /Developer/qt for Qt3.)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4255 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-21 23:54:16 +00:00
gsherman
3aacf75c4a Random color now assigned when a layer is first loaded
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4253 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-21 06:10:18 +00:00
gsherman
cd64a08047 Added helpviewer subdir to the top-level Makefile.am
Changes to helpviewer classes to allow compilation under Qt 4.0.1

Works on Linux; untested on other platforms.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4252 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-21 05:51:31 +00:00
gsherman
214e58275a Changes to allow compilation with Qt 4.0.1.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4251 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-21 05:16:22 +00:00
timlinux
ff075a32c9 Changelog for extra version update
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4250 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 18:10:23 +00:00
timlinux
84c1ce38d7 Bumped extra version to 7.9.2 to indicate Qt4 port version
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4249 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 18:09:28 +00:00
timlinux
c2dea74c24 Make file for libqgsraster
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4248 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 18:04:27 +00:00
timlinux
f0c3646a64 Moved code that I factored out of raster last night into its own dir / lib. This is the (extremely minimal) beginnings of libqgsraster which will eventualy do all the raster processing grunt work. qgsrasterlayer will then become a thin wrapper for qgsraster functions.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4247 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 18:01:48 +00:00
mhugent
61bb31d827 Points snaping does now consider changed geometries. Fixed a bug which prevents multiple changes of the same gdeometry. All changes are not related to qt (and therefore should not conflict with the current qt4 port)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4246 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 07:19:39 +00:00
gsherman
c33724c097 Fix to remove georeferencer plugin from the build
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4245 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 06:03:55 +00:00
gsherman
7fa7704c25 More changes for Qt4. QGIS now compiles and runs, although there are problems. Plugins do not load
and there are display issues when loading a layer. 

The georeferencer plugin is currently disabled in the build due to unresolved UI issues.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 05:55:32 +00:00
timlinux
25036fea5b Move member decl'sinto provite section (out of signals)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4243 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 03:08:36 +00:00
timlinux
3e7e345dab Fix qt4 build errors in projection selector
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 02:58:13 +00:00
timlinux
894dc45f71 Fix small mistype preventing build
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4241 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 02:43:51 +00:00
timlinux
d5790f9191 Fix compile error in qt4
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4240 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 02:33:02 +00:00
timlinux
52b1421190 Fix build errors ini qt4
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4239 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 02:24:34 +00:00
timlinux
a7df79a72b Add sentinels to src/qgsrasterbandstats.h and src/qgsrasterpyramid.h
Add missing include to src/qgsencodingfiledialog.h
Add missing include to src/qgsrasterlayerproperties.cpp

Still need to resolve some trivial compile issues in src/qgsrasterlayerproperties.cpp


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 02:15:38 +00:00
timlinux
729b0d527b Fix problem with qgsraster not building in qt4
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4237 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 01:57:36 +00:00
shalasz
6403ebd7c0 Find libQtCore on Debian
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 01:55:31 +00:00
shalasz
a07b1b02aa Look for uic3 in PATH as well
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4235 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 01:37:33 +00:00
gsherman
4f92277e47 Qt4 port using Qt3 compatibility library. Note - not all files compile yet.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4234 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-19 23:35:22 +00:00
gsherman
f6e68f1b95 Inital checkin of mapserver export tools
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-19 05:59:30 +00:00
gsherman
f52ca2e9eb Added check for Qt 4.1x in addition to 4.0.x
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4231 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-19 05:27:48 +00:00
gsherman
ed430d45d8 Changed path to qt3to4 to use the QTDIR environment variable rather than
a hard-coded path.

Added a check to make sure that QTDIR is set prior to running the script.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4230 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-19 04:23:07 +00:00
gsherman
28f8b69e30 Fix for the query builder when invoked from the PostgreSQL layer selection dialog.
This closes bug 1348385.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4226 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-18 07:44:55 +00:00
gsherman
9e1dc037cb Added double quotes to schema, table, and field names in the query builder to prevent
issues related to upper/mixed case table and fields names in PostgreSQL.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4225 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-18 07:16:38 +00:00
gsherman
cc5d7ec3a3 Added a couple of missing icons to themes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4210 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-16 04:21:30 +00:00