[Kde-games-devel] First wishes for KGamePopupItem
Kleag
kleag at free.fr
Sun Jun 24 22:38:47 CEST 2007
Dmitry,
I just tried KGamePopupItem and here are my first wishes :-)
First of all, it's better than my own implementation in its animation and its
icon, but:
- it does not use the same colors, so this should probably be configurable
(through styles ? I had not tried them up to now) ;
- it has square angles, where I'd like rounded ones. I implemented them by
making my MessageBubble to be a QGraphicsPathItem with a QGraphicsTextItem
children for the message itself. Have a look at
svn+ssh://kleag@svn.kde.org/home/kde/trunk/playground/games/ksirk/ksirk/MessageBubble
.[h|cpp] if you want;
- I use rich text (setHtml with the message on the children item), so with
your version, my message are a little bit ugly with their <br/> :-) ;
- one should probably be able to change or hide the icon;
- finally, I had the plan to add to my version a control to allow the user to
say he don't want to see this message anymore. I'd like to be able to do so
with yours too.
I could do some of these changes myself, if you agree ?
Best regards,
Kleag
More information about the kde-games-devel
mailing list