Print at Dec 19, 2025, 3:56:16 AM
Posts: 12   Pages: 2   [ 1 2 | Next Page ]
View all posts in this thread on one page
Posted by Cardinal at Aug 5, 2011, 4:55:43 PM
add "faivorites"
Hello Emmanuel,

A good addition to people who use SH3D extensively would be the ability for the software to remember frequently used text. For example, when you're filling the room name text field you're almost always picking an item from small set, so why not have the field have those items built on it? The user could pick one item or add an item to the collection. Those items can have an entry on the UserPreferences Class so they can be persisted. I've written a Widget that does those things, it's a kind of a checkbox that lets the user add and remove items from it. Here's a screenshot :



Of course, the user can ignore the "bookmarks" and go on to type anything else.

Our company would really like to have this feature integrated into SH3D and I think it can be useful to many people too.
Please let me know what you think. Thanks.

Posted by Cardinal at Aug 5, 2011, 6:33:00 PM
Re: add "faivorites"
Sorry for the indescriptive title. I was in a hurry and I forgot to re-write it. Here's a small app too so you can see it in action. Hope you like it :)
http://dl.free.fr/veCrgE093

Posted by Puybaret at Aug 7, 2011, 12:43:21 PM
Re: add "faivorites"
As I'm not very found of editable combo boxes and similar components, I preferred to add an auto completion feature inspired from this blog article. The list of suggested strings I implemented in Sweet Home 3D is automatically updated and saved with preferences, as and when new texts are entered in the text fields of furniture, room and label dialogs.
It's also possible to have a default list of localized texts, and at this time, I just set the values for room names with the autoCompletionStrings#RoomName key in DefaultUserPreferences.properties (the two other keys are autoCompletionStrings#HomePieceOfFurnitureName and autoCompletionStrings#LabelText).

I hope you'll like it. Please test it the last version committed in CVS before I create a public beta.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Cardinal at Aug 8, 2011, 4:50:02 PM
Re: add "faivorites"
Hi Emmanuel. Thank you for your response. Unfortunately mere autocompletion without a dropdown doesn't work for us. We're using PC Tablets and we have to keep the number of clicks to a minimum whenever possible. As it is now, if two strings start with a commun fragment, and the user intends to use the second one (alphabetical order wise), he has to type all those characters of the fragment up to the first charcater where the two strings diverge. For example :

salle à manger
salle de bain

Here if the user wants to produce "salle de bain", he has to type : "salle d".

So I really believe a dropdown is more effective here. It also has the benefit of letting the user see at a glance the out-of-box input and remove items he no longer needs.

Here I attached the component I've written so you can have a look or customize it if you want. I hope you'll reconsider. Thanks smile

http://dl.free.fr/vYAm5hsv7

Posted by Puybaret at Aug 13, 2011, 10:04:15 AM
Re: add "faivorites"
I understand your point but sorry, as said earlier, I don't like editable combo boxes. If ever I find a nicer way, I'll improve the changes I programmed.

By the way, you didn't explain what your project is about. It would be nice to share this information with the community. smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Cardinal at Aug 16, 2011, 8:16:45 AM
Re: add "faivorites"
All right thank you.
The project is internal to the company and, apart from some specific features, the core won't be of much use to the community. So, we probably will acquire the edit licence for SH3D. smile

Posted by dlarroumets at Sep 8, 2011, 2:46:26 PM
Re: add "faivorites"
Why the wompletion list is displayed only when there is one result ?

I think it will be better if when we wrote the first character we have immediatly several (4 or 5) proposition begining with this letter, like google... I do not know a user that not understand and use this google completion. Morover, and for tablet user it s a benediction.

Posted by Puybaret at Sep 8, 2011, 3:04:26 PM
Re: add "faivorites"
I didn't think about the Google way (hope they didn't patent it!).
I'll see how it can be done in Java.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by dlarroumets at Sep 8, 2011, 3:07:47 PM
Re: add "faivorites"
Not like a editable combo box, but like completionlist :



Posted by dlarroumets at Sep 8, 2011, 3:08:32 PM
Re: add "faivorites"
You are too fast ^^

Posts: 12   Pages: 2   [ 1 2 | Next Page ]