()
---
Output is This is my number 1., while I had expected This is my number
80..
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right
On Saturday 04 November 2006 21:38, Phil Thompson wrote:
On Saturday 04 November 2006 7:47 pm, Simon Edwards wrote:
This would be very useful for PyKDE and KDE 4. Phil, what do you think?
Yuck. So, in the hypothetical case where a binary incompatibility is
introduced you then go through all
On Sunday 05 November 2006 00:29, Phil Thompson wrote:
On Saturday 04 November 2006 10:08 pm, Simon Edwards wrote:
sip.so. Point is, once a SIP wrapper for a custom C++ class is compiled it
then depends on that particular version of sip.
No it doesn't.
Are you trying to tell me that if I
to the
KDE core developers and anyone else who will listen. :-)
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice
On Monday 06 November 2006 08:18, Andreas Pakulat wrote:
On 05.11.06 19:20:00, Simon Edwards wrote:
I don't think that is quite the case. The standard approach that
distributions
use for this kind of problem is to make it possible to install the old
version along side the new one
this message on to the kde-core-devel list, the
Technical Working Group and the broader KDE community in general.
Feedback is appreciated.
(Jim, you might want to read the Platform and Versioning sections again).
cheers,
Simon Edwards
On Wednesday 15 November 2006 21:12, Simon Edwards wrote:
Background
~~
The Python bindings consist of a couple of parts. The binding tool SIP which
is used to help generate the binding C++ code, PyQt, Python/Qt bindings
which
use SIP. Both are produced by Phil Thompson
On Friday 24 November 2006 19:04, Phil Thompson wrote:
On Friday 24 November 2006 5:37 pm, Simon Edwards wrote:
On Wednesday 15 November 2006 21:12, Simon Edwards wrote:
Background
~~
The Python bindings consist of a couple of parts. The binding tool SIP
which is used
. It is a fairly short and straight
forward document:
http://www.kde.org/whatiskde/kdefreeqtfoundation.php
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice
).
As for the Python language itself, it maintains compatibility between releases
in 99.9% of cases. This is true except for the up coming Python 3000
release/series, due sometime in 2008. This (very) major release will clean up
the language and break source level compatibility.
cheers,
--
Simon Edwards
for Python 2.6 has an item distutils replacement (requires a
PEP), but I don't know what they are referring to.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made
be using Qt 4 now,
and not Qt 3. PyQt4 has been out and stable for quite some time now.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice
on an initial
version/port).
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyKDE mailing list
?
If I remove the QDBusQtMainLoop(set_as_default=True) line, it works just
fine. The assertion also happens if app.exec_() and get the bus object from
a QTimer event.
Here is some code which works for me. You'll have to strip it down
yourself though. I'm lazy like that. ;-)
cheers,
--
Simon
/pykde4/ . Be sure to read the INSTALL and
README files for more information. Thanks go to Jim Bublitz who has done
the real heavy lifting here, and also to Phil Thompson who developes SIP
and PyQt4 which PyKDE4 is built on top of.
http://www.kdedevelopers.org/node/2968
--
Simon Edwards
to debug bindings for those packages AND producing test
code/examples or (at best) a tutorial. Docs I can get for free from the h
files.
True, if someone is interested in an API and can help out, then it can
be given high priority.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools
.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt mailing listPyQt
Hi,
Detlev Offenbach wrote:
On Mittwoch, 7. November 2007, Simon Edwards wrote:
Detlev Offenbach wrote:
I would like to inform about the availability of a new eric 4.1 snapshot.
It fixes a bunch of bugs and has these new functions.
I've got the snapshot installed. Here's a couple of comments
()
---
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt mailing listPyQt@riverbankcomputing.com
http
see the bytesWritten signal either.
Create a pair of QFile objects to read/write from/to a pipe:
If you google on Qt and pipes then you should be able to find something.
I'm fairly sure that it is a (known) bug in Qt.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog
in the Editor section
should be 0.
Ok. That does turn off the automatic popup, but now Ctnl+Space gives an
error message about ...no autocompletion source set.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com
Detlev Offenbach wrote:
On Donnerstag, 8. November 2007, Simon Edwards wrote:
Detlev Offenbach wrote:
* The autocomplete window always pops up regardless of how I configure
it. I want it to be available but only to appear when I press
Ctnl+Space. (I see that you've improved the popup too
on PyQt 4.3 + Qt 4.3.2, and kde's qt-copy (pre Qt 4.4-ish) with
4.3-snapshot-20070905. Some of the methods get called (I've left the
debug in), but nothing is displayed.
thanks,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http
Andreas Pakulat wrote:
On 25.11.07 21:17:12, Simon Edwards wrote:
I'm having a hard time getting a QTreeView widget to work with my own
model. I've tried translating the Simple Tree Model Example from the Qt
docs, but it still doesn't work. Does anyone have working example code
in the menubar with the Oxygen
style. Room is made in the menubar for the text though. (Try
File___) I changed the style to plastique and the menubar *was*
displayed as expected.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http
had to try keeping
the kconfig stuff up to date and working. If it is screwed up, then it
is probably my fault. :)
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You
.
The only thing missing in PyKDE4 is Phonon support, which is a little messy
(or was last time I looked).
IIRC, Phonon will be moving into Qt itself, possibly in Qt 4.4. In which
case it'll become Phil's problem. ;-)
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
Adeodato Simó wrote:
Hello, any news about this?
This works. (see attachment).
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
#! /usr
Miller, Douglas K. CONT NAVAIR 2109, 1, N139 wrote:
Does the pythonize library still exist? If so, where and where is it
documented? Thanks.
It doesn't really exist anymore. Hopefully we'll be able to do plugins
for Qt4 / KDE 4 without hacks like pythonize.
cheers,
--
Simon Edwards
linked to it like a
normal C++ program. This breaks dynamic_cast between kdeui.so and
oxygen.so. I've tested this out with test code here, and the problem
fits this analysis exactly.
A workaround in Python:
http://mail.python.org/pipermail/c++-sig/2005-April/008829.html
cheers,
--
Simon
Detlev Offenbach wrote:
On Donnerstag, 10. April 2008, Simon Edwards wrote:
Hello all,
Some people here might have crossed paths with the menu text missing in
PyKDE apps with Oxygen bug. Basically menu labels are not rendered when
a PyKDE4 application is used with the Oxygen widget style
are fixed in the coming 4.0.5 release of KDE
kdebindings.
http://websvn.kde.org/?view=revrevision=813476
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right
4.4 is used. The symptoms were
rather confusing. This was the fix:
http://websvn.kde.org/?view=revrevision=812575
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You
to the fix Simon mentions or not.
Did you recompile PyKDE4 against the new version of PyQt4? When
recompiling PyKDE4, did it see that PyQt 4.4 was being used?
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com
have and where they come
from.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt mailing
'
systems is a PITA.)
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt mailing listPyQt
on.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt mailing listPyQt
be getting an optical driver
object back, but instead you get a drive object.
It looks like something I can fix for KDE 4.1, and maybe 4.0 if there is
demand for it.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http
Simon Edwards wrote:
Hi,
Peter Liedler wrote:
this one should be executable:
if cdrom.isDeviceInterface (Solid.DeviceInterface.OpticalDrive):
burner = cdrom.asDeviceInterface
(Solid.DeviceInterface.OpticalDrive)
print burner.supportedMedia()
Looks like a bug
,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt mailing listPyQt@riverbankcomputing.com
http
/systemsettings
modules and other plugins. That work would officially arrive in KDE 4.2,
but if I have something useful and working I could release a tarball for
the people who want to start working with it and don't want to compile
KDE from svn or wait 6 months. =)
cheers,
--
Simon Edwards
Hello all,
In case not everyone follows the blogs on planetkde.org, I wrote
something about the state of PyKDE in KDE 4.1:
http://kdedevelopers.org/node/3549
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com
Benno Dielmann wrote:
Hi,
http://techbase.kde.org/Development/Languages/Python/Using_PyKDE_4
says there are several tutorials on programming in PyKDE4. Where can they be
found?
There are some in the PyKDE docs themselves. I intend to put them up on
techbase too.
cheers,
--
Simon Edwards
).
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt mailing listPyQt
updated and to add more information.
http://techbase.kde.org/Development/Languages/Python
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice
code should use KApplication instead of
just QApplication. What version of everything are you using?
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right
Hello,
Jim Bublitz wrote:
Simon Edwards is using a tool for PyKDE4 called twine whose lexer./parser
are based on PLY and which will generate a versioned set of sip files (one
that, at least in theory, will build for any version of your lib).
If Simon doesn't chime in with a location where
, mtype_sat, QHash, NULL},
...
};
The extra types for the QHash are stripped off. The table should look
more like:
static sipTypedefDef typedefsTable[] = {
...
{Plasma::DataEngine::Data, mtype_sat, QHashQString,QVariant, NULL},
...
};
cheers,
--
Simon Edwards | KDE-NL, Guidance
Phil Thompson wrote:
On Sun, 17 Aug 2008 01:44:29 +0200, Simon Edwards [EMAIL PROTECTED]
wrote:
The extra types for the QHash are stripped off. The table should look
more like:
static sipTypedefDef typedefsTable[] = {
...
{Plasma::DataEngine::Data, mtype_sat, QHashQString,QVariant
and development, and it gives the distros a
chance package it up and get it out to users in a timely manner.
thanks,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made
and it is a bit too KDE 4
specific in places too. But you're welcome to have a look at it.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice
Phil Thompson wrote:
On Mon, 01 Sep 2008 22:29:37 +0200, Simon Edwards [EMAIL PROTECTED]
wrote:
Hello Phil,
I'm busy working on integrating Python with Plasma in KDE 4. The API for
doing network distributed applets is a bit convoluted, there is a lot of
delegation of methods calls to other
? Will it work ?
For example:
http://websvn.kde.org/branches/KDE/4.1/kdebindings/python/pykde4/tests/i18n_test.py?revision=829867view=markup
The first one is KDE 3 as you correctly guessed. The second is KDE 4.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt mailing listPyQt@riverbankcomputing.com
http
Luca Ferrari wrote:
can I create Plasma applets with PyKDE4?
I can't find any documents regarding programming plasma with PyKDE4...
In KDE 4.2 you will be able to.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED] | http
in PyKDE4. when
connecting the signal to my slot the application crashes, anyone knows
how to work around this?
If you can boil the problem down to something simple enough that I can
(reasonably) easily reproduce it here, then I'll have a look at it.
cheers,
--
Simon Edwards | KDE-NL
or to me is fine. If that system breaks down then we should make
proper use of bugs.kde.org.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice
to any else who is going to FOSDEM too. ;-)
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt
it cleaned up in a timely way. It doesn't
look relevant to Python as we already have better automatic memory
management.
I always use KGlobal.config() and I'm fairly sure that is the right way
to go. If that stops working, then get back to me.
cheers,
--
Simon Edwards | KDE-NL
KSharedConfig.openConfig(). Strange.
I've committed a fix for KSharedConfig.openConfig() in KDE 4.2.1 (out
next week). It keeps things working but appears to leak memory. I'll
probably have another look at the problem and make something better for
4.2.2.
cheers,
--
Simon Edwards | KDE
proficient with the C++ and the
C++ API
You mean like a tutorial or something?
http://techbase.kde.org/Development/Tutorials/Plasma
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software/
Nijmegen
news! I didn't expect to see anything working so soon
actually. How much work can we expect for getting Python 2 .sip files
working on Python 3? Did you encounter many problems with hand written code?
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si
...
---
elsewhere in the sip files I've got this which sets it all in motion:
typedef KSharedPtrDNSSD::RemoteService Ptr;
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http
projetmbc wrote:
I'm seeking for information about how to comunicate from PyQt with a
JavaScript program.
QWebFrame's evaluateJavaScript() might be a start.
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software
or operator=() on some classes which don't have one or
have one which is private. It looks like SIP wants to use the copy
constructor to copy a returned value from a method and then fails. Has
anything changed? Have you got any tips about what I should be trying.
thanks,
--
Simon Edwards
Phil Thompson wrote:
On Sun, 19 Apr 2009 21:39:29 +0200, Simon Edwards si...@simonzone.com
wrote:
Phil Thompson wrote:
sipForceConvertTo_*() (and related functions) are internal and should
not
be used by handwritten code. If it isn't documented then you can't use
it.
Thanks that helps a lot
;
/...
}
Something to do with the const return type?
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice
PyKDE needs to be fixed up for SIP 4.8. I'm working on
that at the moment.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice
software.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt mailing listPyQt
,
Is this the classic What happens to my FOSS / closed source application
if Riverbank disappears? problem? (Also known as Bus Factor 1) How big
is the concern seriously? This sounds like the same situation that KDE
was in when Qt was QPL/GPL, incidentally.
cheers,
--
Simon Edwards
ctor. I can change it
to allow you to explicitly define a private assignment operator if this is
not the case.
I seem to be hitting this problem too.
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software/
Nijmegen
.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt mailing listPyQt
the result against
the Python 3 headers and linking against Python 3's library? And then
possibly adding some API annotations to PyKDE to support the newer way
of doing things?
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http
Phil Thompson wrote:
On Tue, 10 Nov 2009 08:40:31 +0100, Simon Edwards si...@simonzone.com
wrote:
Hello Phil and Friends,
I'm (finally) digging into figuring out what I need to do for PyKDE to
support Python 3. There doesn't seem to be much written on the subject,
but I get the impression
Phil Thompson wrote:
On Tue, 10 Nov 2009 12:46:26 +0100, Simon Edwards si...@simonzone.com
wrote:
Phil Thompson wrote:
On Tue, 10 Nov 2009 08:40:31 +0100, Simon Edwards si...@simonzone.com
wrote:
Hello Phil and Friends,
I'm (finally) digging into figuring out what I need to do for PyKDE
think that is the problem since I blown away the build files and
recompiled plenty of times but the problem persists, and another person
has also consistently had the same thing.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http
for
this and SIP complains about it already being defined. Easy enough for
me fix in PyKDE, but it is a (small) BC problem.
The next releases will probably be very early in the new year.
excellent.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si
code at
http://github.com/maksbotan/krf/
There is a PolKit example in kdebindings (examples/polkitqtExamples
directory) if that helps.
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software/
Nijmegen
incompatibility in PyQt introduced after KDE 4.5 came
out.
This change on trunk will most likely fix your problem. You should be
able to apply the change to 4.4.4 4.5.1.
http://websvn.kde.org/?view=revisionrevision=1170602
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog
just tried your advice Phil and it looks
like it fixed the compile problem.
thanks Phil and Hans,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
si...@simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice
101 - 180 of 180 matches
Mail list logo