Thanks for the help. I fixed the code and commited to trunk
2008/11/12, Jim Bublitz [EMAIL PROTECTED]:
On Tuesday 11 November 2008 09:04, piotr maliński wrote:
I've started a project at code.google.com that contains all PyQt4
widgets made by me with the help of SIP.
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)
Hi,
thanks for your answer. I've been working about the TypeError and I've found
that the call
my_scrollbar.triggerAction(QtGui.QAbstractSlider.SliderSingleStepAdd)
works
but the (apparently equivalent) call
my_scrollbar.triggerAction(1)
fails raising the TypeError. However
Using Windows msvc-2003.net and the following versions I'm getting a
compile error:
Versions:
Qt 3.3.4
Sip 4.7.8
PyQt-commercial 3.17.5
Python 2.5.2
The error is:
cl -c -nologo -Zm200 -GX -MD -O1 -W3 -w34100 -w34189 -
DUNICODE -DWIN32 -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -Ic:
Hi,
in http://www.riverbankcomputing.co.uk/static/Docs/sip4/sipref.html one can
read:
2 Potential Incompatibilities with Earlier Versions
2.1 SIP v4.7.8
This version allows a Python int object to be passed whenever an enum is
expected. This can mean that two signatures that were different
i did custom widget as alternative user interface for sooperlooper
[0].. you can see the widget in action here:
http://www.viddler.com/explore/marcell/videos/6/
then i composed a lot of them onto QWidget and you could see them in
action here:
http://www.viddler.com/explore/marcell/videos/7/
it's interesting that cpu goes up to 100% as X process not python... i have:
X Window System Version 1.3.0
Release Date: 19 April 2007
Current Operating System: Linux kom 2.6.26.3-rt3 #2 PREEMPT RT
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY
i'll install new