Feature request #4895
Add a default template
|Assigned to:||-||% Done:||
|Category:||Map Composer / Printing|
|Target version:||Future Release - Nice to have|
|Platform version:||Pull Request or Patch supplied:||No|
It would be useful to add a default template, as it was long ago with the quickprint plugin.
I think the blank page is intimidating for newbies, and it is quite convenient to
have something simple to start with.
Updated by Alister Hood over 5 years ago
- would that mean when someone wanted to start from a blank page they would need to select and delete everything?
- a single default template would only ever suit a small number of situations. What would it be? A4 landscape? A3 landscape? I guess it would need to be configurable. How much benefit would it really be?
Here is an alternative idea:
(1) provide some default layouts in a standard location (initially there could just be one standard "style" of layout, but available for several of the most common page sizes, portrait and landscape), and
(2) when opening a new composer layout, display a message, "Add some items to the layout, or use File>Load from template".
But (2) still isn't very user friendly, because when users choose to add items to the blank layout they should really select the right page size is selected, first, before putting everything on it.
The message could say, "Check the page size and then add some items to the layout, or use File>Load from template". But this is quite a lot of words, and I don't think it is the best solution...
I think the ideal approach would be something like this:
(3) Instead of (2), before opening the new composer window, display a dialog for the user to choose from the templates in (1). There would be one set of templates which are blank pages in the different page sizes, portrait and landscape. There would be at least one set of standard templates distributed with QGIS which aren't blank.
People would of course also create their own standard sets of templates for use in their organisation, or on a particular project.
Ideally the dialog should also have an option to import a composer layout from another QGIS project. Is it possible to incorporate an additional option like this into the standard file open dialog? I have a feeling it may not be possible on some platforms...
Updated by Nathan Woodrow over 5 years ago
- File Selection_023.png added
Currently the Composer Manager has room to handle templates, see attached. I think we just use that and add a new few default ones in there.I would also think it would be a good idea to have the template location search three places
- The QGIS install location
- The .qgis folder. Maybe make a new folder called "templates"
- The project directory
- It would also be nice to set a another directory e.g a network share, as the template location. For organisations that use QGIS and who want to have global templates.
Updated by Richard Duivenvoorde over 5 years ago
about setting search paths: please have a look at #4900
Updated by Pirmin Kalberer over 4 years ago
- Target version changed from Version 2.0.0 to Future Release - Nice to have
Also available in: Atom