[PyQt] QTableWidget in QSplitter

2008-03-22 Thread Gregor Kling
Hello, I have a MainWindow of which the Centralwidget consist of a Splitter with more Splitters in it. self.adminListWidget = QTreeWidget() self.adminInfoWidget = QTableWidget() self.netInfoWidget = QTableWidget() self.domainInfoWidget = QTableWidget() self.infoSplitter = QSp

Re: [PyKDE] PyQt Qthreads

2006-11-02 Thread Gregor Kling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > tell here which is the problem :-) Hm, my studies about the problem are not finished, but using postEvent instead of sendEvent gives me success -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFSfKEJFHWQ694uCYRAtjMAJ94rfU

Re: [PyKDE] PyQt Qthreads

2006-11-02 Thread Gregor Kling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > test it, I think that this method called from QEvent or from onclick > Event should do the same. Or maybe you call two times too fast and there > is some problem because you haven't read the data first time and you > call again. But I don't think so

Re: [PyKDE] PyQt Qthreads

2006-11-01 Thread Gregor Kling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, > You mean that is not updating the representation (graphics) in that > time? ¿? > If you do from other method, called from other event (buttonclicked) > then it works? I didn't test it with another method. The result from the database-query re

Re: [PyKDE] PyQt Qthreads

2006-11-01 Thread Gregor Kling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Carles, > Hope that will help... Yes that does thanks. But,.. In my thread, in which i do the db-query i have now following line: for row in result: host_id = row[0] host = DVZhostData(self.__dbcon) host.fill_h

Re: [PyKDE] PyQt Qthreads

2006-10-31 Thread Gregor Kling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > In this case, regrettably i'm using Qt4, and there are no longer these > event-classes, i for one doesn't see them. > I found some examples, but they all use the customevent stuff. Uh, ah, okay reading helps sometimes ;-) I just found the QEvent clas

Re: [PyKDE] PyQt Qthreads

2006-10-31 Thread Gregor Kling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thnx Krzysztof, > As far as I understand your code, in GUI you are running in loop, > processing incoming pieces of data. This will not work, GUI updating is > event-driven, so you should process one piece of data at the time and > return control to G

[PyKDE] PyQt Qthreads

2006-10-31 Thread Gregor Kling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Maybe there has someone an idea what is wrong with my (possibly braindead) interaction with a database query and the representation in a Dialog. I have a class Finder with following impl: class Finder(QtCore.QThread): def __init__(self,sea