>> So an alternative would be to reimplement the Qsql classes using
>> based on the Python DBAPI protocol, but maybe the cost/benefit ratio
>> for that is too high?
> I'd say far to high. Qt has it own philosophy with databases, if you want
> snappy grids, and automatic updates and all that stuff,
Stuart:
> I was kind of hoping that PyQt's Qsql classes could save me some
> work, but AFAICT, I need a Qsql.Database object to use them and
> but a Postgreql driver is not available in binary for Windows.
You have to compile Qt and PyQt with Postgre suport on windows. I had to do
this for MySQL
> From: Damien Elmes [mailto:reso...@ichi2.net]
>
> I used wxwidgets for a while for my app (http://ichi2.net/anki) which
> runs on Linux, Win32 and Mac. It was really painful. Compared to pyqt,
> there were many platform specific bugs I had to work around, and at
> the time wxwidgets' "rich text
Hi, given this code:
...
child = Form()
app = Framework(child)
...
Ok, Form is a grid of data, and Framework includes it with addWidget.
class Framework:
def __init__(self, child):
...
self.layout.addWidget(child)
Now, can i reference a Framework's widget from a Form's instance
Hi everybody,
I want to specialize a QComboBox. I take a dummy example: if there are the
following choices in the QListView provided by the QComboBox:
"toto"
"titi"
"tutu"
I want that if the user chooses "toto", to display "toto has been chosen" in
the QComboBox.
If the user chooses "titi", then
TP wrote:
> http://paratribulations.free.fr/help/python/integerdelegate_question.py
Has someone tried my example?
Julien
--
python -c "print ''.join([chr(154 - ord(c)) for c in '*9(9&(18%.\
9&1+,\'Z4(55l4('])"
"When a distinguished but elderly scientist states that something is
possible, he i
Hi Paolo,
i runned your code here on a mac osx, python2.5, qt-4.4.3, pyqt4.4.4
seems it works properly,
i can see tooltips :
<>
<>
Massimo Di Stefano
massimodisa...@yahoo.it
epifanio on irc.freenode.net /join gfoss
Il giorno 18/mar/09, alle ore 18:21, Paolo Milani ha scritto:
Hi! :)
I'm a newbie. I've searched in the docs, but I haven't found the solution.
I want to add tooltips to menu, but it doesn't work: tooltips are not
displayed. Suggestions?
my system: ubuntu linux 8.10 with kde 4..2 repository.
Many thanks. This is the code:
#!/usr/bin/env python
# -*- c
On 2009-03-18, Till Gerken wrote:
> On Wed, Mar 18, 2009 at 3:40 PM, Gert-Jan
wrote:
> > Class GUI:
> >def __init__(self):
> >tableWidget = QtGui.QTableWidget()
> ># Code to insert 5 columns and make a horizontal header)
> >self.connect(tabl
On Wed, 18 Mar 2009 08:46:35 -0700, Remi McGill
wrote:
> I am using QGraphicsItems do display graphics. This may be a simple
thing
> that I have missed, but how can I get one QGraphicsItem to draw on top of
> all others? It seems the item I am working with goes behind some items
and
> over top o
I am using QGraphicsItems do display graphics. This may be a simple thing that
I have missed, but how can I get one QGraphicsItem to draw on top of all
others? It seems the item I am working with goes behind some items and over
top others. Any suggestions?
Thanks,
Remi
__
>
> Hey all,
>
> Since I still haven't been able to
> http://www.nabble.com/Sorting-column-with-QComboBox-cellwidgets-td22499840.html
> automatically sort a column with combo boxes , and now have another column
> with special sorting conditions, I'd like to manually do the sorting.
>
> The problem
On Wed, Mar 18, 2009 at 3:40 PM, Gert-Jan wrote:
> Class GUI:
> def __init__(self):
> tableWidget = QtGui.QTableWidget()
> # Code to insert 5 columns and make a horizontal header)
> self.connect(tableWidget.horizontalHeader,
> QtCore.SIGNAL("cli
Hey all,
Since I still haven't been able to
http://www.nabble.com/Sorting-column-with-QComboBox-cellwidgets-td22499840.html
automatically sort a column with combo boxes , and now have another column
with special sorting conditions, I'd like to manually do the sorting.
The problem is that I can'
On Mittwoch, 18. März 2009, Matt Smith wrote:
> I use a graphics scene and I never have to explicitly paint anything.
> It seems like you could create a pixmap item when you load the svg then
> you wouldn't have to render it again later.
My view scales the svg images matching to the available spac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorry that's right!
QMainWindow have to been replaced by QWidget.
But the result is the same ...
Thanks for the hint ...
Am 18.03.2009 um 10:14 schrieb Phil Thompson:
On Wed, 18 Mar 2009 00:29:21 +0100, Thomas Espenhain
wrote:
-BEGIN PGP SI
On Wed, 2009-03-18 at 09:15 +, pyqt-requ...@riverbankcomputing.com
wrote:
> From: Wolfgang Rohdewald
> Subject: [PyQt] dragging a QGraphicsSvgItem
> To: pyqt@riverbankcomputing.com
> Message-ID: <200903180430.09934.wolfg...@rohdewald.de>
> Content-Type: text/plain; charset="us-ascii"
>
> Whi
On Wed, 18 Mar 2009 00:29:21 +0100, Thomas Espenhain
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi Andreas,
> thanks for your answer and sorry for the missing example .. here it
> comes:
>
> import sys
> from PyQt4 import QtCore, QtGui
> app = QtGui.QApplication(sys.argv)
>
Hello. I'm new to PyQt, so dont be to hard on me. I need help with creating
a QRegExpValidator which would validate my input and would make it
uppercase.
I came up with this by browsing this list and searching the net and Qt
documentation, but it's not working.
class Validator(QtGui.QRegExpValidat
19 matches
Mail list logo