3034 Commits

Author SHA1 Message Date
timlinux
90818f3cd1 ** Refactored all src/*.ui into src/ui/ dir for cleaner separation of ui's
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4414 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-30 17:01:21 +00:00
timlinux
232bbe3abe Remove sudo from make install
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4413 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-30 16:11:21 +00:00
timlinux
efd815aa1a Tweaks to icons:
- fixed order of remove all / add all layer icons to be consistent with order of over view icosn
- made toggle in overview more suitable (added glasses)
- redid north arrow icon
- removed black edge from copyright icon
- used red '-' on remove icons to make them stand out more (I may revert this)
- redid 'new' vector layer icon
- redid add wms layer icon


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4412 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-30 13:43:54 +00:00
timlinux
c26c2088d7 Added a simple little bash script to build qgis
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4411 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-30 12:27:27 +00:00
gsherman
fdddfc356a Modified the way in which the toolbar is added to the main window so that
the toolbar is properly placed in the dock area.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4410 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-30 06:04:50 +00:00
gsherman
481eb106fa Merge UI conversion branch to HEAD. UI branch is now deprecated.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4409 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-30 04:56:31 +00:00
mhugent
4f587b723b improved restoring of checkbox states from project files. Fix for segfault in QgsMapCanvas::removeAllLayers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4373 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-24 23:10:56 +00:00
mhugent
f322770a1f restored reading/writing XML for the legend settings, but there are still some bugs
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4360 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-21 21:41:28 +00:00
mhugent
06e5609645 more legend fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4355 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-19 18:36:29 +00:00
mhugent
82089e5406 some more legend fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4353 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-17 14:23:26 +00:00
mhugent
419926fd9d a little improvement to avoid flickering when a legendlayerfile is dragged
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4345 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-15 22:22:26 +00:00
mhugent
bf7d5e2e9c improved legend checkbox handling in case of several QgsLegendLayerFiles in one QgsLegendLayer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4344 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-15 22:06:30 +00:00
mhugent
9baf4e61bb First implementation step of having checkboxes in the qt4 legend (legendlayer and legendlayerfile)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4335 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-14 22:26:13 +00:00
mhugent
3acf13a2fa fix for names of classification attributes in legend
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4309 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-10 12:56:08 +00:00
gsherman
3e6db6dc92 Merged changes to the Qgis->MapServer export tool from the Qt4 Ui branch to HEAD.
This only affects the tools/mapserver_export directory.



git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4306 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-09 03:42:04 +00:00
mhugent
20bfa6b41f qgisapp now uses QgsLegend::currentLayer() instead of parsing list items
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4293 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-06 21:11:54 +00:00
mcoletti
7626e276eb Merged render() fix and reformatted to addVectorLayer to follow project formatting guidelines.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4292 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-05 22:41:56 +00:00
telwertowski
098db17059 Convert to Qt4 iterator. (This should fix Identify Tool crashes.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4291 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-05 04:59:28 +00:00
telwertowski
4ba0a4f4aa Revise legend classes to use Qt4 static QCoreApplication methods instead of deprecated Qt3 qApp-> methods. Move include of qgisapp.h from legend.h to cpp file to minimize header dependencies.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4290 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-05 03:49:29 +00:00
mhugent
714d05d5a7 Replaced the legend classes Q3ListView and Q3ListViewItem with the qt4 classes QTreeWidget and QTreeWidgetItem. More bugfixes and refactoring (e.g. no direct access to items for mapcanvas, overview canvas and ev. renderers) will follow soon
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4289 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-04 22:18:41 +00:00
morb_au
247a15466f Raster drawing improvements / Qt4 porting.
* Zooming into a raster (where a source pixel covers more than one screen pixel) should now draw fully into the bottom right corner of the window.
* Since Qt4 wants all QPainter activity to be done inside a paint event, QgsMapCanvas::render() is no longer called directly.  Instead, it is called via QgsMapCanvas::update() or more rarely ::repaint(), therefore calling through ::paintEvent() to ::render() if appropriate.  ::render() does not call ::repaint() any more as that would cause a paint event loop.
* Some debugging to cerr/cout has been updated to diagnose the above.



git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4288 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-04 05:58:47 +00:00
mcoletti
a80c30d2d1 Includes now Qt4 happy. Once again the support vector file formats lives.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4287 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-02 21:13:48 +00:00
mcoletti
632352550a Yet more more superfluous checks for OGR plug-in removed since that's now handled elsewhere.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4286 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-01 23:26:33 +00:00
mcoletti
7b9ee7f372 Removed more superfluous checks for OGR plug-in since that's now handled elsewhere.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4285 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-01 23:08:30 +00:00
mcoletti
dce21f5b25 in addLayer() Removed superfluous check for OGR plug-in since that's now handled elsewhere.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4284 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-01 22:40:07 +00:00
morb_au
30ef61d998 The map should now move again when you go to drag it with the little hand/pan symbol, not just when you complete the drag.
The original problem was due to the bitBlt idiom going away in Qt4.

Others should check that this new method works/doesn't cause flickering under their system, as I developed this modification against a KDE session via VNC.

Also there seems to be a little bit of realignment (probabaly a fraction of a screen pixel) that occurs when the pan completes.  I presume this is not a significant issue to anyone.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4283 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-30 13:08:54 +00:00
mcoletti
0297e47e8e - one cannot do QStringList = 0 as a default parameter; QStringList =
QStringList() substituted

- thou shalt pass non atomic function arguments as references or
  pointers (thus saving some memory and copy ctor overhead)



git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4282 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-29 00:31:58 +00:00
mcoletti
31afaefecd Now properly clean MOC and UIC files with make clean.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4281 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-29 00:20:42 +00:00
mcoletti
46a1b5fa09 Now make clean removes MOC files.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4280 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-28 22:15:51 +00:00
g_j_m
a46077fe39 Don't use the postgres information_schema view because earlier versions of
postgres don't have it...


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4279 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-28 09:10:59 +00:00
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