Feature request #5561
Project Scale List
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Alexander Bruy | ||
Category: | Project Loading/Saving | ||
Pull Request or Patch supplied: | Yes | Resolution: | fixed |
Easy fix?: | No | Copied to github as #: | 15146 |
Description
This patch adds a new feature in Qgis Desktop project properties. The aim is to provide a way to configure and use a scale list for each project:
- display and manage a list of user defined scales per project in the project properties dialog
- replace the content of the status bar scale combobox if project scales are defined when opening an existing project
- default scale list is used whenever no project scale list has been found
The patch can be found here
https://gist.github.com/2627175
PS: This is my first patch for Qgis, so feel free to comment/modify/annotate.
PS2: I assigned this patch to Alexander Bruy, author of the QScaleCombobox class.
History
#1 Updated by Nathan Woodrow over 12 years ago
Good job. Looks good to me. Might have to wait until 1.8 is out though as it's a new feature, not really a bug fix.
#2 Updated by Alexander Bruy over 12 years ago
- Target version changed from Version 1.8.0 to Version 2.0.0
Thanks for patch, I'll look at it ASAP. But as this new feature it can be applied only after releasing 1.8.0
#3 Updated by Michael Douchin over 12 years ago
- Pull Request or Patch supplied changed from No to Yes
Thanks for reviewing this patch. Good point for postpone it to Qgis after 1.8.
Please have a look to my use of the method "showScale" and "mMapCanvas->updateScale()". I did not know very well Qgis core, so it may be a bit hacky...
#4 Updated by Michael Douchin over 12 years ago
- File gistfile1.diff added
"physical" file attached (just in case)
#5 Updated by Alexander Bruy over 12 years ago
- Status changed from Open to In Progress
#6 Updated by Alexander Bruy over 12 years ago
- Resolution set to fixed
- Status changed from In Progress to Closed
Available starting from fe2252de5e