In case it helps, the example works properly on my system, Kubuntu 11.10,
64bit. You could also try running OpenGL examples that python-qt4-doc package
provides.
From: Peter Würtz
To: pyqt@riverbankcomputing.com
Sent: Sunday, January 22, 2012 1:23 PM
Subject:
what about vbl.addWidget(self.tension) ?
From: Fabien Lafont
To: Tayfun Kayhan
Cc: "pyqt@riverbankcomputing.com"
Sent: Wednesday, January 4, 2012 6:04 PM
Subject: Re: [PyQt] How to extract the value of a Qspinbox?
Sorry, I should say it befor
without the prefix 'self', tension is not an attribute of class, so it
complaints this. you try replacing it with below :
...
self.tension = QDoubleSpinBox()
self.tension.valueChanged.connect(self.voltage)
self.tension.setRange(0,100)
...
From: Fabien Lafont
T
Let self.win be your widget, then self.win.sizeHint() returns the ideal or
recommended size of your widget.
self.win.minimumSizeHint() returns the minimum recommended size. you can set
these to resize your widget.
From: Tom Bennett
To: pyqt@riverbankcomputing
16, 2011 12:42 AM
Subject: Re: [PyQt] Storing QString/Unicode in Sqlite Database
On Wednesday 09 November 2011, 10:29:55 Tayfun Kayhan wrote:
> Thank you, the first one is working well. I tried setting API V2 but
> it gave an error which says that it has been already set to V1. I'll
Thank you, the first one is working well. I tried setting API V2 but it gave an
error which says that it has been already set to V1. I'll try fixing this, as
well.
From: Andrei Kopats
To: Tayfun Kayhan
Cc: "pyqt@riverbankcomputing.com"
Hi all, I wanna get texts from some QLineEdits' and QComboBoxes and store them
in Sqlite DB. But I keep gettin the following error, i also tried using
following commands that did not worked :
self.info = some_lineEdit.text()
self.info = str(u"%s" % some_lineEdit.text())
self.info = some_lineEd