Re: [PyQt] GraphicsView and Opengl

2012-01-22 Thread Tayfun Kayhan
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:

Re: [PyQt] How to extract the value of a Qspinbox?

2012-01-04 Thread Tayfun Kayhan
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

Re: [PyQt] How to extract the value of a Qspinbox?

2012-01-04 Thread Tayfun Kayhan
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

Re: [PyQt] Resizing window to smartly fit the contents

2011-11-24 Thread Tayfun Kayhan
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

Re: [PyQt] Storing QString/Unicode in Sqlite Database

2011-11-15 Thread Tayfun Kayhan
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

Re: [PyQt] Storing QString/Unicode in Sqlite Database

2011-11-09 Thread Tayfun Kayhan
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"

[PyQt] Storing QString/Unicode in Sqlite Database

2011-11-08 Thread Tayfun Kayhan
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