Bug 109472 - Add templates for new pages
Summary: Add templates for new pages
Status: RESOLVED INTENTIONAL
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Solaris
: VLO wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 15:38 UTC by Nicolas Brisset
Modified: 2006-02-15 00:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Brisset 2005-07-22 15:38:44 UTC
Version:           1.2.0_devel (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                SunOS (sun4u) release 5.8

WARNING: This is a companion report to bug #109430 as it only makes sense when there are "utility" areas/objects in empty pages.

Imagine you define reserved areas with some contextual info as described in bug #109430:
- in the bottom with date, time and username
- on the right with company name and a logo (from an image file)
- at the top for a list of datasources used

That sure makes for very professional plots ! However, if you have to repeat this manually each time you create a page ("Window" in kst terminology), it would be an awful waste of time. For that reason, saving only reserved objects in a .kst (or other extension for templates) file stored in a templates/ directory like for plugins would be necessary. As for plugins, there could be a system-wide templates directory and a user-specific one.
When creating a new window, kst could ask the user to choose from available templates, or use a default template as stored somewhere in the settings.
Comment 1 George Staikos 2005-07-25 19:55:21 UTC
Script language allows you to do this quite nicely.  Is that sufficient for you?
Comment 2 Nicolas Brisset 2005-07-26 00:18:24 UTC
Could be. I must admit I have not really tried the script language yet, so that I have a hard time imagining how it could work. But sure, if it's convenient enough I think it is not a problem.
I still believe the "flow-around" feature mentioned in the discussion for bug #108027 is a prerequisite to work conveniently with contextual data at the page sides...
Comment 3 Netterfield 2006-02-15 00:50:46 UTC
This can be implemented either with scripts or by using a .kst as a template.