Closed ghost closed 11 years ago
One way around the problem is to open an existing project and rename it and save. The "Sender's name:" and "Sender's email:" will be filled in when the existing project is opened.
I looked into this quite carefully. QT has a 'completer' class that will auto-complete from a string list, but there is no built-in functionality in QT for automatically storing entries entered in a text box in a list and then writing it to the Windows system registry (or to a file). This kind of functionality can be done without too much trouble. For example, I have a code example where 'recent files' are stored in the system registry and then dynamically displayed in the 'file' menu as links to automatically open recently used files.
The above feature request is sort of like implementing a simple 'address book.' My guess is that it would take 4-8 hours to write the code and test it. The steps would be something like: (1) create a variable in the system registry to store a list of "recentNames" (2) ditto "recentEmail (3) write a method to take the current email address in the text box and compare it to the list to see if it is already in the list. If not append it but limit the list to some reasonable length (i.e. say 10 names and emails). (4) if the list is > 10 items long, delete the oldest entry. (5) make sure the name and email text boxes get refreshed with the current version of the list whenever it is altered. (6) Modify the user interface to add a QCompleter to each text box and have it read the 'recentNames' and 'recentEmail' variables stored in the registry and pop-up a list to choose from.
I'd say add it to the wish list for CAPS Scenario Builder version 2.
...Bob
Okay, let's keep this in mind for version 2.
It would be nice if CSB remembered the user's name and email in the Manage projects dialog. Typing the same name and address over and over gets old....and it'll be error-prone.