Hi,
I would like to use QPainter as QMutexLocker in a with-statement, but:
pixmap = Qt.QPixmap(200, 200)
with Qt.QPainter(pixmap) as painter:
... painter.drawLine(0, 0, 200, 200)
...
Traceback (most recent call last):
File stdin, line 1, in module
AttributeError: __exit__
Gerard
On 01/28/2011 12:22 PM, Phil Thompson wrote:
On Thu, 27 Jan 2011 16:28:48 +0100, Gerard Vermeulen gav...@gmail.com
wrote:
Hi,
The following works with sip-4.12 (python compiled in my home
directory):
Python 2.6.6 (r266:84292, Jan 8 2011, 16:35:06)
[GCC 4.4.4] on linux2
Type help
part of the sip file for QwtText is attached.
Best regards -- Gerard
// The SIP interface specification for:
// QwtText.
//
// Copyright (C) 2001-2010 Gerard Vermeulen
// Copyright (C) 2000 Mark Colclough
//
// This file is part of PyQwt.
//
// PyQwt is free software; you can redistribute
Phil,
when running the following code
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import PyQt4.Qt as Qt
class MyWidget(Qt.QWidget):
def __init__(self, parent=None):
super(Qt.QWidget, self).__init__(parent)
# __init__()
# class MyWidget
def bar(widget):
pass
Hi,
I have the following sip declaration (left some irrelevant
ConvertToSubclass stuff out):
class QwtPickerMachine
{
%TypeHeaderCode
#include qwt_picker_machine.h
%End // %TypeHeaderCode
public:
enum Command {
Begin,
Append,
Move,
End
}; // enum Command
Hi Phil,
the assignment helper is not generated when a class has a constructor
with only default arguments (see checkAssignmentHelper() in
sip-snapshot-4.10.3-710b71e6f0c6/transform.c).
Attached patch shows my workaround for a class with a constructor having
two default arguments by replacing
On Mon, 07 Sep 2009 09:08:27 +0100
Phil Thompson p...@riverbankcomputing.com wrote:
The current snapshots of PyQt4 and SIP should be considered release
candidates, so now would be a good time to test against them.
The only outstanding problem I am aware of is the build problems on
Snow
downto v4.7.3.
5. Qt v3.3.x.
6. Qt v4.5.x, v4.4.x, and v4.3.x.
7. Qwt v5.2.x, v5.1.x, and v5.0.x.
8. Recent versions of NumPy, numarray, and/or Numeric.
Enjoy -- Gerard Vermeulen
___
PyQt mailing listPyQt@riverbankcomputing.com
http
Phil,
PyQwt-5.2.0 has a standard widget plugin for puic4, so you can
remove the non-standard one (PyQt4/uic/widget-plugins/qwt.py) from
PyQt4.
Regards -- Gerard
___
PyQt mailing listPyQt@riverbankcomputing.com
Phil,
I have the following SIP specification :
class QwtScaleTransformation
{
%TypeHeaderCode
#include qwt_scale_map.h
%End // %TypeHeaderCode
public:
enum Type {
Linear,
Log10,
Other
}; // enum Type
QwtScaleTransformation(QwtScaleTransformation::Type);
Hi Phil,
I am building a PyQwt package with the MS Visual C++ 2008 Express
Edition on Windows, but I have a problem with the Qwt plugin for
the designer that is delivered with PyQt-Py2.6-gpl-4.5.1-1.exe.
In the process I have built Qt-4.5.1 with MSVC-2008 using configure.exe
without any options.
On Fri, 05 Jun 2009 13:45:42 +0100
Phil Thompson p...@riverbankcomputing.com wrote:
PyQt v4.5 and SIP v4.8 have been released and are available from the
usual download pages.
Highlights of the new PyQt release include support for Python v3 and
Qt v4.5.1, and a new Pythonic API for
On Tue, 26 May 2009 09:21:38 +0100
Phil Thompson p...@riverbankcomputing.com wrote:
I plan to release new versions of SIP, PyQt3, PyQt4 and QScintilla at
the end of the week based on the current snapshots.
If there is something you think is missing or broken then now would
be a good time to
On Sat, 01 Nov 2008 17:29:59 +
Phil Thompson [EMAIL PROTECTED] wrote:
There will be new releases of PyQt, SIP and QScintilla in the next
few days based on current snapshots.
Let me know if there is anything you are expecting that doesn't seem
to be there.
Phil
The QImage constructor
Hi,
I ran into an infinite recursion bug in SIP generated code.
The bug is present in the latest snapshot but also in the 4.7.7
release.
After enabling the sip tracing flags, I get:
...
RGBA sipStandardColor::operator()(double,double,double) const
(this=0x0158bef0) RGBA
Hi,
I have .sip files like :
class TripleField
{
%TypeHeaderCode
#include qwt3d_types.h
#include sip_Qwt3DTriple.h
using namespace Qwt3D;
%End // %TypeHeaderCode
public:
TripleField();
TripleField(size_type);
TripleField(size_type, const Triple );
TripleField(const TripleField
Phil,
I get the error below after plugging the upgrade from
sip-4.7.8-snapshot-20080920 to sip-4.7.8-snapshot-20081007 in my build
scripts:
make[1]: Entering directory
`/home/packer/CVS/PyQwt/BUILD/PyQt-x11-gpl-3.17.4/qt' g++ -c -pipe
-fno-exceptions -fPIC -g -Wall -W -D_REENTRANT
-- Gerard Vermeulen
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Fri, 30 May 2008 23:41:57 +0100
Phil Thompson [EMAIL PROTECTED] wrote:
[ snip ]
But what can I do about this? It'd be nice to avoid some kind of
runtime RTTI list that the submodule appends to on startup, but if
that's what I have to do, that's alright ;) Just thought I'd check
here
On Tue, 27 May 2008 23:59:44 +0200
Laurent Léonard [EMAIL PROTECTED] wrote:
Le mercredi 21 mai 2008 à 01:11, Phil Thompson a écrit :
The PyQt GPL Windows installer has been updated to the latest
version. It still includes Qt but no longer includes any 3rd party
packages (eric, PyQwt) as
Phil,
attached you'll find a few patches that I needed to apply to build
PyQwt against PyQt-Py2.5-gpl-4.4.2-1.exe.
Gerard
sipconfig.py.diff
Description: Binary data
pyqtconfig.py.gv
Description: Binary data
___
PyQt mailing list
On Sat, 12 Apr 2008 02:16:58 -0300
Laura X [EMAIL PROTECTED] wrote:
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
On Wed, 5 Dec 2007 22:01:52 +
Phil Thompson [EMAIL PROTECTED] wrote:
PyQt v4.3.3 and SIP v4.7.2 have been released and are available from
the usual places. These are mainly bug fix releases.
The Windows binary installer has been updated with Qt v4.3.3, eric
v4.0.3 and the latest version
formats in qt4examples/Grab.py.
PyQwt3D-0.1.5 supports:
1. Python-2.5, or -2.4.
2. PyQt-4.3, -4.2, -4.1, or -3.17.
3. SIP-4.7, -4.6, or -4.5.
4. Qt-4.3, -4.2, Qt-3.3, or -3.2.
5. QwtPlot3D-0.2.7.
Enjoy -- Gerard Vermeulen
___
PyQt mailing listPyQt
On 01 Aug 2007 17:12:37 +0100
[EMAIL PROTECTED] wrote:
unfortunately, that does not change anything.
Which python are you using?
I am using the Python-2.5 installer for Mac from www.python.org
and everything works without any special options (SIP-4.7,
PyQt-4.3 and PyQt-3.17.3)
Gerard
. PyQt-3.17.x.
3 SIP-4.7.x, or -4.6.x.
4. Qt-3.3.x, or -3.2.x.
Enjoy -- Gerard Vermeulen
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Wed, 25 Jul 2007 12:03:00 -0700
Peter Shinners [EMAIL PROTECTED] wrote:
I have a copy of the Pyqt code. It is easy to build, but I cannot
figure how to do an incremental rebuild after changing one file?
The configure.py removes all the created .h and .cpp files. But
touching the original
-2.5, or -2.4.
2. PyQt-3.17.
3. PyQt-4.3, or PyQt-4.2.
3 SIP-4.7, or SIP-4.6.
4. Qt-3.3, or Qt-3.2.
5. Qt-4.3, or Qt-4.2.
6. Recent versions of NumPy, numarray, and/or Numeric.
Enjoy -- Gerard Vermeulen
___
PyQt mailing listPyQt
$python -E
Python 2.5.1 (r251:54863, May 29 2007, 07:42:28)
[GCC 4.1.2 (Gentoo 4.1.2)] on linux2
Type help, copyright, credits or license for more information.
import PyQt4.Qt as Qt
print Qt.QCoreApplication.instance()
None
print Qt.qApp
PyQt4.QtGui.QApplication object at 0x2b78540079e0
On Tue, 24 Jul 2007 06:51:08 +0200
Gerard Vermeulen [EMAIL PROTECTED] wrote:
import PyQt4.Qt as Qt
print Qt.QCoreApplication.instance()
None
print Qt.qApp
PyQt4.QtGui.QApplication object at 0x2b78540079e0
This must be a SIP problem, because qApp also returns an
QApplication instance
On Tue, 10 Jul 2007 13:30:23 +0200
Giovanni Bajo [EMAIL PROTECTED] wrote:
On 7/10/2007 5:59 AM, Gerard Vermeulen wrote:
$ echo yes | python configure.py -a
Determining the layout of your Qt installation...
This is the GPL version of PyQt 4-snapshot-20070709 (licensed under
the GNU
The -a option does not set the default installation path for the
QScintilla API files:
$ echo yes | python configure.py -a
Determining the layout of your Qt installation...
This is the GPL version of PyQt 4-snapshot-20070709 (licensed under the
GNU General Public License) for Python 2.5.1 on
On Tue, 3 Jul 2007 09:10:05 +0100
Phil Thompson [EMAIL PROTECTED] wrote:
Whether you include a release or a snapshot is entirely up to you.
http://pyqwt.sourceforge.net/snapshot/PyQwt-5.0.1a.tar.gz
is a snapshot. I will only do some minor packaging tweaks
before releasing.
I need to be
On Mon, 25 Jun 2007 19:01:29 +0100
Phil Thompson [EMAIL PROTECTED] wrote:
...but how big are PyQwt and Qwt? I don't have a problem with
including them if they aren't huge.
I have an NSIS exe installer of almost 1.5 Mb including Qwt
documentation which uncompresses to 9 Mb (the doc is
On Mon, 25 Jun 2007 17:21:56 +0100
Phil Thompson [EMAIL PROTECTED] wrote:
The package isn't extensible. If you want to add additional Qt
based modules (or additional database drivers or image formats)
then you should build things yourself.
Does it mean that it is impossible to
Hi,
PyQt-x11-gpl-3-snapshot-20070605 fails to build with
sip-snapshot-20070612 because of missing header files:
make[1]: Entering directory
`/home/packer/CVS/PyQwt/BUILD/PyQt-x11-gpl-3-snapshot-20070605/qt' g++
-c -pipe -fno-exceptions -fPIC -g -Wall -W -D_REENTRANT
-DQT_THREAD_SUPPORT -I.
, or -2.3.x
2. PyQt-4.2 and -4.1.x, or -3.17.x
3. SIP-4.6, or -4.5.x
4. Qt-4.2.x, Qt-4.1.x, Qt-3.3.x, or -3.2.x
5. QwtPlot3D-0.2.6
Enjoy -- Gerard Vermeulen
___
PyQt mailing list[EMAIL PROTECTED]
http://www.riverbankcomputing.com/mailman/listinfo
On Sat, 14 Apr 2007 10:19:03 -0700
Tony Cappellini [EMAIL PROTECTED] wrote:
This is probably the most well-known readline for WIndows
http://ipython.scipy.org/moin/PyReadline/Intro
To: Gerard Vermeulen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content
On Sat, 14 Apr 2007 03:01:56 +0200
Giovanni Bajo [EMAIL PROTECTED] wrote:
Google will find for you some interesting SF patches with Windows
readline implementation for Python, that have been rejected because
of side-cases, and IMHO missing the point that an optional incomplete
buggy readline
On Fri, 13 Apr 2007 07:24:10 +0100
Mark Summerfield [EMAIL PROTECTED] wrote:
On Thu 12-Apr-07, Phil Thompson wrote:
On Thursday 12 April 2007 5:58 pm, Giovanni Bajo wrote:
On 4/12/2007 6:48 PM, Kelie wrote:
Add the Qt binary directory to your PATH.
thanks Giovanni. that fixed
On Fri, 13 Apr 2007 10:39:47 +0200
Giovanni Bajo [EMAIL PROTECTED] wrote:
On 13/04/2007 8.24, Mark Summerfield wrote:
BTW, PyQt's binary install could verify this automatically and *at
least* display a warning. Phil?
I suppose so - but it's really up to the Qt installer to get this
On Fri, 13 Apr 2007 21:25:02 +0530
Shriramana Sharma [EMAIL PROTECTED] wrote:
Phil Thompson wrote:
It's a fatal error and can't be changed.
Why not? If I do a mistake at the Python level, I always get the
interpreter back. Is it because the error occurs at the C++ level of
Qt? Can't
On Fri, 13 Apr 2007 21:36:40 +0200
Giovanni Bajo [EMAIL PROTECTED] wrote:
On 13/04/2007 19.45, Matt Newell wrote:
On Friday 13 April 2007 09:43, Gerard Vermeulen wrote:
If you are using a version of PyQt before 4.2, you cannot really
use PyQt widgets like this because they do not respond
There is now also an PyQwt-5.0.0 Windows installer for
PyQt-gpl-4.2-Py2.5-Qt4.2.3.exe
Gerard
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
), or SIP-4.5.x.
4. Qt-3.3.x, or -3.2.x.
5. Qt-4.2.x, or -4.1.x.
6. Recent versions of NumPy, numarray, and/or Numeric.
Enjoy -- Gerard Vermeulen
A
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Sun, 21 Jan 2007 11:20:49 +0100
N. Volbers [EMAIL PROTECTED] wrote:
Hello everyone,
I am currently thinking about re-writing some pygtk code for pyqt. It is
basically a widget factory, i.e. it will (try to) create appropriate
input widgets for attributes of a class. The output
On Mon, 15 Jan 2007 07:51:28 -0800
Patrick Stinson [EMAIL PROTECTED] wrote:
I know I've seen info here and there about using python widgets in C++ apps,
but I need a recap.
So I've already got this great C++ app with an embedded interpreter for
scripting special app functions. What do I
Hi,
moc does not expand typedefs in signals but sip does.
Therefore I needed a hack to wrap the following header code:
--- start C++ header code ---
typedef QPointF QwtDoublePoint;
class QWT_EXPORT QwtPlotPicker: public QwtPicker
{
Q_OBJECT
...
signals:
// Here, moc produces code
-2.5, -2.4 or -2.3.
2. PyQt-3.17, and -3.16.
3 SIP-4.5, and -4.4.x.
4. Qt-3.3.x or -3.2.x.
Enjoy -- Gerard Vermeulen
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
Hi Detlev,
I have to apply this patch to generate valid eric3* shell scripts on Mac OSX.
--- eric-snapshot-20061029//install.py.gv 2006-11-01 12:54:26.0 +0
100
+++ eric-snapshot-20061029//install.py 2006-11-01 12:55:38.0 +0100
@@ -126,8 +126,8 @@
wrapper = \
-2.5.x,-2.4.x, or -2.3.
2. PyQt-4.0.x, or -3.16.x (or the future PyQt-4.1 or PyQt-3.17)
3. SIP-4.4.x (or the future SIP-4.5)
4. Qt-4.2.x, Qt-4.1.x, Qt-3.3.x, or -3.2.x.
5. QwtPlot3D-0.2.6.
Have fun -- Gerard Vermeulen
___
PyKDE mailing listPyKDE
On Tue, 17 Oct 2006 15:25:49 -0800
Patrick Stinson [EMAIL PROTECTED] wrote:
X11? huh?
mework/Headers -F/usr/local/Trolltech/Qt-4.2.0-opensource-shared/lib
-o sipQtGuipart0.o
sipQtGuipart0.cpp
sip/QtGui/qapplication.sip: In function 'sipWrapperType*
sipSubClass_QApplication(void**)':
On Tue, 17 Oct 2006 18:30:22 +0200
Martin Wiechert [EMAIL PROTECTED] wrote:
Hi list,
While playing with PyQwt5 I stumbled accross QwtPlotSpectrogram which appears
to be the official replacement for the engineered ImagePlotDemo.py which I
think not only I am using to display data matrices.
)
- the SpectrogramDemo.py example
Note: there are differences in the API of PyQwt5-20060521 and PyQwt5-20061017
due to changes in the underlying Qwt library.
Enjoy -- Gerard Vermeulen
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de
On Sun, 17 Sep 2006 16:04:41 +0200
Torsten Marek [EMAIL PROTECTED] wrote:
Gerard Vermeulen schrieb:
Phil,
The attached PyQt4.pyqwt.patch (a bit hardwired, but IMO not worth a more
general
solution) makes it possible to use the Qwt5 designer plugin with pyuic4
without
editing
library and is compatible with PyQt-3.16, PyQt4-4.0 and SIP-4.4.x.
PyQwt-4.2.1 for Qt-3 and PyQwt5-20060521 for Qt-3 *and* for Qt-4 can
coexist within the same Python interpreter.
Note: the API of PyQwt-4.2.1 and PyQwt5 are really different.
Have fun -- Gerard Vermeulen
On Fri, 19 May 2006 17:02:27 +0100
Phil Thompson [EMAIL PROTECTED] wrote:
On Friday 19 May 2006 4:08 pm, Gudjon I. Gudjonsson wrote:
Hi
I was trying to compile PyQwt with the new snapshots and got the following
error that I don't understand
/usr/bin/sip -t WS_X11 -t Qt_3_3_6 -x -x
are very different. There is
also a snapshot (http://pyqwt.sourceforge.net/snapshot/PyQwt-4.2.1.tar.gz)
which works with numpy, Qt3 and SIP-4.4.x (but no Qt4).
Gerard
Regards,
Martin.
On Thursday 11 May 2006 21:53, Gerard Vermeulen wrote:
On Fri, 12 May 2006 03:06:15 +0800
imcs ee [EMAIL
On Fri, 12 May 2006 03:06:15 +0800
imcs ee [EMAIL PROTECTED] wrote:
+1 for pyqt4.
and for another question. does any body has some informaiton of pyqwt.
when will it have a pyqt4' version?
http://pyqwt.sourceforge.net/snapshot/PyQwt-20060419.tar.gz works with
SIP-4.4.x, Qt4.x and Qt3.x. It
On Mon, 8 May 2006 17:08:11 -0500
Kyzivat, Keith [EMAIL PROTECTED] wrote:
[ .. ]
Now, once installed, when I execute a python script that imports from the
PyQt module, it bitches about not finding the Microsoft visual c runtime
library (msvcr80.dll)
Anyone have any ideas?
Did you
On Tue, 28 Mar 2006 11:35:21 +0200
[EMAIL PROTECTED] wrote:
Hello all
thanks for that nice mailling-list ; and also pyqt .
but i have a serious problem with pyqt.
the problem is that i can't (or i don't know how to)
publish my applications written using pyqt .
as you know every pyqt
Phil,
the most recent PyQt4 pyqtconfig.py defines QtAssistantModuleMakefile before
QtNetworkModuleMakefile. This leads to this traceback:
Traceback (most recent call last):
File configure.py, line 901, in ?
main()
File configure.py, line 869, in main
configuration =
Phil,
this program:
#!/usr/bin/env python
import sys
import PyQt4.Qt as Qt
class MyMainWindow(Qt.QMainWindow):
def __init__(self):
print type(Qt.Qt.WA_QuitOnClose)
# this type must be an alias for a WFlags, isn't it??
Qt.QMainWindow.__init__(self, None,
On Thu, 9 Mar 2006 12:19:28 +
Phil Thompson [EMAIL PROTECTED] wrote:
On Thursday 09 March 2006 12:10 pm, Gerard Vermeulen wrote:
On Thu, 9 Mar 2006 10:41:39 +
Phil Thompson [EMAIL PROTECTED] wrote:
To run them side by side you must install PyQt3, SIP and PyQt4 snapshots
On Thu, 9 Mar 2006 12:19:28 +
Phil Thompson [EMAIL PROTECTED] wrote:
On Thursday 09 March 2006 12:10 pm, Gerard Vermeulen wrote:
On Thu, 9 Mar 2006 10:41:39 +
Phil Thompson [EMAIL PROTECTED] wrote:
To run them side by side you must install PyQt3, SIP and PyQt4 snapshots
On Fri, 10 Mar 2006 08:44:21 -0900
Patrick Stinson [EMAIL PROTECTED] wrote:
I'm seeing a lot of pyqt4 users out there, and considering pyqt is more of a
bleeding-edge project, I suppose I'm not suprised. How many of us are using
qt3 and how many of us have (moved, started moving) to qt4? I'll
On Sun, 05 Mar 2006 14:41:10 +0100
V. Armando Sole [EMAIL PROTECTED] wrote:
Hi!
In order to be able to use the same code with PyQt3 and PyQt4, I had
written a small Qt4.py wrapper to simplify simple cases.
from PyQt4.QtCore import *
from PyQt4.QtGui import *
There are two namespaces
Phil,
I have abstract classes with %ConvertToSubClassCode which SIP-20060304 does not
handle. The following patch seems to work:
$ gendiff sip-snapshot-20060304 .sub
--- sip-snapshot-20060304/sipgen/gencode.c.sub 2006-03-05 17:02:38.0
+0100
+++ sip-snapshot-20060304/sipgen/gencode.c
Phil, the following header works with SIP-4.3.2, but not with the recent
SIP snapshots:
class A
{
public:
A() {}
virtual ~A() {}
protected:
static int bar() { return 3; }
};
class B: public A
{
public:
B(): A() {}
virtual ~B() {}
private:
static int bar(int oops) { return
Phil,
attached you'll find another tar.gz which demonstrates the difficulties
that SIP snapshots have with protected static member functions.
Plain
./configure.py
produces source code which does not compile.
If you give ./configure.py any option it will patch the output of SIP
so that it
Hi Phil,
SIP-4.3 (snapshot-20060304) has still a problem with protected static member
functions in the sense that it does not generate all include statements in
the C++ source files (and maybe a deeper problem -- see end of mail).
The problem occurs with the following hierarchy:
#ifndef S_H
On Fri, 3 Mar 2006 08:57:50 +
Phil Thompson [EMAIL PROTECTED] wrote:
On Thursday 02 March 2006 11:31 am, Giovanni Bajo wrote:
Hello,
For the past few months, I have been using a statically-compiled version of
PyQt. Statically here means that it's still an external module (.pyd) but
On Thu, 2 Mar 2006 12:42:42 +0100
Sundance [EMAIL PROTECTED] wrote:
On Thu, Mar 02, 2006 at 10:41:45AM +, Phil Thompson wrote:
A C++ namespace doesn't have an implementation, it just contributes to
name mangling. In Python they have to be implemented by something so
there is no
On Thu, 2 Mar 2006 15:26:50 +0100
Gerard Vermeulen [EMAIL PROTECTED] wrote:
I have been wondering for some time if it wouldn't be better to merge QtCore
and QtGui into one single module. This resolves the problem of the Qt
namespace
clashes. Eventually there could be a QtCore module
On Tue, 28 Feb 2006 10:18:31 -0600
Nigel Stewart [EMAIL PROTECTED] wrote:
It could be argued that SIP is part of a broader toolchain
What does this have to do with SIP again? I don't remember GCC not
generating the object files if the source code is not changed.
A compiler
of PyQwt3D is http://pyqwt.sourceforge.net.
PyQwt3D-0.1.1 requires:
1. Python-2.4.x or -2.3.
2. PyQt-3.15.x or -3.14.x.
3. SIP-4.3.x or -4.2.1.
4. Qt-3.3.x, -3.2.x, or -3.1.x.
5. QwtPlot3D-0.2.6.
Have fun -- Gerard Vermeulen
___
PyKDE mailing list
On Wed, 15 Feb 2006 12:32:25 +
Phil Thompson [EMAIL PROTECTED] wrote:
Sounds like you haven't rebuilt everything with the latest SIP.
Hi Phil,
This was sitting in my draft box. I wanted to do more checking, but
I have run into the same errors as Guest007 with my development version
of
- Coin-2.4.4 or -2.4.3
- SoQt-1.3.0 or -1.2.0
IVuPy is licensed under the terms of the GPL. Contact me, if the GPL is
an obstacle for you.
http://ivupy.sourceforge.net is the home page of IVuPy.
Have fun -- Gerard Vermeulen
___
PyKDE mailing list
Please, read my mail again. You are trying to do something which you
cannot do without a cast in C++, because QWidget::palette() returns
'const QPalette'. Python does not know about constness, and therefore
PyQt hands you a rope to hang yourself.
The road to independent palettes reads:
On Tue, 7 Feb 2006 14:11:46 -0900
Patrick Stinson [EMAIL PROTECTED] wrote:
I relaize that this is a question for qt-interest, but I'm getting a slow
response.
What is the preferred method for setting the background color of a widget in
qt4? I'm using palette().setColor(QPalette.Window,
On Sat, 28 Jan 2006 11:57:00 +
Phil Thompson [EMAIL PROTECTED] wrote:
On Saturday 28 January 2006 11:29 am, Giovanni Bajo wrote:
Phil Thompson [EMAIL PROTECTED] wrote:
The QtCore.signature() decorator takes a single argument which is,
in effect, the C++ signature of the method which
On Sat, 28 Jan 2006 17:59:56 +0100
Andreas Pakulat [EMAIL PROTECTED] wrote:
[ .. ]
I mostly dislike the packing scheme of PyQt4, but I see where it's coming
from, and as long as I'm allowed to use the from QtCore import * without
polluting the global namespace, it's still good. Adding
On Sun, 29 Jan 2006 03:18:35 +0100
Giovanni Bajo [EMAIL PROTECTED] wrote:
Gerard Vermeulen [EMAIL PROTECTED] wrote:
from PyQt4.QtCore import *
from PyQt4.QtCore import signature as pyqtSignature
import signature from signature
Not a solution, you still have signature in the global
PyQt4-gpl-snapshot-20060109 does not build. I added an extra print
statement to configure.py to see what is going on:
...
Generating the C++ source for the QtCore module...
/home/packer/usr/bin/sip -x VendorID -t WS_X11 -j 2 -r -c QtCore -b
QtCore/QtCore.sbf -I sip sip/QtCore/QtCoremod.sip
(1) The following example shows two widgets: one with a working box layout and
one with a broken box layout, while the code is practically identical.
#!/usr/bin/env python
# Demonstrates that PyQt4 breaks QVBoxLayout when it is the QLayout of a
# QWidget which is returned from a function.
(1) A typo:
--- sip-snapshot-20051219/sipconfig.py.gv 2005-12-20 07:40:52.0
+0100
+++ sip-snapshot-20051219/sipconfig.py 2005-12-20 08:04:31.0 +0100
@@ -564,7 +564,7 @@
if self.config.qt_version = 0x04:
# This is really just a help for
On Mon, 21 Nov 2005 10:02:09 +0100
Gudjon I. Gudjonsson [EMAIL PROTECTED] wrote:
Hi
I do have sip, version 4.3.2 installed on my computer but when trying to
compile pyqwt it complained about a lack of sipconfig.py. I downloaded the
newest version from riverbank but I could not find it in
SIP does not allow declarations like
virtual void f(const AnyType* const);
Dropping the second const works with g++, but MSVC.NET 2003 issues a warning.
Worse: the Python version of the virtual function in a Python derived
subclass gets never called.
I work around this problem by making
On Fri, 21 Oct 2005 08:28:30 -0700 (PDT)
Tony Willis [EMAIL PROTECTED] wrote:
Date: Fri, 21 Oct 2005 11:35:55 +0200
From: Giovanni Bajo [EMAIL PROTECTED]
Subject: Re: [PyKDE] QString in PyQt4 - Request for Comments
To: Phil Thompson [EMAIL PROTECTED]
Cc: pykde@mats.imk.fraunhofer.de
On Wed, 19 Oct 2005 09:56:27 +0100
Phil Thompson [EMAIL PROTECTED] wrote:
As I've said, I have made that selling point many times - mainly as a sop to
C++ programmers and avoid religious my-language-is-better-than-yours
arguments. However, I don't know of anybody who has actually done it.
On Tue, 18 Oct 2005 18:24:08 +0100
Phil Thompson [EMAIL PROTECTED] wrote:
I'm wondering whether QString should be dropped in PyQt4 in order to make it
more Pythonic.
At the moment Python strings and unicode strings are automatically converted
to QStrings when passed as arguments - so
On Tue, 11 Oct 2005 15:31:25 +0200
Giovanni Bajo [EMAIL PROTECTED] wrote:
Hello,
SIP uses sipconfig as build system. The documentation hints something about
integration with distutils, but it doesn't go into details. Given the amount
of development that it is going on with distutils
On Sun, 7 Aug 2005 16:48:01 +0100
Phil Thompson [EMAIL PROTECTED] wrote:
On Friday 29 July 2005 6:45 am, Gerard Vermeulen wrote:
I like to see SIP support (in a class Foo) for slots like:
__radd__
__rsub__
__rmul__
__rdiv__
__rtruediv__
__rfloordiv__
__rmod__
__rdivmod__
(1) (public) member data of class Foo does not show up in dir(Foo).
This trips up tools like PyChecker and the standard library module
inspect.py
(2) documentation bug: this concerns virtual member functions which
have different C++ signatures in the inheritance tree of a class.
On Tue, 19 Jul 2005 11:33:58 -0500
Nigel Stewart [EMAIL PROTECTED] wrote:
We're interesting in using the HDF5
(Hierarchical Data Format 5) libraries
with our C++/Python/PyQt based applications.
There are some hand-coded Python bindings,
by the Swedish Meteorological and Hydrological
Here is an example where the sip specification matches exactly the corresponding
header files:
-- start header file --
#ifndef V_H
#define V_H
class A
{
public:
A();
virtual ~A();
virtual int getTypeId() = 0;
};
class B: public A // abstract by derivation
{
public:
B();
Phil
(1 ) sip.h contains the lines
#if !defined(ANY)
#define ANY void
#endif
and as far as I can see, ANY isn't used anywhere by SIP or its generated code.
However, it pollutes the global namespace with nasty side effects, eg
enum { ANY = 0 };
is preprocessed to
enum { void = 0 };
(2)
On Sat, 18 Jun 2005 19:52:20 +0400
Denis S. Otkidach [EMAIL PROTECTED] wrote:
I use datetime C API in extension module generated with SIP. But SIP
break the code into several .cpp files compiled separately and
PyDateTimeAPI used by all macros constituting public interface is
declared static.
On 14 Jun 2005 11:15:47 -0300
Jorge Godoy [EMAIL PROTECTED] wrote:
Truls A. Tangstad [EMAIL PROTECTED] writes:
So it's possible to create a single RPM usable on
Fedora/SuSE/Mandrake?
Very dangerous. I would never use the same RPM for different versions
of the same distribution. Well,
On Thu, 9 Jun 2005 08:06:44 +0200
Petr Šimon [EMAIL PROTECTED] wrote:
Hello,
I am posting this again, not sure whether it got to the list.
I have an application running with no problems on linux. On windows, however,
input fields (QTextInput, QLineInput) don't accept IME input (chinese). I
1 - 100 of 162 matches
Mail list logo