<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>