[PyQt] Menu layout problem

David Boddie david at boddie.org.uk
Sun May 6 16:34:06 BST 2007


On Sunday 06 May 2007 00:06:32 -0300, Roberto Alsina wrote:
> On Sat 05 May 2007 21:46:41 David Boddie wrote:

> > Can you post a link to your code, or at least post the relevant lines
> > where you create the menu?
>
> It's created using designer, so there is nothing special about that. You
> can get the code from http://code.google.com/p/ra-blog/source but I am not
> really sure it runs on any box other than mine, though :-(:-(

It has quite a few dependencies I don't have installed. :-(

> It's the window defined in BartleBlog/ui/mainwindow.ui
>
> If I run only the Ui_mainwindow.py it works just fine, too. It's only when
> it's running as part of the main program.

In the screenshot there's a keyboard shortcut assigned to a menu item that
isn't defined in the .ui file. Where does that come from?

David


More information about the PyQt mailing list