Results 1 to 2 of 2

Thread: writing txt to template

  1. #1
    Join Date
    May 2011
    Posts
    10
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default writing txt to template

    Hey, im making a program for circuit boards and need it to generate a report of the spesifications. Theres allot of "fixed" text in the report, but I need to fill in some values. How would you guys solve this? is there some sort of template i could use?

    thx, Terje

  2. #2
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    131
    Thanks
    11
    Thanked 16 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: writing txt to template

    Well the most obvious method is:

    Report for <NAME>, date: <DATE>

    <DESCRIPTION>
    <REPORT-LEVEL-1>
    ...
    and than make a search an replace. But it depends what you need. A short googling showed up https://www.gitorious.org/grantlee/pages/Home But I never used it.

Similar Threads

  1. Replies: 4
    Last Post: 25th June 2010, 10:21
  2. Using template in constructors
    By estanisgeyer in forum General Programming
    Replies: 4
    Last Post: 18th November 2008, 19:41
  3. Template class
    By steg90 in forum General Programming
    Replies: 15
    Last Post: 12th June 2007, 21:49
  4. using the lib template dll option on *nix
    By jamadagni in forum Qt Programming
    Replies: 3
    Last Post: 19th April 2007, 14:14
  5. problem using template
    By mickey in forum General Programming
    Replies: 6
    Last Post: 18th November 2006, 16:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.