On 04/11/11 14:00, Hans-Peter Jansen wrote:
You forgot to mention, from what class your offending method derives.
Anyhow, I don't think, that cProfile is the proper instrumentation for
that kind of issue, since PyQt is throughoutly compiled code, you
should cope with that, and do proper profiling
I'm hoping there is a PyQt historian out there that can answer this
question for me.
We have a major application that we've been unable to use anything
beyond Pyqt 4.3 due to what I think is a performance issue with
setVisible. I'd like to give an example but this is proprietary code
and
I wish. I can put in a request to do so, but, its often a long process
to get legal approval.
On 04/19/10 01:11, NARCISO, Rui wrote:
Hey, is this code available somewhere for download ?
__
Rui NARCISO
Data for Handling Qualities
Aerodynamics Dep
I'm seeing this as well on Linux. Since upgrading to 4.7.2 almost every
apps prints a Segmentation fault message on exit. That is with Python
2.6.4. Our Python2.5 is still using the previously released version and
doesn't have the problem when running the same code base. This is
compiled ag
Tried with Qt 4.3, Qt 4.4, PyQt 4.3.3, PyQt 4.4. I think it has
something to do with my parent implementation. It starts ok but if you
try to open the tree it segfaults right away.
#!/bin/env python
import sys
from PyQt4 import QtCore, QtGui
from PyQt4.QtCore import SIGNAL
EMPTY_VARIANT = Q
For some reason Qt 4.4 doesn't compile in my environment with webkit so
I disabled it during the Qt compile because I'm more interested in
checking out PyQt 4.4 than dealing with that. Although, after compiling
PyQt 4.4 against Qt 4.4.0 it complains that the webbkit .so cannot be found.
Is
Andreas Pakulat wrote:
On 16.10.07 12:02:04, Matt Chambers wrote:
Has anyone tested the latest snapshots with Qt 4.4?
No, and Phil usually doesn't support Qt snapshots, only releases.
Andreas
Yeah, lets start early! I want to get in some early testing with 4.4,
the othe
Has anyone tested the latest snapshots with Qt 4.4?
--
-Matt
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Currently I'm running the latest PyQT 4.3 snapshot with the offical 4.3
release of Sip and Qt 4.3.1, although the problem is still there with
PyQt 4.3 official release.
What I have is a QWidget which is basically my own type of progress bar
embedded in a QTreeWidgetItem.
progressBar = jobPro
Is it possible to have maybe some unsupported commercial license
snapshots made available? Once a commercial release is out, we're
pretty much stuck with it while bugs are fixed in the snapshots.
-Matt
___
PyQt mailing listPyQt@riverbankcomputin
Hey all, I'm having this problem with QStandardItemModel, its killing
me. Basically, when I sort the QtreeView by a column, it loses the
selection highlight column 0. The column 0 highlight actually moves to
another row. It seems to move to the row that was in the selected rows
spot before t
Anyone have code for updating a progress bar while copying large files?
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Strange problem just cropped up, not sure what is going on. I have a
QTextEdit box where I'm funneling python logging messages.
self.__textEdit = QtGui.QTextEdit(self)
self.__textEdit.setReadOnly(True)
self.__textEdit.document().setMaximumBlockCount(100)
self.__textEdit.setLineW
using qt 4.2.2, pyqt 4.1.
some example code, it acts like a qstandarditem which contains an array
with the entire row inside. No matter
what I do to the size hint, the column size always starts out way to
small to display the data. Height, apparently
does work, its width that seems to have n
ay 07 February 2007 1:55 am, Matt Chambers wrote:
Using PyQt4.1.1
When I remove an item from a QTableWidget, it automatically resets the
scrollbar to the top.
def removeItem(self,item)
self.takeTopLevelItem(self.indexOfTopLevelItem(item))
It works properly with PyQt 4.0.1. Looked aroun
Using PyQt4.1.1
When I remove an item from a QTableWidget, it automatically resets the
scrollbar to the top.
def removeItem(self,item)
self.takeTopLevelItem(self.indexOfTopLevelItem(item))
It works properly with PyQt 4.0.1. Looked around for properties that
would affect this, couldn't fi
I just made the switch from Pyqt 4.0.1 to 4.1.1. I have a QTableView
with a QSortFilterProxyModel and I've implemented custom filtering in
filterAcceptsRows. This works great in 4.0.1. In 4.1.1, it seems to be
resorting the data whenever I call "filterChanged()", which didn't
happen with 4.0
Using Qt4.1 and PyQt 4.0.1 this worked fine:
l = [1,2,3,4,5]
self.emit(QtCore.SIGNAL("selected(PyObject *)"),l)
Using Qt4.2 and PyQt 4.1.1 I get:
TypeError: argument 0 of signal QDialog.selected(PyObject*) has an
invalid type
What am I missing here? Has signals slots changed again? Also, I
Thanks, I forgot about those. Working good now
Adam Tenderholt wrote:
What about reimplementing mouseDoubleClickEvent()? It sounds like this
would let you just bypass the default actions and have a double click
event do what you want.
Adam
On 1/10/07, Matt Chambers <[EMAIL PROTECTED]>
Anyone have any ideas on how I can disable the double click
expand/collapse action on a QTreeWidget? Using pyqt 4.0.1, It doesn't
seem like many of the disconnect methods have been implemented, im not
sure what slots to actually disconnect.
-Matt
Anyone know of a way to open a new dialog using drag and drop?
Basically, I want the user to be able to drag a widget out of the
application, and have a copy of that widget in a separate dialog box.
-Matt
___
PyKDE mailing listPyKDE@mats.imk.fra
Hi guys, I'm using a QTreeWidget for this particular tool, and a custom
widget which displays a progress bar type image. Some code:
def paintEvent(self,e):
p = QtGui.QPainter(self)
rect= e.rect()
total_frm = self.__profile.frameCount()
ratio = rect.width() /
Lukáš Lalinský wrote:
Matt Chambers wrote / napísal(a):
Using PyQt 4.0 and Qt 4.1. I'm emitting a single from a QThread with a
single argument. About 50% of the time when I catch
the signal and execute the slot function, the argument is a QMutex
object, not the argument I emitted
I actually went ahead and made the changes I needed to move the data
into the model. Instead of just
replacing the data entirely, I have a loop for updating and inserting,
and one for deleting. Updating
existing data works great, adding/removing is where I'm having issues.
My data is based of
So instead of recording which rows are selected, I
recorded which keys were selected. Then I had to search through the new
model and find those keys and select them in the selection model.
-Brent
On 11/16/06, Matt Chambers <[EMAIL PROTECTED]> wrote:
Is it possible that
Is it possible that using one of the View classes, to reset() the model,
but still maintain any selections the users had on items that were in
the old data, and the new data?
Matt
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk
Andreas Pakulat wrote:
On 14.11.06 13:42:29, Matt Chambers wrote:
I'm dynamically creating a context menu for a QTableView, populated with some
QActions. Everytime
I right click, the menu is created. Over time, hundreds of these closed menus
will set in memory, along
with all the qac
I'm dynamically creating a context menu for a QTableView, populated with
some QActions. Everytime
I right click, the menu is created. Over time, hundreds of these closed
menus will set in memory, along
with all the qactions, assoctated icons and text, ect. When I close the
app, I see all of t
When I use QTableView, is there a mode that will make the columns
auto-stretch
to fill up available space?
Matt
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Thanks for responses. When I put the code on its own, it worked...then
I realized I was using
QMainWindow, so I had to setMainWidget on the splitter object.
David Boddie wrote:
On Tuesday 24 October 2006 14:52:45 -0700, Matt Chambers wrote:
Hi all, trying to use a QSplitter
Hi all, trying to use a QSplitter to separate 2 different widgets, they
both end up
as little tiny things in the upper left hand corder of the window. Resizing
the window doesn't affect them.
I'm sure this has something to do with the layout but I've read the docs
and tried
1000 different com
Andreas Pakulat wrote:
On 11.10.06 13:10:34, Matt Chambers wrote:
Andreas Pakulat wrote:
On 10.10.06 21:19:59, M.Chambers wrote:
How can I disable some that I'm not using? Seems like a waste to call
data() that many times. I'm
Andreas Pakulat wrote:
On 06.10.06 10:14:17, Matt Chambers wrote:
Thanks, that works but then then any branches you have open in the tree view
closed. I guess there is no way to maintain
the open/close status of existing branches, and default new ones to open?
Hmm
.isValid():
return EMPTY_VARIANT
el = index.internalPointer()
return QtCore.QVariant(
el.get(self.__columns[index.column()][1]) )
--
Matt
Chambers <[EMAIL PROTECTED]>
Sony Pictures Imageworks
___
PyKDE mailing list
Any guesses as to why this line would not conncet the signal? Using a
treeview.
self.connect(self, QtCore.SIGNAL("collapsed (const QModelIndex &
index)"), self.cbCollapsed);
Matt
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://ma
ignal the tree view that the model has totally
changed.
Andreas
--
Matt
Chambers <[EMAIL PROTECTED]>
Sony Pictures Imageworks
Software Engineer
Phone: (310) 840 9072
Cell: (703) 624 0221
___
PyKDE mailing listPyKDE@mats.imk.fraunho
36 matches
Mail list logo