[PyQt] memory corruption

2008-11-26 Thread [EMAIL PROTECTED]
Hello again i copy here a part of the program that cause the memory corruption can you help me and telle wath is wrong? # -*- coding: utf-8 -*- """ Module implementing Form. """ from PyQt4.QtGui import QWidget from PyQt4.QtCore import pyqtSignature from PyQt4 import * from PyQt4 import QtNetw

RE: [PyQt] Intro and question

2008-11-26 Thread Iliya Gogolev
Took from Qt API 4.4: A command button is rectangular and typically displays a text label describing its action. A shortcut key can be specified by preceding the preferred character with an ampersand in the text. For example: QPushButton *button = new QPushButton("&Download", this); In this exa

[PyQt] fitInView problem

2008-11-26 Thread Oguz Yarimtepe
Hi, I was trying to fit my image to the view in my qgraphicsview application. But i didn't get the logic of it or i am doing something wrong. What i do is first opening a pdf: self.doc = QtPoppler.Poppler.Document.load(self.fileName) page = self.doc.page(self.currentPage) rendering it to a sca

[PyQt] Intro and question

2008-11-26 Thread Christian Aubert
Hi everyone, Thanks to Mark for telling me about the list. I got started with pyqt about 3 months ago, love the functionality, hope to be able to contribute here. I have a GUI using a QPushButton, does anyone know of a way to use modifiers on buttons (CTRL, ALT, Right-click)? __

[PyQt] PyQt4 horribly slow on non local X server

2008-11-26 Thread Russell Brown
I've just started playing with PyQt4 and fired up the Jonathan Riddell webkit.py demo (included below). If I run it on my laptop (with a local X display) then the performance is adequate; if not quite as snappy as one might like. Running it on a remote display however it's a different kettle of

Re: [PyQt] Signals, QStrings

2008-11-26 Thread Phil Thompson
On Wed, 26 Nov 2008 17:11:26 -0500, Matt Smith <[EMAIL PROTECTED]> wrote: > Here is a basic question because I am not so familiar with cpp. Whats > the difference between: > > emit(SIGNAL("mySignal( QString )"),myQstring) > emit(SIGNAL("mySignal( const QString&)"),myQstring) > > and more importa

[PyQt] Signals, QStrings

2008-11-26 Thread Matt Smith
Here is a basic question because I am not so familiar with cpp. Whats the difference between: emit(SIGNAL("mySignal( QString )"),myQstring) emit(SIGNAL("mySignal( const QString&)"),myQstring) and more importantly, which one should I use? thanks mbs _

[PyQt] fitInView problem

2008-11-26 Thread Oguz Yarimtepe
Hi, I was trying to fit my image to the view in my qgraphicsview application. But i didn't get the logic of it or i am doing something wrong. What i do is first opening a pdf: self.doc = QtPoppler.Poppler.Document.load(self.fileName) page = self.doc.page(self.currentPage) rendering it to a sca

Re: [PyQt] No PHP lexer in qscintilla-python?

2008-11-26 Thread piotr maliński
W dniu 24 listopada 2008 17:10 użytkownik piotr maliński < [EMAIL PROTECTED]> napisał: > Thanks :) > > 2008/11/24, Phil Thompson <[EMAIL PROTECTED]>: > > On Mon, 24 Nov 2008 17:02:25 +0100, "piotr maliński" < > [EMAIL PROTECTED]> > > wrote: > > > > > Looking at the lexer list I can't find PHP lex