Hey folks;
How can i be able to select multiple files whenever i browse my directory
using QfileDailoug?
this is the code to call up the filedailoug
files = QtGui.QFileDialog.getOpenFileName(self, 'Open file','/home/',
(Images (*.png *.tiff *.jpg)))
Thank you
--
View this message in
Hi,
I'm trying to create a custom table which pops up a menu when the user right
clicks. This part works ok. It looks like this:
class Table(QtGui.QTableWidget):
def __init__(self, parent, gui):
QtGui.QTableWidget.__init__(self, parent)
self.gui = gui
def
Arthur Pemberton wrote:
URL: http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/examples/
I originally sent this to the PyKDE list, but it seemed to have
bounced. So i'm trying here.
Wasn't sure if other people were using some alternate means of
learning or if everyone is just very
It looks like you are not accepting the event, try:
if event.button() == QtCore.Qt.RightButton:
self.rightClickMenu(event)
event.accept()
From the docs:
void QEvent::accept ()
Sets the accept flag of the event object, the equivalent of calling
setAccepted(true).
Setting the accept
Thanks, wasn't aware of being able to accept events.
So I tried this, instead of waiting for release I moved it up to when a
button is pressed to get a better idea of what was happening. I tried this:
def mousePressEvent(self, event):
if event.button() == QtCore.Qt.RightButton:
Hmm, that is what I would have thought, you could always try calling the table
widget directory in the case of ignores. Actually, I'll bet you have to do
this since you have overridden the mousePressEvent function.
QtGui.QTableWidget.mousePressEvent(event)
On 3/6/09 10:47 AM, Marc Nations
On Fri, 6 Mar 2009 07:50:57 -0800, Brian Kelley kel...@eyesopen.com
wrote:
Hmm, that is what I would have thought, you could always try calling the
table widget directory in the case of ignores. Actually, I'll bet you
have
to do this since you have overridden the mousePressEvent function.
On Friday 06 March 2009 06:53:01 am Marc Nations wrote:
Hi,
I'm trying to create a custom table which pops up a menu when the
user right clicks. This part works ok. It looks like this:
class Table(QtGui.QTableWidget):
def __init__(self, parent, gui):
On Freitag, 6. März 2009, klia wrote:
Hey folks;
How can i be able to select multiple files whenever i browse my directory
using QfileDailoug?
this is the code to call up the filedailoug
files = QtGui.QFileDialog.getOpenFileName(self, 'Open file','/home/',
(Images (*.png *.tiff *.jpg)))
On 06.03.09 08:40:17, Jim Bublitz wrote:
On Friday 06 March 2009 06:53:01 am Marc Nations wrote:
Hi,
I'm trying to create a custom table which pops up a menu when the
user right clicks. This part works ok. It looks like this:
class Table(QtGui.QTableWidget):
def __init__(self,
On Fri, Mar 6, 2009 at 9:13 AM, Simon Edwards si...@simonzone.com wrote:
Arthur Pemberton wrote:
URL: http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/examples/
I originally sent this to the PyKDE list, but it seemed to have
bounced. So i'm trying here.
Wasn't sure if other people
On Friday 06 March 2009 09:06:03 am Andreas Pakulat wrote:
On 06.03.09 08:40:17, Jim Bublitz wrote:
On Friday 06 March 2009 06:53:01 am Marc Nations wrote:
Hi,
I'm trying to create a custom table which pops up a menu when the
user right clicks. This part works ok. It looks like this:
Matt Smith wrote:
Have you tried to build them, I am using hardy, I downloaded sip 4.8 and
pyqt 4.5 snapshots, it built find without any errors. I'm not sure what
dependencies I have previously installed but it is quite trouble free
process. If you are doing it for the first time you might
On Fri, Mar 6, 2009 at 12:05 PM, Jim Bublitz jbubl...@nwinternet.comwrote:
- Show quoted text -
On Friday 06 March 2009 09:06:03 am Andreas Pakulat wrote:
On 06.03.09 08:40:17, Jim Bublitz wrote:
On Friday 06 March 2009 06:53:01 am Marc Nations wrote:
Hi,
I'm trying to create a
Hello,
I would like to know if there is a signal sended by the SyntaxHiglighter when
it
catches a change in the text ?
Best regards.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
In my application the main interface is based on tabs. The problem is that
when I open a new tab I see memory increase but it does not decrease when I
close the tab.
I've been looking at this and I try to remove the widget from the QTabWidget.
Set its parent to None and remove its reference.
On 07.03.09 00:56:06, Albert Cervera i Areny wrote:
In my application the main interface is based on tabs. The problem is that
when I open a new tab I see memory increase but it does not decrease when I
close the tab.
I've been looking at this and I try to remove the widget from the
How does one connect to the signals of a QItemModel?
I tried the following, but it didn't work:
self.connect(
self.model,
QtCore.SIGNAL('itemChanged(QStandardItem 8)'),
self.on_model_itemChanged
)
and
How does one connect to the signals of a QItemModel?
I tried the following, but it didn't work:
self.connect(
self.model,
QtCore.SIGNAL('itemChanged(QStandardItem 8)'),
self.on_model_itemChanged
)
and
On Fri, Mar 6, 2009 at 6:22 PM, Mads Ipsen m...@comxnet.dk wrote:
How does one connect to the signals of a QItemModel?
I tried the following, but it didn't work:
self.connect(
self.model,
QtCore.SIGNAL('itemChanged(QStandardItem 8)'),
Just published, Action! introduces actions, toolbars, menubars.
http://lateral.netmanagers.com.ar/stories/BBS50.html
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Detlev Offenbach wrote:
On Freitag, 6. März 2009, klia wrote:
Hey folks;
How can i be able to select multiple files whenever i browse my directory
using QfileDailoug?
this is the code to call up the filedailoug
files = QtGui.QFileDialog.getOpenFileName(self, 'Open file','/home/',
On Fri, Mar 6, 2009 at 9:13 AM, Simon Edwards si...@simonzone.com wrote:
Arthur Pemberton wrote:
URL: http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/examples/
I originally sent this to the PyKDE list, but it seemed to have
bounced. So i'm trying here.
Wasn't sure if other people
On Fri, Mar 6, 2009 at 9:13 AM, Simon Edwards si...@simonzone.com wrote:
Arthur Pemberton wrote:
URL: http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/examples/
I originally sent this to the PyKDE list, but it seemed to have
bounced. So i'm trying here.
Wasn't sure if other people
24 matches
Mail list logo