A couple of (also untested) tweaks?
Mark Summerfield wrote:
On 2007-10-16, Sergio Jovani Guzmán wrote:
Hi all!
I am learning PyQt and I have a question.
I have two classes, one for each widget:
==
class Main(QMainWindow):
def __init__(self):
QMainWi
Hi,
Is there a guide for PyKDE4? Google didn't get me far, here...
I don't yet know KDE programming. Should I try to get into PyKDE4 nontheless?
http://websvn.kde.org/tags/KDE/3.94/kdebindings/python/pykde4/README?view=markup
Besides: I'm learning Python at the moment.
Best wishes,
Arne
-
I am goin crazy with this problem, i have tested with qsqltablemodel
subclassing and it works ok if a dont
write the insertRows method in the subclass:
(model)
class SkudaSqlTableModel(QSqlTableModel):
def __init__(self, dbcursor=None):
super(SkudaSqlTableModel, self).__init__()
(QD
Hi Arne,
Am Mittwoch, 17. Oktober 2007 11:03 schrieb Arne Babenhauserheide:
> Hi,
>
> Is there a guide for PyKDE4? Google didn't get me far, here...
>
> I don't yet know KDE programming. Should I try to get into PyKDE4
> nontheless?
>
> http://websvn.kde.org/tags/KDE/3.94/kdebindings/python/pykde4
Hello,
I get random crashes from code like this one:
class MyDelegate(QItemDelegate):
def createEditor(self, *args):
ed = QItemDelegate.createEditor(self, *args)
ed.foo = bar # adding stuff to python instance
ed.foo2 = lambda: bar
return ed
def setModelD
On Wednesday 17 October 2007, Giovanni Bajo wrote:
> Hello,
>
> I get random crashes from code like this one:
>
> class MyDelegate(QItemDelegate):
> def createEditor(self, *args):
> ed = QItemDelegate.createEditor(self, *args)
> ed.foo = bar # adding stuff to python instance
On Wed, 2007-10-17 at 18:18 +0100, Phil Thompson wrote:
> > class MyDelegate(QItemDelegate):
> > def createEditor(self, *args):
> > ed = QItemDelegate.createEditor(self, *args)
> > ed.foo = bar # adding stuff to python instance
> > ed.foo2 = lambda: bar
> >
Andreas Pakulat wrote:
On 16.10.07 12:02:04, Matt Chambers wrote:
Has anyone tested the latest snapshots with Qt 4.4?
No, and Phil usually doesn't support Qt snapshots, only releases.
Andreas
Yeah, lets start early! I want to get in some early testing with 4.4,
the other 4.x ver
On Wed, 2007-10-17 at 16:15 -0700, Matt Chambers wrote:
> > No, and Phil usually doesn't support Qt snapshots, only releases.
> >
> > Andreas
> >
> >
> Yeah, lets start early! I want to get in some early testing with 4.4,
> the other 4.x versions are extremely slow to draw to the screen
> co
Hi!
What i want to do this time, is to disable a key event in my app. For
example i want to avoid closing the app by pressing ALT + F4:
def keyPressEvent(self, event):
if event.key() == QtCore.Qt.Key_F4 and (event.modifiers() &
QtCore.Qt.AltModifier):
# DO Nothing. How
10 matches
Mail list logo