1721 Commits

Author SHA1 Message Date
mcoletti
715ebc1128 0.5.0devel29 - QgsProject properties interface re-designed to be similar to QSettings
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2316 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 22:16:20 +00:00
mcoletti
1751ad9a54 Implemented removeEntry(), so now it's possible to remove existing project keys.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2315 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 22:13:47 +00:00
mcoletti
09aed6fed8 Some source code comment clean up.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2314 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 19:45:18 +00:00
mcoletti
671d213c5a project file properties now appear to work
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2313 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 19:27:24 +00:00
timlinux
572c5f9061 Changes to line style and pattern are now properly registered when changing between renderer enties for multirenderer types such as unique value renderer.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2312 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 18:35:51 +00:00
mhugent
c56278814a show styles on buttons in case of unique renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2311 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 15:25:32 +00:00
gsherman
a01d833d31 Added postgresql utility class to win32 lib project file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2310 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 07:20:14 +00:00
gsherman
e6111c7279 Added postgresql utility class to build (also include in libqgis)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2309 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 07:11:57 +00:00
gsherman
49ae7eb7f1 PostgreSQL utility class (singleton). This is not used anywhere yet and is not complete.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2308 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 07:08:04 +00:00
gsherman
45b903acc0 PostgreSQL utility class (singleton). This is not used anywhere yet and is not complete.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2307 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-22 06:53:05 +00:00
timlinux
2953dedab9 Minor enhancements to layouts and added a bit of debugging stuff.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2306 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 23:19:02 +00:00
gsherman
b24468f5fe Rearranged menu items per the menu-master's direction
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2305 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 19:37:06 +00:00
gsherman
b6d97976c4 Added methods to get the postgres connection and table name from the pg provider.
Added launcher for the pg query builder to the vector dlg.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2304 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 05:15:40 +00:00
gsherman
b6bdc873c2 Documentation update
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2303 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 04:27:01 +00:00
gsherman
7c967e3a19 Updates to query builder ui
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2302 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 03:53:02 +00:00
timlinux
23364c4f71 You can now view and alter the pg layer subset query from the vector layer properties dialog. Currently only by using the texteditor....I will hook up the pg query builder tomorrow for the truly shiftless and lazy among us :-P
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2301 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 02:11:44 +00:00
timlinux
4a25956c36 Added accessor and mutator for sql subseting query
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2300 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 02:09:49 +00:00
gsherman
9751b0b431 Fixed the ui version number so poor qt 3.1 users can still compile...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2299 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 01:20:58 +00:00
timlinux
bff27aec54 Comment out project stuff while transition to new api takes place...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2298 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 00:45:07 +00:00
gsherman
ec24d0bdd6 Implemented the test function and type checking to allow for automatic quoting of string values when added to the sql statement. More operators added to the dialog.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2297 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 00:27:09 +00:00
timlinux
9d1c160425 Whipping into shaping of vector dlgs. Actions dlg fills its container again (I broke this before somehow). Added metadata page. Added query info to general page (still to be wired up). Renamed legend page to symbology (for consistency with raster dlg).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2296 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-21 00:25:27 +00:00
timlinux
853b5f8be1 Added the capability to interrupt the rendering of the currently drawing map layer by pressing the escape key. Repeat and rinse to interrupt drawing of all vector layers. Not implemented for raster layers yet.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2295 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 14:12:57 +00:00
timlinux
0adad9a4f5 Added the capability to interrupt the rendering of the currently drawing map layer by pressing the escape key. Repeat and rinse to interrupt drawing of all vector layers. Not implemented for raster layers yet.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2294 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 13:46:58 +00:00
gsherman
80bae6dae5 Additional functionality for the query builder. Fields are populated when the builder opens. Values (sample and all) can be viewed. Double-clicking on a field name or value inserts it into the sql text box.
Still need to implement the test function and type checking to allow for automatic quoting of string values when added to the sql statement.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2293 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 08:20:53 +00:00
gsherman
d662abf333 Additional functionality for the query builder. Fields are populated when the builder opens. Values (sample and all) can be viewed. Double-clicking on a field name or value inserts it into the sql text box.
Still need to implement the test function and type checking to allow for automatic quoting of string values when added to the sql statement.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2292 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 08:13:15 +00:00
gsherman
82a579ed8a Fix the inevitable makefile error
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2291 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 06:13:13 +00:00
gsherman
71aa6f5875 PostgreSQL query builder (not fully implemented yet)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2290 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 06:02:46 +00:00
gsherman
64491a71fe PostgreSQL query builder (not fully implemented yet)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2289 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 06:00:31 +00:00
timlinux
a448a971ba Accidentally committed this earlier but its has dodgy multipart poly labelling stuff that wasnt meant to go into cvs yet so its commented out for now....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2288 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 02:32:14 +00:00
timlinux
4f0aebc8cd Added line style in-situ so that we have one less little pop up dialog....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2287 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-20 01:13:11 +00:00
mcoletti
7393675362 Well, that wasn't as bad as I thought: I fixed the string list project file
bug.  Now only ONE copy of string list keys is written to project files.

So, now writing should work for all types.

Unfortunately implementing the _reading_ part will have to wait until Monday.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2286 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 23:03:16 +00:00
timlinux
144b56afae const const assurance strategy...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2285 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 22:42:11 +00:00
timlinux
5395b3b234 More const constedness removal
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2284 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 22:38:36 +00:00
mcoletti
324c74718f 0.5devel.26 checked in regarding QgsProject file changes.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2283 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 22:30:04 +00:00
mcoletti
ca43c97e7a (Partial) Implementation of Re-design of project properties.
After some discussion, it was decided that the way projects handle properties
should look like QSettings.  The learning curve would be smaller since the
interface would be more consistent with QSettings, which some developers would
be familiar with.

The read*() and write*() property functions do update the project internal
state.  However, the write*() has a bug with string lists in that the string
list entries are redundantly emitted to the project file.

Unfortunately reading this new property configuration from project files isn't
finished yet.  However, in the interest of getting something out there for
people to code against, I'm going ahead and committing what I have.  After
all, I want to reduce the number of people using the old interface, and thus
code that will have to be re-written to adjust to the new one.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2282 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 22:27:07 +00:00
timlinux
120a32d247 Ye olde designer fixe...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2281 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 21:41:10 +00:00
timlinux
ac1f45616c Yet another non existong ui.h file removed for release make target
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2280 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 12:27:57 +00:00
timlinux
149cb30058 Napo updates
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2279 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 12:24:25 +00:00
timlinux
eb4575ca8d Extra dist was trying to deploy non exsiting qgsgpspluginguibase.ui.h
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2278 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 12:17:31 +00:00
timlinux
39ed4e66da Fix ui version number
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2277 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 12:13:30 +00:00
timlinux
131ba4b3ad bug fix last commit I had the patterns in a group box instead of a buttongroup so the toggle behaviour was not correct
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2276 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 01:34:14 +00:00
timlinux
dbeabe84cb Gui improvement - pattern selection is in place so no extraneous pop up window needed.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2275 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-19 01:21:26 +00:00
mhugent
783596c2bf deactivate capture menues for raster layers and enable only the item for the current geometry type
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2274 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-18 20:32:55 +00:00
timlinux
7e9204cdd3 Removed unwanted plugin line
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2273 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-18 11:39:41 +00:00
gsherman
7230dd0a47 Changed Tim's supress render checkbox all around (just to see if he gets mad) so the label is shorter (says Render) and is on by default. Unchecking causes no rendering on the map cavnas. Checking it causes a map refresh.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2270 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-18 04:34:59 +00:00
timlinux
363a6236d0 Suppress rendering feature
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2269 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-18 00:55:41 +00:00
timlinux
de32b97061 Added a little checkbox to the bottom right of status bar that when checked will suppress rendering of layers in main canvas and overview canvas, This is useful if you want to load a bunch of layers and tweak their symbology etc without having delays caused by rerendering everything after each change you make.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2268 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-18 00:53:11 +00:00
mcoletti
79aba2e52d The interface class now allows QgisApp access via app().
This was necessary to allow plug-ins to connect() to various QgisApp slots and
signals.  Since this somewhat short-circuits the need for the QgisInterface
classes, this might indicate the need for design refactoring.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2267 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-17 16:27:02 +00:00
g_j_m
d8c9b8b997 Improvements to the attribute action dialog box.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2266 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-17 08:36:09 +00:00
mcoletti
bd72048561 Fixed bug where "int" and other non-QString property value types weren't
getting properly restored when a project was read.

Note that still limited sub-set of property types are supported.  Currently
only supports QString, Int, UInt, Bool, Double, LongLong, and ULongLong.
However, it should (theoreticaly) be trivial to add in support for other
types.  Essentially you should add in new types as you need them.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2265 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-16 18:45:35 +00:00