2011/8/15 ilusionoflife <illusion.of.life92@gmail.com>
15 2011 20:57:39 Lionel Petit :
> Hi,
>
> I start porting Basket to QGraphicsView framework to remove one of the
> last KDE3 dependencies.
>
> There is still a lot of work to do.
> You could find a first draft in the qgraphicsview_port branch of my
> git repository :
> git@gitorious.org:~ptiyo/basket/ptiyo-basket.git
>
> The major part of this update is :
> - BasketView is renamed BasketScene and inherits QGraphicsScene.
> - Note and note contents use QGraphicsItem to draw themselves.
> - NoteEditor provides QGraphicsItem when the editor is inline.
>
> At this step, this version works but adjusments are needed :
> - folding/unfolding animations have been removed,
> - when you fold/unfold a group note in a column, sometimes the column
> is slightly shifted
> - the inline text editor has some strange behaviour when you add multiple
> lines, - ...
>
> In my opinion, this migration is necessary for the future of Basket.
> But, before going further, I would like to know if you share this
> point of view and if there is people interested to work at this task.
>
> Regards,
>
> Lionel
>
> ---------------------------------------------------------------------------
> --- uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at: http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Basket-devel mailing list
> Basket-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/basket-devel
I am not expirienced in team programming, but still.
I think its a very good intention to remove last Qt3 parts, but i am afraid
that its bad idea to inherit Qt classes, omiting KDE layer: Qt5 coming, and
QWidget family will be unmaintained. Maybe we should rely on KDE API some way
and let them solve that problems? Just imho.

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Basket-devel mailing list
Basket-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/basket-devel

Hi,

Which part of KDE API did you refer to ?
AFAIK, KDE doesn't provide or reimplement a framework like qgraphicsview.

With Qt5 plans, all Qt3Support will disappear and, if we want Basket to be still here, we have to remove this old dependencies.
Removing the use of Qt3 now will allow us to have a working Basket either with Qt4 or Qt5 (with few efforts I hope).
That way, we could have more time to think about how to gracefully integrate Basket in Qt/KDE 5 (I think is too early to plan that but I could be wrong).

Another option would be to wait Qt/KDE 5 API design to see what we could do with the risk to have a period without Basket.

And there are probably other options, let me know.

Regards,

Lionel