[PyQt] Custom QAction with python 2.6

2009-01-25 Thread Iliya Gogolev
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

[PyQt] Drawing over content widgets

2009-01-20 Thread Iliya Gogolev
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

RE: [PyQt] QDockWidgetquestion

2008-12-22 Thread Iliya Gogolev
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

RE: [PyQt] QDockWidgetquestion

2008-12-22 Thread Iliya Gogolev
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

RE: [PyQt] QDockWidgetquestion

2008-12-22 Thread Iliya Gogolev
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

[PyQt] QDockWidgetquestion

2008-12-22 Thread Iliya Gogolev
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)

RE: [PyQt] Intro and question

2008-11-26 Thread Iliya Gogolev
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