[Kde-games-devel] First wishes for KGamePopupItem

Kleag kleag at free.fr
Sun Jun 24 23:16:51 CEST 2007


Hello,

Sorry, I forgot one point. My graphics scene is larger than the window, so I
 display my message not at the top left of the scene but at the top left of
 the window, using a mapToscene... To use KGamePopuItemp, I should also solve
 this problem.

Bye.

Kleag
On Sunday 24 June 2007 22:38:47 Kleag wrote:
> 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/Mes
>sageBubble .[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
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel




More information about the kde-games-devel mailing list