[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: [Karbon14] Re: Re: Re: misc
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-10-29 12:15:17
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 29 October 2002 09:05, Thomas Zander wrote:
> If this prooves possible, a better solution can be found. For instance by looking
> at how the toolbar adds an action. It creates a toolbutton, the question is how.

KAction::plug (which is virtual, you can define your own action class, and what should
happen when plugging it into your own widget). The advantage is that you can simply
call the parent "KAction::plug" for other containers, so you get the standard behaviour
of actions (plugging them into menus etc.).

But the downside of this solution is that users can't configure the toolbox.
Implementing a grid layout into KToolBar would be a better way to do this,
so that the layout of the actions can still be specified in a .rc file (somehow).

- -- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9vnvV72KcVAmwbhARAoVJAJ9aUI+DyXsWMlRB6xbnMJWdRrml3QCfQBCv
6HFJl/iGzzI6yCO+lTdXsfI=
=7AXD
-----END PGP SIGNATURE-----

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic