Hi,
My dialogs used some icons for buttons (move left, move right...), and
some of these buttons icons need to be changed dynamically according to
the current sequence.
I started to have a look at the Qt resources, but I have to admit that it
is not clear to me how to use all that stuff. As it
Le 15/1/2009, dbod...@trolltech.com dbod...@trolltech.com a écrit:
Are these skins available somewhere? When previewing in a specific skin,
is it also possible to set the screen size (very usefull for small
devices, like smartphones, internet tablets an so)?
Take a look in the tools/qvfb
On Thu, 15 Jan 2009 17:45:06 -0800, Zac Burns zac...@gmail.com wrote:
Greetings,
I'm trying to create and dispatch a custom event. If I try to inherit
from QEvent like so:
class X(qt.QEvent):
def __init__(self):
qt.QEvent.__init__(self, 1500)
x = X()
Then I get
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qt.html#MatchFlag-enum
--- On Wed, 1/14/09, Marc Nations mnations.li...@gmail.com wrote:
From: Marc Nations mnations.li...@gmail.com
Subject: [PyQt] TreeWidget findItems function - Only applies to top-level
items?
To:
On Fri, 16 Jan 2009 09:01:35 +0800, Steven Woody narkewo...@gmail.com
wrote:
On Thu, Jan 15, 2009 at 10:18 PM, Jason Voegele ja...@jvoegele.com
wrote:
On Tuesday 13 January 2009 09:53:08 pm Steven Woody wrote:
In the book 'Rapid GUI Programming with Python and Qt', chapter 5,
the author said
After the announcement that Qt 4.5 will be released as LGPL,
has it been decided if PyQt will do the same? I have seen
some speculation but no actual announcement.
I certainly wish it would -- given the quality of PyQt and
the (in my experience) excellent community and support, it
would be sure
On Fri, 16 Jan 2009 13:37:47 + (UTC), David F dael...@gmail.com
wrote:
After the announcement that Qt 4.5 will be released as LGPL,
has it been decided if PyQt will do the same? I have seen
some speculation but no actual announcement.
I certainly wish it would -- given the quality of
On Fri, Jan 16, 2009 at 9:03 AM, Phil Thompson
p...@riverbankcomputing.comwrote:
On Fri, 16 Jan 2009 13:37:47 + (UTC), David F dael...@gmail.com
wrote:
After the announcement that Qt 4.5 will be released as LGPL,
has it been decided if PyQt will do the same? I have seen
some
On Fri, 26 Dec 2008 01:57:30 -0800, David Aguilar dav...@gmail.com
wrote:
Sorry that my first post to this list is a bug report =/
I've attached a .ui file that is generating some bad code.
My main platform is debian/testing where pyuic4 --version reports:
Python User Interface Compiler
Le 16/1/2009, Mark Summerfield m...@qtrac.eu a écrit:
QPlainTextEdit is optimized for use as a log display and has
appendHtml() and appendPlainText(). For Qt 4.3 or earlier use QTextEdit
or QTextBrowser instead.
Thanks, Mark. So, you suggest I subclass QPlainTextEdit to add the
write() and
On 2009-01-16, Frédéric wrote:
Le 16/1/2009, Mark Summerfield m...@qtrac.eu a écrit:
QPlainTextEdit is optimized for use as a log display and has
appendHtml() and appendPlainText(). For Qt 4.3 or earlier use QTextEdit
or QTextBrowser instead.
Thanks, Mark. So, you suggest I subclass
Creating a QChar from a len() == 1 unicode object fails with a TypeError:
$ python
Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26)
[GCC 4.3.2] on linux2
Type help, copyright, credits or license for more information.
from PyQt4.QtCore import QChar, QString
a = u'你'
len(a)
1
QChar(a)
Traceback
Thank you, this answer worked. I will also upgrade to the latest version.
--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer (Digital Overlord)
Zindagi Games
On Fri, Jan 16, 2009 at 1:01 AM, Phil Thompson
p...@riverbankcomputing.com wrote:
On Thu, 15 Jan 2009 17:45:06 -0800,
On vendredi 16 janvier 2009, Mark Summerfield wrote:
If you have 100K + log lines then a list model + QListView (+ custom
delegate if you want fine control over rendering); but anything less and
QPlainTextEdit + a simple data class should be fine. (I'm guessing about
the 100K of course but
Hi all !
I've created a simple QDialog with Qt-Designer 4, named ImageDialog and only
containing a pushButton called pushButton.
The file name is test.ui
Next I've used pyuic4 wich created a file named Ui_test.py containing :
#BEGIN#
from PyQt4 import QtCore,
Hi all !
I've created a simple QDialog with Qt-Designer 4, named ImageDialog and only
containing a pushButton called pushButton.
The file name is test.ui
Next I've used pyuic4 wich created a file named Ui_test.py containing :
#BEGIN#
from PyQt4 import QtCore,
Greetings, everyone. Please excuse this question's elementary nature... Neither
web searching nor experimentation has yielded a solution thus far, and doubtless
someone here will be able to answer it right away.
I have developed a PyQt4 application on my Ubuntu machine, and it works fine,
you need to add paths to folder with installed python to PYTHONPATH and
PYTHONHOME in Control center / System / Advanced / System Paths
2009/1/16 Doug Hackworth doug.hackwo...@vanderbilt.edu
Greetings, everyone. Please excuse this question's elementary nature...
Neither web searching nor
* Doug Hackworth (Fri, 16 Jan 2009 11:53:45 -0600)
I have developed a PyQt4 application on my Ubuntu machine, and itworks
fine, no problems. Now I want another user to be able to use it on his
Windows XP machine, so on his computer I do the following, in this
order:
1. Install Python 2.6
* piotr mali?ski (Fri, 16 Jan 2009 19:38:13 +0100)
you need to add paths to folder with installed python to PYTHONPATH
and PYTHONHOME in Control center / System / Advanced / System Paths
No, he doesn't.
Thorsten
___
PyQt mailing list
* Phil Thompson (Fri, 16 Jan 2009 14:03:50 +)
On Fri, 16 Jan 2009 13:37:47 + (UTC), David F dael...@gmail.com
wrote:
After the announcement that Qt 4.5 will be released as LGPL,
has it been decided if PyQt will do the same? I have seen
some speculation but no actual announcement.
Well, I had to do it for ActivePython. Maybe vanilla Python sets them :)
2009/1/16 Thorsten Kampe thors...@thorstenkampe.de
* piotr mali?ski (Fri, 16 Jan 2009 19:38:13 +0100)
you need to add paths to folder with installed python to PYTHONPATH
and PYTHONHOME in Control center / System /
I forward this message to the list, because I send this only in
private. Sorry for the error.
Simone
-- Forwarded message --
From: simozack simoz...@yahoo.it
Date: 2009/1/16
Subject: Re: [PyQt] Subclass pyuic4 generated file...
To: NoursBleu noursb...@free.fr
2009/1/16 NoursBleu
open a Python prompt and try to import any module, then try to
import PyQt4.
Yep, did that -- it works just fine. Either importing PyQt4 whole or doing
'from PyQt4 import QtCore, QtGui' and the like works with no problem.
Also install pywin32. This is /not/ needed for PyQt but it
might
open a Python prompt and try to import any module, then try to import
PyQt4.
Yep, did that -- it works just fine.
Scratch that, I told you the wrong thing. The following is correct:
1. If I open a Python prompt and immediately import PyQt4, it works.
2. If I open a Python prompt,
* piotr mali?ski (Fri, 16 Jan 2009 20:16:03 +0100)
Well, I had to do it for ActivePython. Maybe vanilla Python sets them
No, Python has internal defaults. You need to set PYTHONHOME only if you
would want to change the default of Lib to another directory and
PYTHONPATH only to if you want
* Doug Hackworth (Fri, 16 Jan 2009 14:04:50 -0600)
open a Python prompt and try to import any module, then try to
import PyQt4.
Yep, did that -- it works just fine.
Scratch that, I told you the wrong thing. The following is correct:
1. If I open a Python prompt and immediately
Nevertheless at least setting PYTHONPATH to the site-packages directory
is an excellent idea for troubleshooting.
So I set PYTHONPATH to C:\Python26\Lib\site-packages , rebooted, and tried again
to run the application. Same result: It claims that there is no PyQt4 module.
Is it only
On vendredi 16 janvier 2009, Doug Hackworth wrote:
Which now makes me think... This Windows user has a Cygwin installation
with Python inside of it. Is it possible that creates a conflict for
where to find packages/modules? I'd never have thought so, but maybe it
does.
I was thinking
Update: I tried the same procedure (install Python, install PyQt4) on a fresh
Windows XP machine that doesn't have Cygwin+Python and any complications that
may cause, and things work as expected.
I did add Lib/site-packages to a system PYTHONPATH environment variable just to
be on the safe
Can I check to see if the current thread is the safe 'main' GUI thread?
--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer (Digital Overlord)
Zindagi Games
___
PyQt mailing listPyQt@riverbankcomputing.com
Ok, I'm looking for 2 things:
1) catching key events
I found that I have to implement the keyPressEvent() method. I did this in
the mainWindow, but the behaviour depend where is the focus. And as I want
to catch arrow keys, it also change the focus! What is the proper way to
do this? I also
On Fri Jan 16 22:58:03 GMT 2009, Frédéric wrote:
On vendredi 16 janvier 2009, Zac Burns wrote:
Can I check to see if the current thread is the safe 'main' GUI thread?
Yes, using
threading.currentThread().getName()
The main thread is called 'MainThread'.
It may be called that now,
33 matches
Mail list logo