2039 Commits

Author SHA1 Message Date
timlinux
43c14be105 Fixed incorrect mapping of widget names to class names
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2963 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-14 15:25:19 +00:00
larsl
70211d18a5 Someone forgot a backslash
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2962 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-14 13:24:10 +00:00
timlinux
bf3950252c Make updates for designer widgets.still getting relocation errors...investigating...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2961 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-14 09:05:34 +00:00
timlinux
a4fd5f655e Building block widgets for defining symbology (.uis designed by Steven Ottens). This is an initial commit and they have no implementation yet and the design is by no means final. They wil be built as designer plugins to maximse reuse of code.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2960 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-14 04:00:47 +00:00
timlinux
61893ddb02 Added defs for point, line and fill style widgets
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2959 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-14 03:55:57 +00:00
gsherman
3d0606273d qgsrasterlayerproperties.cpp:
Added static_cast to int for several calls to get rid of compile time
warnings

qgsrect.cpp:
Fixed the asPolygon function so it returns a closed polygon. This was
causing select and identify in the ogr provider to fail.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2957 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-14 00:36:20 +00:00
jobi
c64461c290 - fix for building on 64bit architecture
- fixed dependencies of designer-plugin/stuff


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-13 14:24:48 +00:00
larsl
864ce9fefc Always use UTF-8 for the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2955 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-13 11:38:48 +00:00
timlinux
d8856ec5b1 New stuff for designer plugins. Initial implementation for legend and map cavnase. There is still a symbol relocation error that needs to be resolved.
Community reg plugin updates (not useable or included in build process yet though).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2954 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-13 10:38:20 +00:00
g_j_m
e5e3d74281 - Improvements to column selection algorithm
- Clarification of comments


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2953 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-12 19:30:26 +00:00
g_j_m
7af82e5863 - bug fix for views with an oid column, but no other suitable column for use
by qgis as the key into the view
- start of support for views that reference views


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2952 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-12 18:13:46 +00:00
gsherman
d53ad2e933 Improvements to mapserver export. Still no symbology support (random
colors are generated) and point symbols are not specified. The output
is capable of creating map output as is, assuming a template is
supplied.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-12 05:27:53 +00:00
mcoletti
d820d07372 Adding necessary files for library necessary for plug-in linkage
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2950 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-11 22:41:24 +00:00
g_j_m
35ca7c7e97 Layers sourced from postgresql views no longer need a column called 'oid' -
they just need to contain a column that comes from a table that has a
unique or primary key constaint on it.

One caveat - views that are defined in terms of other views don't yet work,
and to not break exiting situations a column 'oid' in the view is still
recgonised (this will be fixed and removed shortly).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2949 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-11 20:13:32 +00:00
mcoletti
0eed76a307 Enabled GML support
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2947 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-11 01:59:34 +00:00
timlinux
91181cf04f Mefged in changes from proj branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2946 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-10 23:57:56 +00:00
mcoletti
2134e1f11e select() now consistently uses WKT polygon to compensate for pedantry in latest GEOS
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2944 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-10 20:13:59 +00:00
mcoletti
04ab79191f qgisapp.cpp :
- debugging output for building supported vector formats for open file
    dialog cleaned up a bit

qgsmaplayer.cpp, qgsrenderer.cpp :

  - cleaned up some formatting

qgsrect :

  - cleaned up some formatting
  - normalize() now uses std::swap()
  - moved ctor to implementation file
  - cleaned up asPolygon(); now uses QTextStream


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2943 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-10 20:12:10 +00:00
rabla
3fc56a321f update attributes if necessary
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2942 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-10 17:51:23 +00:00
timlinux
25d473750d Merged raster histogram stuff back into head
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2941 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-10 16:48:36 +00:00
rabla
fa9a570c88 check if the layer is empty, fixes the crash when a layer is stored in project file, but does not exist in vector
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2940 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-10 15:45:48 +00:00
gsherman
48198ce0ef Brendan Morely's postgis threaded extent patch (new files)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2936 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-10 05:38:27 +00:00
gsherman
ffbf03c76f Brendan Morley's postgis threaded extents patch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2935 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-10 05:08:39 +00:00
gsherman
59bffa930a Brendan Morely's postgis threaded extent patches
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2934 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-10 05:07:27 +00:00
rabla
2ab87b8598 more hardcoded point symbols
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2932 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-09 13:29:30 +00:00
g_j_m
5732235b88 Add a missing table in the WHERE clause
Fix a potential problem in identifying geometry enabled relations
that have null values for some of the rows in the geometry column.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2930 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-09 04:28:16 +00:00
mcoletti
5ff0fb1b27 Added test for deep key name sequences.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2928 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-07 20:43:51 +00:00
mcoletti
97e13cd34a Fixed bug where deeply nested key sequences weren't getting properly written
to project files.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2927 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-07 20:42:59 +00:00
timlinux
79d374a023 Scaling cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2922 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-05 19:25:38 +00:00
timlinux
93644c5585 Far more reasonable looking graphs....still need to sort out scaling a bit better.....
Check boxes are still not hooked up..


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2921 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-05 18:18:43 +00:00
larsl
22fcadea49 Fixed a bug that made a newly created QgsProject dirty, which caused QGIS to ask the user if it wanted to save the current project even if it hadn't made any changes (bug 1115186)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2920 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-05 14:39:43 +00:00
larsl
a742b20b93 Fixed bug 1157260
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2919 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-05 13:59:56 +00:00
mhugent
986943d6ef Added loading/reading of the vector data provider encoding type from/to the project file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2918 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-05 09:54:56 +00:00
timlinux
ddf3ccd629 More updates to graphing of rasters:
List now shows bands...click on one or more bands and click refresh to show graph
ymax and min calcs done (min & max calculated across all bands to be graphed)

checkboxes still not hooked up yet...


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2917 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-05 01:50:06 +00:00
mhugent
e2c9722bd4 replaced enum QgsVectorDataProvider::Encoding with QTextCodec
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2916 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-05 00:22:26 +00:00
larsl
40fb716271 Added <cmath> header and std namespace for sqrt()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2915 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-04 23:20:09 +00:00
timlinux
646e064db1 Shame on me!...wrong ui version.....thanks Radim...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2914 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-04 21:47:52 +00:00
rabla
38cce202b4 getProjectionWKT
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2913 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-04 17:30:01 +00:00
rabla
5986a9731f +grass projection lib
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2912 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-04 17:15:59 +00:00
rabla
0745c7b95a measure
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2911 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-04 16:25:09 +00:00
rabla
2304e1be41 more buttons
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2910 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-04 16:08:26 +00:00
rabla
4617317482 emit button
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2909 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-04 16:07:35 +00:00
rabla
7614ad35b2 save region status in settings, use EmitPoint
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2908 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-04 12:02:49 +00:00
timlinux
2f5719c73b Added some controls for setting histogram options - still to be wired up...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2907 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-04 08:44:45 +00:00
rabla
2dcc277e73 measure
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2906 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-04 08:24:51 +00:00
timlinux
f22adda41d First stab at a histogram for rasters. Still in progress.
TODO:
Add band name and symbol to chart legend
Scale y axis based on image depth
Draw each band in a separate colour
Draw polyline so that it looks more bar chart like???


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2905 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-04 01:57:09 +00:00
mcoletti
e297cc83e8 added qgsprojectproperty.{h,cpp}
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2903 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-03 00:02:50 +00:00
mcoletti
cb1703a8c2 Synched with QgsProject changes.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2902 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-02 23:34:36 +00:00
mcoletti
5058cd01ae - added subkeyList() and entryList()
- moved internal QgsProject property class hierarchy to separate lexical space
  (i.e., qgsprojectpropety.{h,cpp})

- refactoring of QgsProject internals to be easier to understand and
  maintain.  (Though I doubt I was successful. =\ )

- corresponding test harness (tests/qgsproject) checks out


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2901 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-02 23:34:00 +00:00
larsl
055f7da50e Fixed more XML writing bugs in the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2900 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-02 18:19:41 +00:00