15199 Commits

Author SHA1 Message Date
Magnus Homann
182a64eb39 Basic test of QgsDistanceArea 2012-09-03 15:35:13 +02:00
Radim Blazek
ff7b21d545 ECW identify() fix conditional for ECW driver and GDAL < 1.9.2 2012-09-03 15:08:24 +02:00
Larry Shaffer
d2f08c60d9 Fix for double point size in font named-style lookups 2012-09-03 03:48:33 -06:00
Nathan Woodrow
787060388d Merge pull request #221 from szekerest/master
Specify port 1433 for FreeTDS by default. Allow to specify server/database/uid/password when the driver setting is present
2012-09-03 02:05:16 -07:00
szekerest
c322cd52cf Specify port 1433 for FreeTDS by default. Allow to specify server/database/uid/password when the driver setting is present (fixes #6259, fixes #6263) 2012-09-03 11:01:10 +02:00
Matthias Kuhn
aa31c8c6ba sizePainterUnits: Calculate based on specified size instead of size in QgsDiagramSettings 2012-09-03 10:47:21 +02:00
Matthias Kuhn
9c4d67c241 Calculate size for PAL correctly also if same attribute is used multiple times. 2012-09-03 10:46:08 +02:00
Matthias Kuhn
25f0f1fe28 Allow smaller numbers in size spin box 2012-09-03 10:33:11 +02:00
Matthias Kuhn
dc790ff172 Enable diagram size options based on sizeType selection 2012-09-03 10:30:31 +02:00
Matthias Kuhn
b84baeb150 Comments for documentation 2012-09-03 09:47:22 +02:00
Matthias Kuhn
52075ebd8f Selection mode for diagram attributes adjusted 2012-09-03 09:36:12 +02:00
Matthias Kuhn
9271ef3b2f Add warning if no reference value for diagram scaling has been selected. 2012-09-03 09:20:11 +02:00
Matthias Kuhn
af29da6f70 Use QToolBox instead of QTabWidget in diagram properties 2012-09-03 09:08:31 +02:00
Werner Macho
70fc079230 translation update: gl_EX by XAN 2012-09-03 08:54:55 +02:00
Larry Shaffer
61a50225ee Add quadrant, offset, rotation for points/centroids in adv labeling
- Possible fix for #4634, #5256, #6162
- Uses GEOS to convert centroids to points before PAL solution

- Implements #3492, #6285
- Convert PAL layer types 'over point/centroid' to 'offset from point/centroid'
- Add quadrant offsets (above/below/right, etc. like in old labeling)
- Add x and y offset, in mm or map unit, in addition to quadrant
- Default for offset is set to map units (mm scales oddly with zoom)

- Implements #4517, #6118; updates fix for #4317
- Rotation is independent of data defined columns
- Rotation bounding box included in offset calculation
- GUI spin box range set from -360 to +360 for initial dev testing

- Keep from scaling letter/word spacing if set to 0
2012-09-02 22:13:04 -06:00
Nathan Woodrow
5a0d2f5863 expose layer to javacript 2012-09-02 22:46:19 +10:00
Nathan Woodrow
a61a15bb1e Move expression text replace to QgsExpression
- Update actions, html map tips, and annotations
2012-09-02 22:46:19 +10:00
Nathan Woodrow
7298e73908 Add html annotations 2012-09-02 22:46:19 +10:00
Jürgen Fischer
cbdafbc398 Merge pull request #200 from sdikiy/dirdebug
Debugging of all files in a directory
2012-09-01 12:51:21 -07:00
Juergen E. Fischer
b43ed34872 fix warnings 2012-09-01 20:41:31 +02:00
Juergen E. Fischer
42a9d01938 only accept crs matches if there's only one (improved #5066) 2012-09-01 19:42:57 +02:00
Larry Shaffer
31d1b95bdb Add word and letter spacing to PAL layer of adv labeling
- Caveat: does not work with curved line labels (yet)
- Reorganize form widgets, moving mulit-line options to own groupbox
- Character width option removed due to very erratic QFont::setStretch() bugs
2012-08-31 13:30:23 -06:00
Marco Hugentobler
8f891c5e74 Fix diagram scaling for print 2012-08-31 17:10:44 +02:00
Matthias Kuhn
573d57ff69 Revert print scale fix.
Use Marco Hugentobler's print scale fix. It's cleaner
2012-08-31 17:08:52 +02:00
Marco Hugentobler
6028b81191 Improve scalebar default settings 2012-08-31 17:05:12 +02:00
Giuseppe Sucameli
b1bed9f123 use 4 spaces for the indention, as per PEP8 2012-08-31 16:24:53 +02:00
Giuseppe Sucameli
45942aa59c move QgsMessageBar class to GUI library, improve its doc 2012-08-31 16:24:53 +02:00
Giuseppe Sucameli
7a241046a2 add option to choose whether enable project macros 2012-08-31 16:24:53 +02:00
Giuseppe Sucameli
2910a8eaf0 add tooltip to message bar's close button 2012-08-31 16:24:53 +02:00
Larry Shaffer
8be777b999 Changes to QgsMessageBar icons and Enable macros action 2012-08-31 16:24:53 +02:00
Giuseppe Sucameli
54275e02a2 Project macros: do not display the warning bar when there are no macros in the project, decrease warning bar message level for macros 2012-08-31 16:24:53 +02:00
Giuseppe Sucameli
c7fcef4c1d [FEATURE] Add support to user-defined python macros into project file:
macros are executed when a project is loaded (openProject function), saved (saveProject function) or is closing (closeProject function),
macros' python code is embedded in the project file (XML),
a bar (non-blocking) is shown on the top of the canvas to ask to the user whether enable project macros.

Work done for ARPA Piemonte
2012-08-31 16:24:53 +02:00
Marco Hugentobler
1ddcf94ba4 Add test and control images for composer scalebar test 2012-08-31 15:56:31 +02:00
Nathan Woodrow
fbfa025485 Add format_number function to QgsExpression.
- Add locale-aware separator for thousand separator
2012-08-31 22:57:41 +10:00
Etienne Tourigny
2ab844abf8 fix db handling when modifying existing color ramp (#6229) 2012-08-31 08:54:56 -03:00
Marco Hugentobler
4b4ac5a5ac Merge branch 'master' of github.com:qgis/Quantum-GIS 2012-08-31 13:13:47 +02:00
Marco Hugentobler
ee1636900a Thousand separator for numeric scale bar style (depending on locale). Implements ticket #6287 2012-08-31 13:13:32 +02:00
Larry Shaffer
c928868916 Add Panels and Toolbars submenus to View menu in Composer 2012-08-30 19:09:27 -06:00
Nathan Woodrow
93ad1d0a2c initialize mScale to 0 in QgsExpression 2012-08-31 07:06:57 +10:00
Marco Hugentobler
a91766d005 Fix frames in html tests 2012-08-30 16:07:48 +02:00
Nathan Woodrow
4a97a9200c Add function to QgsExpression 2012-08-31 00:00:41 +10:00
Alexander Bruy
ab36a36c37 fix file permissions 2012-08-30 16:46:32 +03:00
Marco Hugentobler
142d80f419 Test for multiframe html in python 2012-08-30 15:05:21 +02:00
Larry Shaffer
0386a637c7 Add capitalization support to PAL layer of adv labeling
- Title case does not convert existing uppercase->lowercase, only lowercase->uppercase (Qt issue)
- Didn't offer QFont::SmallCaps option as it does not work right with QPainterPath::addText()
  see https://bugreports.qt-project.org/browse/QTBUG-13965
- Store and re-apply some QFont properties stripped when choosing new typeface
- Move sample background color selector right of sample text
2012-08-29 16:57:10 -06:00
Juergen E. Fischer
84f2726358 fix build error 2012-08-29 21:54:55 +02:00
Juergen E. Fischer
7a929f1779 fix #5894 2012-08-29 17:30:23 +02:00
Marco Hugentobler
2da854368c Added python test for composer html 2012-08-29 16:16:39 +02:00
Marco Hugentobler
f2d3164ef1 Change composerhtml control images. Fix html test to have item frames 2012-08-29 14:35:40 +02:00
Juergen E. Fischer
88bc309c63 use qRound() fro round() (followup ad437bfdffd) 2012-08-29 14:32:04 +02:00
Juergen E. Fischer
b3a6172ff7 fix crash in #6276 2012-08-29 13:53:06 +02:00