I don't have debuggin symbols installed, but I am consistently getting
a seg fault after calling the python slot connected to SIGNAL('PyObject
*') from a QWidget subclass. I am usually passing a python string with
the signal, but if I pass None instead, it doesn't crash. I have a
button group emitt
On 3/22/06, Jim Bublitz <[EMAIL PROTECTED]> wrote:
> python configure.py -lkparts -j4
yeah, no dice with that either
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
On 3/22/06, Jim Bublitz <[EMAIL PROTECTED]> wrote:
> In this case, I'd suspect that gcc 4.0 is the problem - early versions (before
> 4.0.3 ??) can't handle the large files PyKDE generates, although I would have
> expected problems before you got this far. Since you're compiling
> sipkpartspart0.
On Wednesday 22 March 2006 14:25, Andreas Pakulat wrote:
> On 22.03.06 12:55:25, Jim Bublitz wrote:
> > On Wednesday 22 March 2006 09:59, Benjamin Reed wrote:
> > In this case, I'd suspect that gcc 4.0 is the problem - early versions
> > (before 4.0.3 ??)
>
> IIRC I had used 4.0.1 when I reported t
On 22.03.06 12:55:25, Jim Bublitz wrote:
> On Wednesday 22 March 2006 09:59, Benjamin Reed wrote:
> In this case, I'd suspect that gcc 4.0 is the problem - early versions
> (before
> 4.0.3 ??)
IIRC I had used 4.0.1 when I reported this to work here on the list.
Back then you re-enabled automatic
On Wednesday 22 March 2006 09:59, Benjamin Reed wrote:
> I'm trying to package kdebindings 3.5.2 for fink (against qt/x11), and
> running into a compile error in pykde:
>
> ---(snip!)---
> g++-4.0 -c -Wno-deprecated-declarations -pipe -fPIC -Os -Wall -W
> -D__DARWIN_X11__ -DQT_NO_DEBUG -DQT_THREAD_
I got a reply from qt-interest regarding this. What is the state of
QStyle sub-classes in pyqt4? is there a reason that they are not
included?
Thanks. The qt-interest reply follows:
At 09:34 07.03.2006, you wrote:>How do I set the width of a QScrollBar in a QScrollArea. calling >scrollarea->verti
I'm trying to package kdebindings 3.5.2 for fink (against qt/x11), and
running into a compile error in pykde:
---(snip!)---
g++-4.0 -c -Wno-deprecated-declarations -pipe -fPIC -Os -Wall -W
-D__DARWIN_X11__ -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/Users/ranger/tmp/kdebindings/kdebindings-3.5.2-new/pyth
On Wednesday 22 March 2006 1:43 pm, Giovanni Bajo wrote:
> Hello,
>
> I have an API like this:
>
> class Foo
> {
> public:
> Foo(char *filename);
> Foo(char *buffer, int size);
> [...]
> };
>
> To make both construction forms work, I have wrapped the second constructor
> as a staticmeth
On Wednesday 22 March 2006 1:47 pm, Giovanni Bajo wrote:
> Phil Thompson <[EMAIL PROTECTED]> wrote:
> >> - I was thinking of defining a common utility function with %TypeCode,
>
> and
>
> >> then calling it for each method. How can I define C++ code which is
> >> executed after the method invokatio
On Wednesday 22 March 2006 06:28, Hans-Peter Jansen wrote:
> Am Mittwoch, 22. März 2006 14:19 schrieb Giovanni Bajo:
> > Jim Bublitz <[EMAIL PROTECTED]> wrote:
> > > Same as the following, except "%MappedType wchar_t" and other
> > > obvious changes.
> >
> > Many thanks Jim. For some reason, I had
On Wednesday 22 March 2006 02:56, Eric Jardim wrote:
> 2006/3/21, Eric Jardim <[EMAIL PROTECTED]>:
> > How do I embed Python script in C++?
>
> C'mon folks...
>
> How do I convert a "PyObject*" to a "QWidget*" returned from a function
> like "PyRun_String()"?
Or you can use sip.wrapinstance and si
2006/3/22, Giovanni Bajo <[EMAIL PROTECTED]>:
Eric Jardim <[EMAIL PROTECTED]> wrote:pyuic4 needs to generate the .ts file where the "Hello" string is placedwithin the "Foo" context. How do you plan to do that?
Take a look at this:
http://lists.kde.org/?l=pykde&m=110806555428004&w=2
I am not sure
Am Mittwoch, 22. März 2006 14:19 schrieb Giovanni Bajo:
> Jim Bublitz <[EMAIL PROTECTED]> wrote:
> > Same as the following, except "%MappedType wchar_t" and other
> > obvious changes.
>
> Many thanks Jim. For some reason, I had thought that %MappedType
> wouldn't work for pointers... never mind!
>
Phil Thompson <[EMAIL PROTECTED]> wrote:
>> Python supports conversion to/from wchar_t buffers using
>> PyUnicode_From/AsWideChar, but SIP does not support it. Could this be
added
>> automatically?
>
> This is similar to the size_t issue.
While I can understand the technical issues with size_t (w
Phil Thompson <[EMAIL PROTECTED]> wrote:
>> - I was thinking of defining a common utility function with %TypeCode,
and
>> then calling it for each method. How can I define C++ code which is
>> executed after the method invokation? I don't want to use %MethodCode
>> because I don't want to rewrite
Hello,
I have an API like this:
class Foo
{
public:
Foo(char *filename);
Foo(char *buffer, int size);
[...]
};
To make both construction forms work, I have wrapped the second constructor
as a staticmethod factory, using /Array/ and /ArraySize/ (this is because
overload resolution can
On Tuesday 21 March 2006 4:00 pm, Eric Gach wrote:
> Hi,
>
> There seems to be a problem with pyuic4 and generating the code when
> using QDockWidget. There's a setting that can be seen in the Qt Designer
> for QDockWidget that is called "docked". This isn't documented in the Qt
> documentation for
Jim Bublitz <[EMAIL PROTECTED]> wrote:
> Same as the following, except "%MappedType wchar_t" and other obvious
> changes.
Many thanks Jim. For some reason, I had thought that %MappedType wouldn't
work for pointers... never mind!
> if (!sipCpp)
> Py_INCREF (Py_None);
> return
Eric Jardim <[EMAIL PROTECTED]> wrote:
>> How do you plan to modify pyuic4 so to infer the context without a
preceding
>>
>> "self."? It's going to be non-trivial.
>
>
> There is no need to change pyuic4 to get the context. We just have to
query
> the Python stack to know in which class we are cal
On Wednesday 22 March 2006 10:56 am, Eric Jardim wrote:
> 2006/3/21, Eric Jardim <[EMAIL PROTECTED]>:
> > How do I embed Python script in C++?
>
> C'mon folks...
>
> How do I convert a "PyObject*" to a "QWidget*" returned from a function
> like "PyRun_String()"?
sipForceConvertToInstance() and rel
2006/3/21, Eric Jardim <[EMAIL PROTECTED]>:
How do I embed Python script in C++?
C'mon folks...
How do I convert a "PyObject*" to a "QWidget*" returned from a function like "PyRun_String()"?
Thanks,
--
Eric Jardim
___
PyKDE mailing listPyKDE@mats.
On 22.03.06 04:38:52, Daniele Varrazzo wrote:
> On 3/22/06, Phil Thompson <[EMAIL PROTECTED]> wrote:
> > On Tuesday 21 March 2006 10:32 pm, Daniele Varrazzo wrote:
> > > On a related topic, Edward Loper reported:
> > >
> > > Original Message
> > > Subject: Introspection of qt clas
On Monday 20 March 2006 10:00 pm, Peter J. Bismuti wrote:
> The documentation says to "delete" a QListViewItem and not use the obsolete
> method "removeItem". How is this done in PyQt?
See the PyQt QListViewItem documentation.
Phil
___
PyKDE mailing l
The documentation says to "delete" a QListViewItem and not use the obsolete
method "removeItem". How is this done in PyQt?
Thanks
___
PyKDE mailing listPyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
It appears that all classes in the Python "qt" module lie about what
module they come from:
>>> import qt
>>> qt.QUrl.__module__
'__main__'
As a result, programs that use introspection to learn about them can get
confused. In particular, if the following module is given to epydoc
[1], then i
Well, new to linux, new to KDE and new to pyQt. Had quite an easy port
from micros~1 ,
not much of a hassle indeed. So, here I am and the first thing to make
me scratch my head is
this:
The GUI below is supposed to grab a portion from the screen, display it
in the client area
adding a strin
Hi,
There seems to be a problem with pyuic4 and generating the code when
using QDockWidget. There's a setting that can be seen in the Qt Designer
for QDockWidget that is called "docked". This isn't documented in the Qt
documentation for QDockWidget, which is why it gave me so much trouble. :)
28 matches
Mail list logo