- Original Besked
Fra: Markus Feldmann feldmann_mar...@gmx.de
Til: pyqt@riverbankcomputing.com pyqt@riverbankcomputing.com
Emne: [PyQt] Re: how to show interactive Picture
Dato: 09/02/09 23:58
Mads Ipsen schrieb:
gt; Could is be that you try to paint before the window is shown?
- Original Besked
Fra: Markus Feldmann feldmann_mar...@gmx.de
Til: pyqt@riverbankcomputing.com pyqt@riverbankcomputing.com
Emne: [PyQt] Re: how to show interactive Picture
Dato: 09/02/09 23:58
Mads Ipsen schrieb:
gt; Could is be that you try to paint before the window is shown?
On Mon Feb 9 21:47:14 GMT 2009, Frédéric wrote:
Is there a port of PyQt4 for PocketPC ?
Nobody is using PyQt on WindowsCE?
This was briefly discussed last year, it seems:
http://www.riverbankcomputing.com/pipermail/pyqt/2008-May/019307.html
I don't know if anyone has managed to get it
Le 10/2/2009, David Boddie dbod...@trolltech.com a écrit:
Nobody is using PyQt on WindowsCE?
This was briefly discussed last year, it seems:
http://www.riverbankcomputing.com/pipermail/pyqt/2008-May/019307.html
Yes, I found this thread, and nother one...
I don't know if anyone has managed
Mads Ipsen schrieb:
- Original Besked
Fra: Markus Feldmann feldmann_mar...@gmx.de
Til: pyqt@riverbankcomputing.com pyqt@riverbankcomputing.com
Emne: [PyQt] Re: how to show interactive Picture
Dato: 09/02/09 23:58
Mads Ipsen schrieb:
gt; Could is be that you try to paint before
I got the follwing Messages:
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::save: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::end: Painter not active, aborted
I can't find the soultion. Please help.
Using QtDesigner and Eric4, I create a statusBar using the command Create
Status Bar on the popup menu, but I can't stylize the statusBar that I want
to show and the default statusBar is not funny/beautiful itself, I make a
code that imitates the look and fell I want to see... this is the code:
David Boddie schrieb:
On Tue Feb 10 15:02:13 GMT 2009, Markus Feldmann wrote:
I think my Problem is that i have to send an envent?
Yes, you need to make a paint event happen. You can do this by calling
the update() method on the widget you want to be updated.
As you wrote i changed some of
I see that the newer QT4.5 has the LGPL license. Does this mean that
pyQT will also have this license? Does using this license mean that
you can use the lib and write a closed source app without having to
pay for a license?
--
Douglas E Knapp
Why do we live?
I need to create a table with string and number fields. I'm having a
bit of problem getting this to work. What is the correct way to do
this?
It doesn't look like TableModel handles numbers so do I need to
subclass abstract table model et al?
Are there any handy examples of this
On Dienstag, 10. Februar 2009, Knapp wrote:
Why do we live?
not for searching the pyqt archives :-)
--
Wolfgang
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On 10.02.09 19:56:44, Knapp wrote:
I see that the newer QT4.5 has the LGPL license. Does this mean that
pyQT will also have this license? Does using this license mean that
you can use the lib and write a closed source app without having to
pay for a license?
Please read the archive, this has
I changed the class Qwidget -- QSrollArea and got the same Problem
as i have.
So i think that i can not paint in a scrollarea ???
###
import sys
from PyQt4 import QtCore, QtGui
import basicdrawing_rc
class
You don't need to worry about the abstract model just to get data into a
table. I believe it's simplest form is just creating a table item and
inserting it in the table.
For a string (using unicode):
item = QtGui.QTableWidgetItem( unicode(data))
table.setItem(rowCount, colCount, item )
For
On Tue, Feb 10, 2009 at 8:21 PM, Andreas Pakulat ap...@gmx.de wrote:
On 10.02.09 19:56:44, Knapp wrote:
I see that the newer QT4.5 has the LGPL license. Does this mean that
pyQT will also have this license? Does using this license mean that
you can use the lib and write a closed source app
On 2009-02-10 15:10, Knapp wrote:
On Tue, Feb 10, 2009 at 8:21 PM, Andreas Pakulatap...@gmx.de wrote:
On 10.02.09 19:56:44, Knapp wrote:
I see that the newer QT4.5 has the LGPL license. Does this mean that
pyQT will also have this license? Does using this license mean that
you can use the lib
On Wed, Feb 11, 2009 at 2:40 AM, Knapp magick.c...@gmail.com wrote:
pyQT is not?? and never will be but maybe someone named Phil is still
thinking about it?
Anyway answer like that are about as helpful and friendly as RTFM.
mputing.com/mailman/listinfo/pyqt
Phil is the person who made PyQt
I go it. :-)
I am not sure, but maybe i have to set a Widget in
the ScrollArea, and in this Widget i may paint?
Here is my Code:
##
mport sys
from PyQt4.QtGui import QMainWindow, QDockWidget, QPainter, QAction,
QScrollArea
On 10.02.09 22:10:05, Knapp wrote:
On Tue, Feb 10, 2009 at 8:21 PM, Andreas Pakulat ap...@gmx.de wrote:
On 10.02.09 19:56:44, Knapp wrote:
I see that the newer QT4.5 has the LGPL license. Does this mean that
pyQT will also have this license? Does using this license mean that
you can use
Knapp wrote:
On Tue, Feb 10, 2009 at 8:21 PM, Andreas Pakulat ap...@gmx.de wrote:
On 10.02.09 19:56:44, Knapp wrote:
I see that the newer QT4.5 has the LGPL license. Does this mean that
pyQT will also have this license? Does using this license mean that
you can use the lib and write a
Hi All,
i have an QScrollArea where i inserted a QLabel.
This QLabel includes an QImage.
I want to zoom/scale into this image.
How can i do this?
Regards Markus
Here is a PART of my Code:
###
class ScrollArea(QScrollArea):
def
I attempted to run
pythonw PyQt4/examples/tools/qtdemo/qtdemo.pyw
After installing the Windows binaries for PyQt 4.4.4-2, with 64-bit Python
2.6.1, on 64-bit Windows Vista Business, and received the following error
message:
Traceback (most recent call last):
File qtdemo.pyw, line 28,
On Tue, 10 Feb 2009 15:54:28 -0600, Dave Doty dd...@iastate.edu wrote:
I attempted to run
pythonw PyQt4/examples/tools/qtdemo/qtdemo.pyw
After installing the Windows binaries for PyQt 4.4.4-2, with 64-bit
Python
2.6.1, on 64-bit Windows Vista Business, and received the following error
Hi,
I have a Tree Widget where the user has the ability to add items at any
level. The problem is when they select an item there's no easy way to
deselect them. I need the ability to return the tree to an initial state
(where no item is currently selected).
There appear to be a couple of ways to
On Tuesday 10 February 2009 13:30:24 pm Robert Kern wrote:
pyKDE is ??? LGPL???
No, PyKDE is GPL.
http://sourceforge.net/projects/pykde
PyKDE4 is LGPL (per KDE request, more or less). The docs are (were?)
Creative Commons.
I'm not sure what PyKDE3 is - it's basically whatever I want it
Oh, btw what implications it has for your application/development to use
Qt or PyQt licensed under GPL or LGPL or commercial is something you
should discuss with a lawyer.
Andreas
Yes, all is clear now, thanks.
This bit about the lawyer always strikes me as funny. I am looking at
releasing
On Tue, Feb 10, 2009 at 4:19 PM, Phil Thompson
p...@riverbankcomputing.comwrote:
make[1]: Entering directory
`/cygdrive/c/Users/ddoty/Downloads/python/sip-4.7.9/siplib'
gcc -c -O2 -w -DUNICODE -DQT_LARGEFILE_SUPPORT -I.
-Ic:\programs\Python26\include -o siplib.o siplib.c
siplib.c:16:20:
On Tue, 10 Feb 2009 22:42:24 +0100, Markus Feldmann wrote:
I go it. :-)
:-)
I am not sure, but maybe i have to set a Widget in
the ScrollArea, and in this Widget i may paint?
That's the idea, yes.
Here is my Code:
[...]
class ScrollArea(QScrollArea):
def __init__(self,
On Tue Feb 10 18:15:52 GMT 2009, Markus Feldmann wrote:
To compare i post the example.
There are some commands in the example i didn't understand.
I do some notes in the Code !!!
import sys
from PyQt4 import QtCore, QtGui
import basicdrawing_rc
Note that you need to have this module to
On 10.02.09 22:49:57, Stef Mientki wrote:
Knapp wrote:
Comes down to if pyQT is LGPL then I write in my fav lang python, if
not then I go back and relearn C++ and face the brackets that I hoped
never to face again. :-)
No no, just join the wxPython group !
Hmm, personally if I have to
David Boddie schrieb:
Here, because you are using a QLabel to show the image, it should
automatically appear correctly in the QScrollArea.
(Aside: If you create your own custom widget (by subclassing QWidget), you
have to reimplement the sizeHint() method as well as the paintEvent() method
to
On Tue Feb 10 21:49:57 GMT 2009, Stef Mientki wrote:
On 10.02.09 19:56:44, Knapp wrote:
That is the best I can tell by all that but really someone could just
be straight and answer my question.
Are you in a hurry or something? Qt won't be LGPL until the final 4.5 release
so there's still
On Tuesday 10 February 2009 14:41:02 pm Knapp wrote:
Oh, btw what implications it has for your application/development
to use Qt or PyQt licensed under GPL or LGPL or commercial is
something you should discuss with a lawyer.
Andreas
Yes, all is clear now, thanks.
This bit about the
David Boddie schrieb:
import basicdrawing_rc
Note that you need to have this module to be able to show the image used
by the example. It is created by running pyrcc4 in the basicdrawing
directory like this:
pyrcc4 -o basicdrawing_rc.py basicdrawing.qrc
This causes all the resources
On Tue Feb 10 23:04:55 GMT 2009, Markus Feldmann wrote:
David Boddie schrieb:
Here, because you are using a QLabel to show the image, it should
automatically appear correctly in the QScrollArea.
(Aside: If you create your own custom widget (by subclassing QWidget),
you have to
On Wed, 11 Feb 2009 00:24:47 +0100, Markus Feldmann wrote:
Here's what might be causing the image not to appear. If, for some
reason, the basicdrawing_rc.py file was created without the image data,
this will fail, leaving you with a null pixmap.
I understand, but my Programm does not have
On Tue, 10 Feb 2009 22:45:51 +0100, Markus Feldmann wrote:
i have an QScrollArea where i inserted a QLabel.
This QLabel includes an QImage.
I want to zoom/scale into this image.
How can i do this?
Try one of these approaches:
1. Keep the original image and show a scaled copy in the label,
David Boddie schrieb:
It's not necessary to understand how to use resources initially, but you
will find them useful when you start wanting to run the program from within
different directories.
This is a really important thing, but maybe i can bypass this with some
python commands. :-)
As i
David Boddie schrieb:
On Tue, 10 Feb 2009 22:45:51 +0100, Markus Feldmann wrote:
i have an QScrollArea where i inserted a QLabel.
This QLabel includes an QImage.
I want to zoom/scale into this image.
How can i do this?
Try one of these approaches:
1. Keep the original image and show a
On 2/10/09 6:13 PM, Jim Bublitz jbubl...@nwinternet.com wrote:
I've never minded people using my software for free - even commercially.
I just hate it when they whine about software being free, but not on
terms where they can profit enormously from other people's work. It's
the whining, not the
On Tuesday 10 February 2009 19:44:12 pm Arthur Pemberton wrote:
And I empahisze with Jim and having to deal with whinners. They get
into every open source project and drain the lead developers of their
drive -- it's pretty unfortunate. I hope Jim does what is best for
him, as much as I would
On Tue, Feb 10, 2009 at 11:10 PM, Knapp magick.c...@gmail.com wrote:
Comes down to if pyQT is LGPL then I write in my fav lang python, if
not then I go back and relearn C++ and face the brackets that I hoped
never to face again. :-)
As said many times before, *nothing has been announced on
42 matches
Mail list logo