Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 12
Posts: 12   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 6625 times and has 11 replies Next Thread
Cardinal
Member




Joined: Jul 4, 2011
Post Count: 22
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Aug 5, 2011, 4:55:43 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Cardinal
Member




Joined: Jul 4, 2011
Post Count: 22
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 5, 2011, 6:33:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 7, 2011, 12:43:21 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Cardinal
Member




Joined: Jul 4, 2011
Post Count: 22
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 8, 2011, 4:50:02 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 13, 2011, 10:04:15 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Cardinal
Member




Joined: Jul 4, 2011
Post Count: 22
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 16, 2011, 8:16:45 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dlarroumets
Newbie




Joined: Nov 3, 2009
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Sep 8, 2011, 2:46:26 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
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
[Sep 8, 2011, 3:04:26 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dlarroumets
Newbie




Joined: Nov 3, 2009
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
Re: add "faivorites"

Not like a editable combo box, but like completionlist :


[Sep 8, 2011, 3:07:47 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dlarroumets
Newbie




Joined: Nov 3, 2009
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
Re: add "faivorites"

You are too fast ^^
[Sep 8, 2011, 3:08:32 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 12   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved