[Kde-bindings] Qt, Qyoto buttons work intermediately
linuxoidoz at yahoo.com.au
Mon Feb 15 01:34:35 UTC 2010
Thanks a lot, Arno. I'll try that.
Did you figure out why the widgets only work in the MainWindow?
--- On Mon, 15/2/10, Arno Rehn <arno at arnorehn.de> wrote:
From: Arno Rehn <arno at arnorehn.de>
Subject: Re: [Kde-bindings] Qt, Qyoto buttons work intermediately
To: "KDE bindings for other programming languages" <kde-bindings at kde.org>
Received: Monday, 15 February, 2010, 1:30 AM
On Monday 15 February 2010 00:57:50 Linuxoid Oz wrote:
> Please get the whole project and code from here:
> If I could only get through this wall, I should be OK with the rest. Do you
> know why the menu bar only shows from a Qt converted UI file but not when
> I create it myself in the code? I'd really appreciate your help. Thank
The menubar is actually added. You just don't set any titles for the menus, so
the bar is just around 1px high. Add a line like
menuFile.Title = "File...";
and there you are.
If you design the UI in-code, it is probably more convenient to use the
AddMenu() methods of QMenuBar. It already has overloads that accept a string
for the menu title.
arno at arnorehn.de
Kde-bindings mailing list
Kde-bindings at kde.org
Yahoo!7: Catch-up on your favourite Channel 7 TV shows easily, legally, and for free at PLUS7. www.tv.yahoo.com.au/plus7
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kde-bindings