[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] menu issue with menu text
From: 황ë <himnowxz () gmail ! com>
Date: 2014-06-19 19:32:01
Message-ID: CAH88Ppwd3xcb0awpVKZKzdXWhpHjQuhQsZwDHT0FJOjDPe4CxA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
[Attachment #5 (text/html)]
<div dir="ltr"><div><div><div>Hi, i am making some application for my team to sharing \
files.<br><br></div>but i have some really odd issue with menu in \
QMainWindow.<br><br>after i run this code,<br><br> action1 = \
QtGui.QAction("&Config",self)<br>
action2 = QtGui.QAction('&Connect', self)<br><br> \
fileMenu = menuBar.addMenu("&File")<br> \
fileMenu.addAction(action1)<br> \
fileMenu.addAction(action2)<br><br></div>there is only "Connect" action in \
"File" menu, without "Config" action.<br>
<br></div><div>but if i change "Config" to anything else like \
"Configssss", than i can see both at menubar.<br><br></div><div>is there \
the words, which i can / can't use to menu???<br><br><br></div>
<div>-ps.<br>these are my machine's infomation<br>PYQT_VERSION = 4.11, \
QT_VERSION = 4.8.5<br></div><div>python 3.4,1, \
os = osx 10.9.3 mavericks<br></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic