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

List:       kde-devel
Subject:    Re: Disappearing main toolbar
From:       Thomas Baumgart <thb () net-bembel ! de>
Date:       2008-01-25 20:24:46
Message-ID: 200801252124.51449.thb () net-bembel ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday 25 January 2008 17:07:34 David Jarvie wrote:
> On Friday 25 January 2008 12:19, Thomas Baumgart wrote:
> > Hi,
> >
> > after trying a lot of things already, I am running out of ideas and I
> > hope to
> > get more ideas/solution(s) to the problem here.
> >
> > The problem is, that within KMyMoney (http://kmymoney2.sourceforge.net)
> > the
> > toolbar disappears after a change through the standard 'Configure
> > Toolbars'
> > dialog. The main toolbar object gets deleted by some internal function
> > but not rebuild. Quitting the application and restarting it, the toolbar
> > is back
> > again incl. all the changes made. Other applications (eg KMail etc) don't
> > show this behavior in the same environment.
> >
> > This happens with KDE 3.5.7 and 3.4.0 alike.
> >
> > What could be the cause of this? We're using a standard setupGUI() call
> > to instantiate all this.
>
> I haven't looked at your code, but for an example of working KDE 3.5 code,
> see kdepim/kalarm/mainwindow.cpp. Search case-insensitive for all
> occurrences of "toolbar". You will note that two slots are needed, as well
> as the initial setup and calls in the destructor. I hope this gives some
> clue.

Thanks for the *. We are using KMainWindow::setupGUI() which covers all that. 
It looks very much the same as you have it in KAlarm (which probably came a 
long way).

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
A: I hear that if you play the Windows XP CD backwards, you
 get a Satanic message!
B: That's nothing. If you play it forward, it installs WinXP!
-------------------------------------------------------------

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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