Simone Zaccarin ha scritto:
My only problem is that I construct the UI via QtDesigner. Is there a way to
"overwrite" the table added via Designer without being a PyQt4 expert?
Sorry, I misunderstood the message... :)
The QSqlRelationalTableModel is added by code... :)
Simone
Chiacchiera con
Dear PyQt experts,
I am choosing a GUI toolkit for developing an application
(cross-platform) and PyQt seems to be simpler/more-intuitive for
programming than others. My application will have some basic image
processing (transformations, filtering, pattern recognition (e.g.,
with convolution), etc
On Friday 11 April 2008, Kevin Watters wrote:
> I want to make an option for SIP to autogenerate properties (i.e., GetTitle
> and SetTitle just become Title).
>
> I've been reading through transform.c, trying to get a feel for how this
> might happen, but I think I'm lacking the "big picture" when
OK, I ended up following David's example completely, at first we had
tried with newer versions of Python QT sip etc but each one possessed a
problem so we dropped back to using David's work almost word for word,
accept in order to cross compile Python we had to edit it's Makefile
slightly to bu
I want to make an option for SIP to autogenerate properties (i.e., GetTitle and
SetTitle just become Title).
I've been reading through transform.c, trying to get a feel for how this might
happen, but I think I'm lacking the "big picture" when it comes to how SIP
implements methods and attribute lo
There doesn't appear to be a signal that is emitted when a given row in
a QTableWidget is double clicked. I can easily catch the
cellDoubleClicked or the itemDoubleClicked signal but what i really want
is when a row is double clicked. Whats the best way to catch this row
double click input fr
My only problem is that I construct the UI via QtDesigner. Is there a way to
"overwrite" the table added via Designer without being a PyQt4 expert?
:D
Simone
- Messaggio originale -
Da: Mark Summerfield <[EMAIL PROTECTED]>
A: pyqt@riverbankcomputing.com
Cc: Simone Zaccarin <[EMAIL PROTE
On 2008-04-11, Simone Zaccarin wrote:
> I'm trying to create a custom QSqlRelationalDelegate.
>
> In the database, the date field is in text form '-MM-dd'. I have to
> show that string in a QSqlTable in the form 'dd-MM-'.
If that's the only change you want to make, you could try what might
I'm trying to create a custom QSqlRelationalDelegate.
In the database, the date field is in text form '-MM-dd'. I have to show
that string in a QSqlTable in the form 'dd-MM-'.
I think to overwrite the paint method of the QSqlRelationalDelegate, but the
result is not what I'm expeting:
Hi again,
Looks like I am back to QDataStream problems and here is the testcase :
>>> from PyQt4.QtCore import *
>>> a = QByteArray()
>>> b = QDataStream(a, QIODevice.ReadWrite)
>>> b << QString("123")
>>> b.device().seek(0)
True
>>> b.readString()
''
I was expecting the last output to be "123"
Though it might seem unnecessary, i18n doesn't take unicode objects as input.
Though one would say English, the language which we would wrap i18n with, only
needs ASCII, there might be occasions where other characters are needed.
Furthermore from Python 3.0 on unicode strings will be standard.
I
Hello,
I've recently upgraded from PyQt4.1.1 to 4.3.4-snapshot-20080408. Now, an
application that worked fine with the older version fails when trying to save
QColor or QFont values via QSettings.setValue method. In these cases the
following is printed to console:
QVariant::save: unable to sav
Karlo Lozovina wrote:
On 4/11/08, Ulrich Berning <[EMAIL PROTECTED]> wrote:
From the docs:
"Actions are added to widgets using QWidget::addAction(). Note that an
action must be added to a widget before it can be used; this is also true
when the shortcut should be global (i.e., Qt::Application
On 4/11/08, Ulrich Berning <[EMAIL PROTECTED]> wrote:
> From the docs:
> "Actions are added to widgets using QWidget::addAction(). Note that an
> action must be added to a widget before it can be used; this is also true
> when the shortcut should be global (i.e., Qt::ApplicationShortcut as
> Qt:
Karlo Lozovina wrote:
Hi guys!
I'm trying to add keyboard shortcuts to my application, but I'm stuck
at the beginning. Here is a simple application that I can't get to
work:
###
import sys
from PyQt4.Qt import Qt
from PyQt4.QtCore import QObject, SIGNAL
from PyQt4.QtGui import QWidget, QApplic
15 matches
Mail list logo