QMenuBar(self)
self.m_menuFile = QtGui.QMenu(self.m_menuBar)
self.m_menuFile.setTitle("&File")
self.m_menuFile.addAction(self.m_exitAction)
self.m_menuBar.addAction(self.m_menuFile.menuAction())
self.setMenuBar(self.m
Regards,
Iliya Gogolev
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.10.9/1900 - Release Date: 1/18/2009
12:11 PM
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com
Cool. I added and modified your code to my main window and catch the Close
event type. Will try later on dock widgets. Thanks.
From: Brian Kelley [mailto:kel...@eyesopen.com]
Sent: Monday, December 22, 2008 6:22 PM
To: Iliya Gogolev; piotr maliński; pyqt@riverbankcomputing.com
Subject: Re
VG.
Version: 7.5.549 / Virus Database: 270.9.10/1814 - Release Date: 11/26/2008
8:53 PM
I tried it too. It did not help.
Sorry, I use QToolBox instead QTreeWidget, but there's no sense
From: Brian Kelley [mailto:kel...@eyesopen.com]
Sent: Monday, December 22, 2008 5:00 PM
To: Iliya Go
I tried it too. It did not help.
Sorry, I use QToolBox instead QTreeWidget, but there’s no sense
From: Brian Kelley [mailto:kel...@eyesopen.com]
Sent: Monday, December 22, 2008 5:00 PM
To: Iliya Gogolev; pyqt@riverbankcomputing.com
Subject: Re: [PyQt] QDockWidgetquestion
Hi everyone!
I added QTreeWidget to QDockWidget and then added it to MainWindow by
addDockWidget function:
"""
CustomDockWidget(QDockWidget):
def __init__(self,parent):
QDockWidget.__init__(self, p_parent)
self.tree = QTreeWidget(self)
Took from Qt API 4.4:
A command button is rectangular and typically displays a text label
describing its action. A shortcut key can be specified by preceding the
preferred character with an ampersand in the text. For example:
QPushButton *button = new QPushButton("&Download", this);
In this exa