[PyQt] menu issue with menu text

황민욱 himnowxz at gmail.com
Thu Jun 19 20:32:01 BST 2014


Hi, i am making some application for my team to sharing files.

but i have some really odd issue with menu in QMainWindow.

after i run this code,

        action1 = QtGui.QAction("&Config",self)
        action2 = QtGui.QAction('&Connect', self)

        fileMenu = menuBar.addMenu("&File")
        fileMenu.addAction(action1)
        fileMenu.addAction(action2)

there is only "Connect" action in "File" menu, without "Config" action.

but if i change "Config" to anything else like "Configssss", than i can see
both at menubar.

is there the words, which i can / can't use to menu???


-ps.
these are my machine's infomation
PYQT_VERSION = 4.11,  QT_VERSION = 4.8.5
python 3.4,1,                     os = osx 10.9.3 mavericks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140620/83643427/attachment.html>


More information about the PyQt mailing list