Re: [Qgis-developer] user-defined symbology defaults + project templates

2012-07-16 Thread Nathan Woodrow
Hey Etienne, I like the ideas but I do some have some comments on the implementation from a UI point of view. I like being able to set the default symbols for a project, that will come in very handy. What I would do here however is have a button with a icon and text rather than a combobox. The

Re: [Qgis-developer] user-defined symbology defaults + project templates

2012-07-16 Thread Denis Rouzaud
Hi, I think this is pretty useful! In parallel to templates, how about adding a button in the project settings, to make these settings as global default settings? Greetings, Denis On 07/14/2012 11:10 PM, Etienne Tourigny wrote: Hi all, There are 2 interrelated topics that I have been

Re: [Qgis-developer] New adv labeling freeze-thaw tools

2012-07-16 Thread Marco Hugentobler
Hi Larry Excellent work, thank you! The freeze/thaw tool will be a great addition to the label tool bar. I wonder if the tool could also be active if x/y is data defined and rotation not (currently, x/y/rotation need to be data defined to use the tool). On a detail level, in

Re: [Qgis-developer] Implementing project scales list

2012-07-16 Thread Marco Hugentobler
Hi Alexander Ok, that sounds reasonable to me (new class in core directory). In that case, the new class has a similar role for scales as QgsTolerance has for snap distances. P.S. we can move this discussion do the developers list if necessary. done. Thanks, Marco Am 16.07.2012 10:28,

Re: [Qgis-developer] New adv labeling freeze-thaw tools

2012-07-16 Thread Larry Shaffer
On Mon, Jul 16, 2012 at 2:18 AM, Marco Hugentobler marco.hugentob...@sourcepole.ch wrote: Hi Larry Excellent work, thank you! The freeze/thaw tool will be a great addition to the label tool bar. I wonder if the tool could also be active if x/y is data defined and rotation not (currently,

Re: [Qgis-developer] user-defined symbology defaults + project templates

2012-07-16 Thread Giovanni Manghi
Hi Etienne, This, combined with the symbology defaults, means that a user can define his personal symbology defaults and have them always loaded when a new project is created. Any ideas/comments? very nice ideas! I would add the possibility to allow the level of transparency for both the

Re: [Qgis-developer] user-defined symbology defaults + project templates

2012-07-16 Thread Etienne Tourigny
On Mon, Jul 16, 2012 at 5:04 AM, Nathan Woodrow madman...@gmail.com wrote: Hey Etienne, I like the ideas but I do some have some comments on the implementation from a UI point of view. I like being able to set the default symbols for a project, that will come in very handy. What I would do

Re: [Qgis-developer] user-defined symbology defaults + project templates

2012-07-16 Thread Etienne Tourigny
On Mon, Jul 16, 2012 at 5:11 AM, Denis Rouzaud denis.rouz...@gmail.com wrote: Hi, I think this is pretty useful! In parallel to templates, how about adding a button in the project settings, to make these settings as global default settings? That's the idea of having a Default template, when

Re: [Qgis-developer] New adv labeling freeze-thaw tools

2012-07-16 Thread Marco Hugentobler
Hi Larry If you have the time to look at the constructor for QgsMapToolFreezeLabels (the FIXME), you'll notice I could not find a way to make the signal/slot connections from there. Currently they are in qgisapp.cpp, but I would prefer to not pollute that core file with any more of my tool's

Re: [Qgis-developer] QgisApp::getThemePixmap() should be in QgsApplication instead?

2012-07-16 Thread Radim Blazek
On Mon, Jul 16, 2012 at 12:06 AM, Etienne Tourigny etourigny@gmail.com wrote: Hi all, I think that QgisApp::getThemePixmap() and getThemeIcon() should be in QgsApplication so that other modules can access it without requiring qgisapp, can I add it there and deprecate the one in QgisApp?

Re: [Qgis-developer] QgisApp::getThemePixmap() should be in QgsApplication instead?

2012-07-16 Thread Etienne Tourigny
On Mon, Jul 16, 2012 at 2:12 PM, Radim Blazek radim.bla...@gmail.com wrote: On Mon, Jul 16, 2012 at 12:06 AM, Etienne Tourigny etourigny@gmail.com wrote: Hi all, I think that QgisApp::getThemePixmap() and getThemeIcon() should be in QgsApplication so that other modules can access it

Re: [Qgis-developer] QgisApp::getThemePixmap() should be in QgsApplication instead?

2012-07-16 Thread Martin Dobias
On Mon, Jul 16, 2012 at 7:24 PM, Etienne Tourigny etourigny@gmail.com wrote: Do you want to keep QgisApp::getThemePixmap in 2.0 as deprecated or do you want to deprecate it for a while and remove before 2.0 release? I would mark it as deprecated it for a time, but remove it entirely from

Re: [Qgis-developer] Implementing project scales list

2012-07-16 Thread Alexander Bruy
I just pushed to my fork [0] implementation for scales import/export. If there are no objections, I'll merge it to master soon. [0] https://github.com/alexbruy/Quantum-GIS/tree/project_scale -- Alexander Bruy ___ Qgis-developer mailing list

[Qgis-developer] Remember to look at dash after committing

2012-07-16 Thread Tim Sutton
Just a friendly reminder to those pushing into the master branch - please remember to run the tests and also check on the dash that they pass on all platforms. Doing this help can prevent regressions early in the process. http://dash.orfeo-toolbox.org/index.php?project=QGISdate=2012-07-15

Re: [Qgis-developer] Remember to look at dash after committing

2012-07-16 Thread Etienne Tourigny
Hi Tim is there any way to get bigger images, when we run the tests locally? I suspect these errors may be due to a small change I committed (gdal min/max calculations), will act upon this shortly. Regards, Etienne On Mon, Jul 16, 2012 at 6:15 PM, Tim Sutton li...@linfiniti.com wrote: Just a

Re: [Qgis-developer] Remember to look at dash after committing

2012-07-16 Thread Etienne Tourigny
I all, I am writing some tests for the histogram (still a few fixes in the oven), and I was wondering how I could take advantage of the existing qgsrenderchecker. As these tests have invisible gui elements (I have refactored the histogram into a standalone widget), I'm not sure it should reside

Re: [Qgis-developer] Remember to look at dash after committing

2012-07-16 Thread John C. Tull
Speaking of tests, ignore the last post from hawkeye. I'll send an update later that will include the latest code improvements and a working test run. On Jul 16, 2012, at 2:15 PM, Tim Sutton wrote: Just a friendly reminder to those pushing into the master branch - please remember to run the

Re: [Qgis-developer] QgisApp::getThemePixmap() should be in QgsApplication instead?

2012-07-16 Thread Etienne Tourigny
Committed - there were quite a few changes, and I checked a few dialogs to make sure it it ok. If anything is funky in icons, the cause might be here. On Mon, Jul 16, 2012 at 2:41 PM, Martin Dobias wonder...@gmail.com wrote: On Mon, Jul 16, 2012 at 7:24 PM, Etienne Tourigny

Re: [Qgis-developer] histogram fixes and improvements

2012-07-16 Thread Etienne Tourigny
On Sun, Jul 15, 2012 at 5:30 AM, Alexander Bruy alexander.b...@gmail.com wrote: Hi Etienne, 2012/7/14 Etienne Tourigny etourigny@gmail.com: - don't use color interpretation band names when band count 1 IMO, this should be handled in different way. Color interpretation also often used

Re: [Qgis-developer] user-defined symbology defaults + project templates

2012-07-16 Thread Nathan Woodrow
On Tue, Jul 17, 2012 at 1:19 AM, Etienne Tourigny etourigny@gmail.com wrote: I'm glad others see this as useful! Any idea when these changes will be available, and if should I wait before adding my changes to master? In the meantime, I could perhaps push what I have done. Currently, the

Re: [Qgis-developer] user-defined symbology defaults + project templates

2012-07-16 Thread Nathan Woodrow
On Tue, Jul 17, 2012 at 1:20 AM, Etienne Tourigny etourigny@gmail.com wrote: How would one proceed than, if for example, global defaults are overridden by the user, and a specific template is loaded? First load the global defaults, then the user defaults, then the specific template? For