I started looking at Konversation code a few days ago with the idea to add a few features to the Tree View.<br><br>Basically, here is what I want.<br><br>Server TreeViewItem would display<br> - if they are set to auto-connect on startup
<br> - if they are currently connected<br> - and if they are set into a "Favorite" list of server.<br>Favorite servers are always shown although not connected. thus, you can
have a Server always present in your tree view without having it in
auto-connect. <br>
<br>Channel TreeViewItem would display<br> - auto-open on server connect<br> - currently opened (join)<br> - in my favorite list of channel.<br>Again, favorite channels are always shown on my list but unlike the auto-open, it does not join the channel, only display it.
<br><br>Query TreeViewItem would display<br> - auto-start query? I'm not sure if this is enough interesting as a feature.<br> - is the user is in my favorite list (NotifyList)<br> - if the user is online (that "replaces" the WatchList/NotifyList in a more presentable way)
<br> - if the query is current open.<br>Thus, User in my notify list would always have a item in the TreeView, showing me if the User is online and if the Query is open. <br>Opened Query with user that are not in my notify list would display the same information (Online? and Open?) plus it would have a distinguishing showing this user is not in my notify list. which could be click to be added/removed from my notify list.
<br> <br>I want to display all this information with simple and little 16x16 QPixmap. where the unset/offline status would be presented with a grey-out version of the picture. and a set/online status would be presented with a color ful icon.
<br>clicking on the icon should change the settings or connect disconnect.<br clear="all"><br>I picked up the following icons from crystal/16x16/actions which would look ok, I believe<br>connect_creating.png connect_established.png connect_no.png
knewstuff.png launch.png ok.png<br>3 icons for the connection status.<br>a star or a heart for the favorite list<br>and the red rocket for the auto launch<br><br>so clicking the rocket would set/unset the (server, channel or query) to auto-start
<br>clicking the heart would add/remove the (server, channel or query) from my favorite/notifylist<br>clicking the connect icon would make the server go online or offline and the channel or query to open or close<br><br>I think that be sweet looking and would improve the user experience.
<br><br>so far I have not done much. I just added columns and started showing some information. basically testing and code reading.<br><br>what is left to be done.<br>- make the information refresh upon signal/slots coming from various actions. (open/close channel/query, connect/disconnect server, user comes online/offline, etc.)
<br>- do not remove the TreeViewItem entry when I close/disconnect the channel/query/server which is set in the Favorite list<br>- auto load TreeViewItem from Favorite list on startup<br><br>so far I think that's all, I might be forgetting something else.
<br><br>please let me know what you think.<br><br>thanks<br><br>-- <br>gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o -lruby-static -ldl -lcrypt -lm -o ruby<br>Everyone is trying their hardest to do their job but management has set it up so that it's impossible.
<br>Take the control over your money, track your expenses <a href="http://justbudget.com">http://justbudget.com</a><br><br>Mathieu