Re: [PyQt] PyQt application crashes on exit

2010-04-08 Thread Tobias Ramos
Well.. i cannot say if this is a Windows 7 issue... but seens to be. the same application hangs on Windows 7... but doesn´t hang in a windows xp sp3 i using PyQt 4.7.2 and Python 2.6.5 and Qt 4.6.2 in both systems windows 7 report an application crash seconds after its closed. If i start the appl

[PyQt] Closing MDI App hangs

2010-04-08 Thread Tobias Ramos
hi all.. i have a MDI form who is the first in the aplication, when it loads he calls for login or other functions.. i´ve olverloaded closeevent calling a QMessagebox, but the aplication doesnt really close.. i can see in taskmanager a python aplication running. the mainwindow has no parent and

[PyQt] Form keyPress

2008-12-23 Thread Tobias Ramos
Hi all, i tried without succes to found some examples or tips to identify keypress in a form... very simple as identify a down arrow or F2 F3 F4 keys and connect to any function.. can someone give a help? Thanks for your time. Tobias Ramos ___ PyQt

[PyQt] difference between inits

2008-11-12 Thread Tobias Ramos
Hi all..i have some doubts about something is happening in my code. here is it: w = window() f = QtCore.QFile(":/default.txt") f.open(QtCore.QIODevice.ReadOnly) model = TreeModel(QtCore.QString(f.readAll())) f.close() w.ui.lineEdit.setFocus() w.ui.treeView.setModel(model) w

[PyQt] Adding Codes to UI

2008-10-30 Thread Tobias Ramos
HI all... I'm starting in Pyqt and have look in some examples and open sources.. I've noticed some people extend the class generated by pyui, putting your own code.. but.. if the UI needs to be change?? or how can i add this code in makefile?? is the right thing to do? Thanks in advance. Tobias _