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

List:       kde-core-devel
Subject:    Re: XMLGUIBuilder ?
From:       Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date:       2000-06-19 16:04:24
[Download RAW message or body]

David Faure wrote:
> 
> On Mon, Jun 19, 2000 at 08:52:55AM -0700, Lotzi Boloni wrote:
> > > >   m_calendar = new QWidget();
> > > >   m_menuCalendar->insertItem(m_calendar);
> > > > How i create it used XMLGUIBuilder and XML config file???
> > >
> > > To insert a custom widget, subclass KAction and reimplement
> > > the plug method. See examples in kdebase/konqueror/konq_actions.cc
> >
> >   Related to this:
> >
> >   Wouldn't be better to break the huge and growing kaction.h and
> > kaction.cpp files into nice small ktoggleaction.h, kselectaction.h etc.?
> We could have done that, yes.
> 
> But we've said that apps that compiled with 1.91 should still compile
> with 2.0. Otherwise, I'll understand the developers and users
> frustations.... we have to end the ever-ending API changes
> (this is not an API change, but even a missing include file can break
> compilation in a way a user can't fix by himself).
> If we can stick to the goal: no source incompatible change, then we can't
> do this. Just my 2 cents.

We can - we just need to include the new header files via kaction.h,
this
gives us an easy intermediate solution.

> 
> >   And I think that a number of widget actions, like those for lineedits
> > and comboboxes will be so common that they definitely should be put in
> > kdelibs.
> 
> Agreed. Hmm, KSelectAction provides a combobox already, in a toolbar.
> So the only thing missing would be the location bar type of thing
> (line edit) ? Hard to plug in a menu, though :-P

Hmm, I'm not convinced this is a good idea. I think kde-look would do
it's collective nut. ;-)

Rich.

> 
> --
> David FAURE
> david@mandrakesoft.com, faure@kde.org
> http://home.clara.net/faure/, http://www.konqueror.org/
> KDE, Making The Future of Computing Available Today

-- 
     Richard Moore		rich@ipso-facto.freeserve.co.uk
http://www.robocast.com/	richard@robocast.com
http://developer.kde.org/	rich@kde.org

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

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