[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: Re: [Kde-bindings] Qt, Qyoto buttons work intermediately
From: Linuxoid Oz <linuxoidoz () yahoo ! com ! au>
Date: 2010-02-15 1:34:35
Message-ID: 621329.45551.qm () web111016 ! mail ! gq1 ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@arnorehn.de> wrote:
From: Arno Rehn <arno@arnorehn.de>
Subject: Re: [Kde-bindings] Qt, Qyoto buttons work intermediately
To: "KDE bindings for other programming languages" <kde-bindings@kde.org>
Received: Monday, 15 February, 2010, 1:30 AM
On Monday 15 February 2010 00:57:50 Linuxoid Oz wrote:
> Arno,
>
> Please get the whole project and code from here:
> http://qt-giraff.svn.sourceforge.net/viewvc/qt-giraff/trunk/source/
>
> 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
> you.
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 Rehn
arno@arnorehn.de
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
__________________________________________________________________________________
Yahoo!7: Catch-up on your favourite Channel 7 TV shows easily, legally, and for free \
at PLUS7. www.tv.yahoo.com.au/plus7
[Attachment #5 (text/html)]
<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: \
inherit;">Thanks a lot, Arno. I'll try that.<br><br>Did you figure out why the \
widgets only work in the MainWindow?<br><br>--- On <b>Mon, 15/2/10, Arno Rehn \
<i><arno@arnorehn.de></i></b> wrote:<br><blockquote style="border-left: 2px \
solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Arno Rehn \
<arno@arnorehn.de><br>Subject: Re: [Kde-bindings] Qt, Qyoto buttons work \
intermediately<br>To: "KDE bindings for other programming languages" \
<kde-bindings@kde.org><br>Received: Monday, 15 February, 2010, 1:30 \
AM<br><br><div class="plainMail">On Monday 15 February 2010 00:57:50 Linuxoid Oz \
wrote:<br>> Arno,<br>> <br>> Please get the whole project and code from \
here:<br>> <a href="http://qt-giraff.svn.sourceforge.net/viewvc/qt-giraff/trunk/source/"
target="_blank">http://qt-giraff.svn.sourceforge.net/viewvc/qt-giraff/trunk/source/</a><br>> \
<br>> If I could only get through this wall, I should be OK with the rest. Do \
you<br>> know why the menu bar only shows from a Qt converted UI file but not \
when<br>> I create it myself in the code? I'd really appreciate your help. \
Thank<br>> you.<br>The menubar is actually added. You just don't set any titles \
for the menus, so <br>the bar is just around 1px high. Add a line \
like<br>menuFile.Title = "File...";<br>and there you are.<br>If you design the UI \
in-code, it is probably more convenient to use the <br>AddMenu() methods of QMenuBar. \
It already has overloads that accept a string <br>for the menu title.<br><br>-- \
<br>Arno Rehn<br><a ymailto="mailto:arno@arnorehn.de" \
href="/mc/compose?to=arno@arnorehn.de">arno@arnorehn.de</a><br>_______________________________________________<br>Kde-bindings \
mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" \
href="/mc/compose?to=Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a \
href="https://mail.kde.org/mailman/listinfo/kde-bindings" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br></div></blockquote></td></tr></table><br>
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic