[PyQt] A couple of question about PyKDE4

2008-02-05 Thread Torsten Marek
ng PyKDE4 scripts as components in KDE programs) thanks for your help, Torsten -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net signature.asc Description: Dies ist ein digital

[PyQt] [Fwd: Bug#441577: ftbfs with g++-4.3/gcc-snapshot]

2007-09-10 Thread Torsten Marek
. Splitting PyQt4 into 40 parts and compiling with -O1 runs through "fast enough". Please see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30052 In other news, thanks for the tips wrt qreal/float, it now builds fine on all arches! best, Torsten -- Torsten Marek <[EMAIL PROTECTED]&

[PyQt] New Debian packages

2007-07-31 Thread Torsten Marek
disruptive change might be that the *config.py files now all reside in the -dev packages, so if you need sipconfig.py or pyqtconfig.py in your packages (PyQwt?), you should update your dependencies. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856

Re: [PyQt] Next Releases of SIP and PyQt

2007-07-24 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phil Thompson schrieb: > On Tuesday 24 July 2007 9:54 pm, Torsten Marek wrote: >> Phil Thompson schrieb: >>> The next major releases of SIP and PyQt4 will be made this week >>> (hopefully). >>> >>> Is

Re: [PyQt] Next Releases of SIP and PyQt

2007-07-24 Thread Torsten Marek
ages (reflecting the C++ library packages). best regards, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Usi

Re: [PyQt] Can't build latest PyQt snapshot on Ubuntu

2007-07-20 Thread Torsten Marek
it works > there. > > Andreas > Hi Andreas, in the snapshot package, I'm currently manually adding QT_SHARED to the defines, because I didn't have the time to investigate properly. PRL file handling is patched anyway (in sip) to prevent unwanted library dependencies. best

Re: [PyQt] Can't build latest PyQt snapshot on Ubuntu

2007-07-20 Thread Torsten Marek
t now, so I have patched configure.py. Please get the source packages from here: deb-src http://diotavelli.net/files/deb/ sourc/ You can use them to build the latest sip4 and PyQt4 snapshot yourself. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP:

Re: [PyQt] Re: PyQt on Ubuntu

2007-07-20 Thread Torsten Marek
ckages and build the debs yourself. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG w

Re: [PyKDE] ANN: PyQt 4.1, PyQt 3.17, QScintilla 1.7, SIP 4.5 Released

2006-11-10 Thread Torsten Marek
1.7 and QScintilla2 will follow shortly. - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using Gn

Re: [PyKDE] Gui Python framework comparison

2006-11-10 Thread Torsten Marek
asses for item views etc. I've used them a bit and found them to be quite complete and usable. Unfortunately, I don't know Cocoa at all, so I can't help you with that. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5

Re: [PyKDE] idle time detection

2006-11-09 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Pakulat schrieb: > On 09.11.06 21:50:51, Torsten Marek wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Matt Newell schrieb: >>> On Thursday 09 November 2006 11:48, Andreas Pakulat wrote:

Re: [PyKDE] Re: Gui Python framework comparison

2006-11-09 Thread Torsten Marek
k and > wxPython use the weird GTK widgets on Linux. > > Hi, you seem to have a very secret stash of knowledge which you share with nobody else. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Key

Re: [PyKDE] idle time detection

2006-11-09 Thread Torsten Marek
ike that, no need to write a C extension yourself. Remember, ctypes is stdlib in 2.5. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE-

Re: [PyKDE] "sender" info in Python slot

2006-11-09 Thread Torsten Marek
> print boundarg > > You have to keep a separate reference to the BoundCaller object (hence the > assignment to self), otherwise it gets garbage collected. Hi, I still think that connect not taking a reference on the slot is a mistake, otherwise you could just u

Re: [PyKDE] QVariant and QIcon

2006-11-01 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Pakulat schrieb: > On 01.11.06 16:59:39, Torsten Marek wrote: >> in connection with Qt::DecorationRole, an implementation of a model's data >> method is supposed to return an icon in a QVariant. In C++, I guess this is

[PyKDE] QVariant and QIcon

2006-11-01 Thread Torsten Marek
gument 2 of QVariant() has an invalid type What am I to do? best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using

Re: [PyKDE] pyuic4 crashing

2006-10-31 Thread Torsten Marek
be supported. However, I've still got some minor fixes here which are not yet incorporated, because I haven't done the final checks for Qt 4.2 yet. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A

Re: [PyKDE] camel/under style

2006-10-21 Thread Torsten Marek
her people's Python code. Still, class or method names with underscores would look unbelievable odd to me... best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE-

Re: [PyKDE] TypeError: 'QObjectCreator' object is unsubscriptable

2006-10-21 Thread Torsten Marek
w = module.search(classname) > if w is not None: > -return self._cpolicy.instantiate(w, *args, **kwargs) > -else: > -raise NoSuchWidgetError, cls > - > -raise NotImplementedEror, "must be overridden by subcla

Re: [PyKDE] TypeError: 'QObjectCreator' object is unsubscriptable

2006-10-20 Thread Torsten Marek
supplying a baseclass to >> uic.loadUi. It also occurs on the load_ui2.py demo program. >> >> Any idea? >> >> Thanks, > Hi, I'll have a look at bug and patch on the weekend. Should be fixed in one of the next snapshots. best, Torsten - -- Torsten Marek <[

[PyKDE] Fixed version of PyKDE?

2006-10-16 Thread Torsten Marek
ion. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://eni

Re: [PyKDE] PyKDE 3.16.0 released

2006-09-25 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Bublitz schrieb: > On Sunday 24 September 2006 00:17, Torsten Marek wrote: >> Jim Bublitz schrieb: >>> On Saturday 23 September 2006 13:04, Torsten Marek wrote: >>>> Hi Jim, >>>> >>>

Re: [PyKDE] PyKDE 3.16.0 released

2006-09-24 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Bublitz schrieb: > On Saturday 23 September 2006 13:04, Torsten Marek wrote: >> Hi Jim, >> >> one more thing. Is there a way to circumvent the libkonsolepart.so hackery? >> What you are doing in configure.py works for

Re: [PyKDE] PyKDE 3.16.0 released

2006-09-23 Thread Torsten Marek
'd be happy to work on a fix if you could give me some pointers. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comm

Re: [PyKDE] PyKDE 3.16.0 released

2006-09-23 Thread Torsten Marek
> As usual, bug reports, feature suggestions and other comments are solicited > and encouraged. And thanks again to all those who contributed code, > suggestions, bug reports, questions and other stuff on this list. > Hi Jim, just one small remark: extensions/dcopext.py needs Python

Re: [PyKDE] Updated pyuic4 snapshot

2006-09-22 Thread Torsten Marek
hould also check out Groovy. It's strongly typed, but requires much less typing and supports (*gasp*) anonymous functions (at least somebody told me). best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver:

[PyKDE] Updated pyuic4 snapshot

2006-09-22 Thread Torsten Marek
I drove one of my fellow workers to madness because I thought about passing HashMap, which is the closest thing that Java has to a dict. And Java does not have a type-safe tuple (even C++ now has one in TR1). best regards, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902

Re: [PyKDE] PyQt4 4.0.1: Possible QTabWidget Bug

2006-09-18 Thread Torsten Marek
bIcon(0 , > QtGui.QIcon(":/actions/Images/actions/ark_adddir.png")) >self.twOperations.setTabIcon(1 , > QtGui.QIcon(":/actions/Images/actions/ark_extract.png")) > > Can someone confirm that this is a PyQt4 bug? > Hi, you're right, it's a bug. I'll try to fix it, sho

Re: [PyKDE] PyQt4 and SIP-4.4.5 issues

2006-09-17 Thread Torsten Marek
ed Python code (it is impossible to infer the PyQwt module > from the header filenames returned by the plugin). > Hi Gerard, could you please send me a UI file that uses some of your widgets? Right now, I'm trying to create a more general/extensible solution for this problem. be

Re: [PyKDE] PyQwt5

2006-07-08 Thread Torsten Marek
yone help me? > Hi, my bad, it's a bug in the PyQt4 Debian package. I'll try to remedy that. BTW, why do you have to compile it against these numpy packages? If these versions aren't in Debian currently, your packages can't go in. best, Torsten - -- Torsten Marek <[EMA

Re: [PyKDE] PyQt4 and Python2.3

2006-07-06 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Pakulat wrote: > On 06.07.06 10:37:11, Torsten Marek wrote: >> Andreas Pakulat wrote: >>> PyQt4 entered Debian/Sid today and I had to try wether my apps also work >>> under the "system python" now.

Re: [PyKDE] PyQt4 and Python2.3

2006-07-06 Thread Torsten Marek
ot;, > line 198 > @pyqtSignature("on_fileButton_clicked()") > ^ > SyntaxError: invalid syntax > > Andreas > Hi, decorators don't work with Python 2.3, they are a Python 2.4 feature. Debian won't use Python 2.3 for long, nearly all packages are migrat

Re: [PyKDE] ANN PyQt v4.0 Released

2006-06-11 Thread Torsten Marek
shoot its goals on its own:-D Ah, real life's so sweet! Apart from that, great work with PyQt4! I'll try to get it into Debian ASAP. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.

Re: [PyKDE] pyqt4 and qt4 error

2006-06-06 Thread Torsten Marek
i would be happy if someone could help me. > > thanks in advance. > Hi, could you please post the UI file? Could it be that you try to compile a UI from Qt3? You can convert it using Qt Designer. Unlike uic, pyuic4 does not support the old versions of the UI file format. best, Torste

Re: [PyKDE] QModelIndex and PyQT

2006-05-26 Thread Torsten Marek
Phil Thompson wrote: > On Friday 26 May 2006 12:24 pm, Torsten Marek wrote: >> Phil Thompson wrote: >>> On Wednesday 24 May 2006 10:39 pm, Allen Bierbaum wrote: >>>> I apologize if this has been discussed here before, I searched the >>>> mailing lis

Re: [PyKDE] QModelIndex and PyQT

2006-05-26 Thread Torsten Marek
are some problems with it right now: - - it's impossible to use IDs instead of PyObject (unless one keeps a reference to the int, which is rather clumsy), since everything is a PyObject. Changing the order of the two createIndex(...) overloads remedies this. - - internalPointer() sometimes re

Re: [PyKDE] pyuic4 generates invalid code for showDropIndicator

2006-05-25 Thread Torsten Marek
n(True). The C++ > code that uic generates uses > feedTreeView->setProperty("showDropIndicator", QVariant(true));. > Hi, well, Qt is consistent except for the parts where it isn't:) Thanks for the investigation, patch is included. best, Torsten -- Torsten Marek <

Re: [PyKDE] PyKDE-snapshot20060422

2006-05-24 Thread Torsten Marek
it, PyKDE 3.15.2 only compiles with PyQt 3.16 and sip 4.4.3. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Usin

Re: [PyKDE] PyKDE uses qt2 compat header

2006-04-24 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Pakulat wrote: > On 24.04.06 13:47:05, Torsten Marek wrote: >> Andreas Pakulat wrote: >>> Hi, >>> >>> the latest PyKDE snapshots includes qlist.h in various places, however >>> this is a "

Re: [PyKDE] PyKDE uses qt2 compat header

2006-04-24 Thread Torsten Marek
ss of temporary > Hi, no need to build PyKDE yourself. Packages are already uploaded to http://diotavelli.net/files/deb, and should appear in Debian/unstable in the coming weeks. best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 4

Re: [PyKDE] PyKDE building and the -j flag (again)

2006-04-14 Thread Torsten Marek
sustainable way. > Hi, just as a quick guess, are the versions of sip the same? As far as system resources are concerned, g++ 4.0 (the C++ compiler I assume you are using) takes up huge amounts of memory (several hundreds of megabytes) when compiling anything sip-related (at least on my

Re: [PyKDE] PyKDE status and requirements

2006-04-13 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Bublitz wrote: > On Wednesday 12 April 2006 15:29, Torsten Marek wrote: >> Jim Bublitz wrote: >>> I'm slowly getting PyKDE ready for release. A snapshot doesn't make sense >>> at the moment, because there are

Re: [PyKDE] PyKDE status and requirements

2006-04-12 Thread Torsten Marek
e something available in 1 or 2 weeks. Hi Jim, currently, I'm preparing sip 4.4 etc. for upload into Debian, and PyKDE is blocking it. Is there anything I can do to help to speed up things? best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146

Re: [PyKDE] Searching Qt4 UI files for test suite

2006-04-09 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Pakulat wrote: > On 07.04.06 13:30:01, Torsten Marek wrote: >> in order to enlarge the test suite for pyuic4, I'm searching for real-world >> user >> interfaces. All the bugs discovered so far are covered by the te

Re: [PyKDE] EuroPython 2006

2006-04-09 Thread Torsten Marek
he time because I'll have to write a thesis next term. Maybe we could work together on a speech/presentation? best, Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNA

[PyKDE] Searching Qt4 UI files for test suite

2006-04-07 Thread Torsten Marek
user interface files that contain more than a "Hello World" label that you'd like to share, please hand them in to make pyuic4 better! thanks in advance! Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858

Re: [PyKDE] PyQt4 uic bug

2006-03-23 Thread Torsten Marek
d code. Other than > that, everything else seems to be working great! > > Thanks for the great work! > Eric Gach > Hi, This just happens if the dock widget happens to be in a main window, which was not covered by my test suite. Here's a patch that should fix the problem, coul

Re: [PyKDE] latest PyQt & Window flags

2006-03-02 Thread Torsten Marek
If not, somethings wrong elsewhere. greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with

[PyKDE] Updated sip, PyQt3, PyQt4 packages for Debian

2006-03-01 Thread Torsten Marek
. best regards Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozd

[PyKDE] latest PyQt & Window flags

2006-03-01 Thread Torsten Marek
. Is this a bug or a change in sip/PyQt? best regards Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment:

Re: [PyKDE] eric3 Configuration option for pyuic4 [was: Configuration for pyuic4]

2006-01-27 Thread Torsten Marek
gt;pyuic4 doesn't force you to a specific pattern... > > > No, I meant pyuic4's class name generation. It generates a class Ui_FooDialog > if the form name is FooDialog. I transferred this to the filename generation. Which is, just to mention it, what uic4 does. best regar

Re: [PyKDE] 2 Bugs in pyuic for custom widgets

2006-01-27 Thread Torsten Marek
return elem.text or "" > logging.debug("EP: Returning: %s" % default) > return default > Hi again, if I had read the API documentation correctly, this bug would not have entered the code. The default is only returned if the element is not found. But

Re: [PyKDE] 2 Bugs in pyuic for custom widgets

2006-01-27 Thread Torsten Marek
I'm > doing the latter for my uic here until a fix is provided with PyQt4. > Hi, thanks for the report - bugs will be fixed in the next snapshots. I would have tested my changes, but unfortunately I did not have any test harness, was to lazy to create some myself and trusted in my prog

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Torsten Marek
f the parameters in the order > they appear in the function signature? Yes, that would be possible to, but the decorator approach is more explicit (remember: Beautiful is better than ugly. Explicit is better than implicit. ...;-) > > PS: Torsten I found at 2 bugs in current pyuic conce

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-24 Thread Torsten Marek
it until Torsten comments. > > Andreas > Hi, please see Phil's mail about that. However, there are several workarounds possible: - - name the arguments after the expected C++ types (possibly with a prefix) - - decorate the function with the signal definition - - extend the naming

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-23 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giovanni Bajo schrieb: > Torsten Marek <[EMAIL PROTECTED]> wrote: > > >>>def compileToType(filename): >>>code_string = cStringIO.StringIO() >>>widget_info = Compiler.compileUi(file(filename, "r&

[PyKDE] Using UI files in your app with PyQt4

2006-01-22 Thread Torsten Marek
f.setupUi(self) def on_button1_clicked(self): for s in "This is a demo".split(" "): self.list.addItem(s) form = DemoImpl() form.show() app.exec_() ## eos best regards Torsten -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F1

Re: [PyKDE] Another problem with custom widgets and pyuic4

2006-01-16 Thread Torsten Marek
ing code of uic). In the very beginning (Qt3 version), I automatically generated Python code for all needed methods, but using __getattribute__ and metaclasses saves a lot of work - both in typing and maintaining. - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B

Re: [PyKDE] Another problem with custom widgets and pyuic4

2006-01-16 Thread Torsten Marek
object of QSizePolicy, does not exist. If all the talking about proxy objects make your head buzz and you ask yourself why this is necessary, just consider that both UI loader and compiler share most of the code. Of the ~920 SLOCS, only 325 are special to the compiler and 43 to the loader. greeting

Re: [PyKDE] Auto-Connection supported in PyQt4

2006-01-11 Thread Torsten Marek
at means, maybe a pythonic > implementation for connectSlotsByName needs to be provided. > > Phil can you comment on this, if it's possible to have auto-connection > at all and if you want to do it? (I can provide a patch for pyuic4 to > generate that one extra line of code

Re: [PyKDE] PyQt4 custom widgets

2006-01-10 Thread Torsten Marek
x27;' or extends is None: > + extends = 'QObject' > + > + header = re.sub('\/', '.', header) > + header = re.sub('.h', '', header) > +self.wdb.addCustomWidget(classname, extends, header)

Re: [PyKDE] Problems with some C++ sintax

2005-12-15 Thread Torsten Marek
__(self, wizard): - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http:

Re: [PyKDE] Seperating logic code from gui code?

2005-12-15 Thread Torsten Marek
ssible still. Ideally, the GUI programs should just be thin layers around your actual code. Not really much of advice, rather than a rule of thumb. Anyway, don't give it too much thought aforehand - just don't be afraid of refactoring afterwards. greetings Torsten - -- Torsten Marek <[EM

Re: [PyKDE] Problems with some C++ sintax

2005-12-15 Thread Torsten Marek
Parge.__init__(self, wizard) # (3) self.wizard = wizard # (4) best greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: Gn

Re: [PyKDE] PyQt: Better highlighting in QTabWidgets (improves eric3 and other Qt3.x apps)

2005-12-14 Thread Torsten Marek
abWidget. For PyQt4, you can "promote" any Qt widget in Designer to be a custom widget, and pyuic4 supports that already (if you ever should port your application to Qt4). So if you that your QTabWidget is actually a HighlightedTabWidget from the module your.p

pyuic4 [Was: [PyKDE] Re: Building PyQt4]

2005-12-12 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Douglas Soares de Andrade schrieb: > Hi, > > Em Segunda 12 Dezembro 2005 20:47, Torsten Marek escreveu: > >>Douglas Soares de Andrade schrieb: >> >>>Hi Torsten ! >>> >>> >>>>you ca

Re: [PyKDE] PyQt4 Update (examples)

2005-12-12 Thread Torsten Marek
- but it was on my todo list. However, I'd like to get pyuic4 out of my door first and have people using it with some real life examples before I go on working on the other code. greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7

Re: [PyKDE] Re: Building PyQt4

2005-12-12 Thread Torsten Marek
en. So i > wanted to know if you have solved that. > Hi, you can't, unless you want to compile Qt4 yourself. These symbols aren't exported if Qt4 is compiled with -fvisibility. http://www.trolltech.com/developer/tasktracker.html?method=entry&id=83512 greetings Torsten - -

[PyKDE] Build error with current sip/PyQt4

2005-12-05 Thread Torsten Marek
: »sipEnum_QEventLoop_ProcessEventsFlag« wurde in diesem Gültigkeitsbereich nicht definiert which is fixed by adding an include of sipQtQEventloop.h to sipQtCorepart2.cpp. greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Key

Re: [PyKDE] PyQt4 Update

2005-12-04 Thread Torsten Marek
le I've used. > Hi Phil, the functions QSizePolicy.setHorizontalStretch and QSizePolicy.setVerticalStretch need an uchar as argument. What is the Python datatype used for that, or should the functions take ints? greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 --

Re: [PyKDE] PyQt4 Update

2005-12-02 Thread Torsten Marek
ing the signal name and any remaining arguments are passed to the > slot. Experimental Debian packages of the latest snapshots will be will available at http://diotavelli.net/files/pyqt-experimental/ soon. greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902

Re: [PyKDE] PyQt4 Update

2005-12-01 Thread Torsten Marek
ew UI compiler. greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with

Re: [PyKDE] compile pyqt4 on linux (ubuntu)

2005-12-01 Thread Torsten Marek
fix should make it's way into Ubuntu as well. For now, it's sufficient to comment out QBitArray operator&(const QBitArray &, const QBitArray &); QBitArray operator|(const QBitArray &, const QBitArray &); QBitArray operator^(const QBitArray &, const QBitArray &);

Re: [PyKDE] QApplication without GUI

2005-11-12 Thread Torsten Marek
ip, so if any errors occur, please check back. best regards Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG

Re: [PyKDE] eric3 on FC4: open & save dialogues don't work :(

2005-11-10 Thread Torsten Marek
Error: cannot pass None as argument 0 in this call > > does anyone encountered a similar problem? I need to solve this 'cause I need > to work on my thesis :( > Hi, this is due to an incompatibility between eric 3.7.1 and PyQt 3.15. These problems are fixed in 3.7.2. greeting

Re: [PyKDE] QString in PyQt4 - Request for Comments

2005-10-18 Thread Torsten Marek
e following is a consequence of the additional support... > > s = "Py" > # s is of type str > s += QString("Qt") > # s is now of type QString > I second the removal of QString in favour of Python strings. Not having to care about whether your strings are of

Re: [PyKDE] Newbie getting started on Debian

2005-09-30 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon schrieb: > On Thu, Sep 29, 2005 at 07:12:34PM +0200, Torsten Marek wrote: > > >>I've built python-kde3 3.11.3-4 for etch. Please get the packages from >>http://diotavelli.net/files/pykde-debian-etch > > >

Re: [PyKDE] Newbie getting started on Debian

2005-09-29 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Torsten Marek schrieb: I should stop writing mails if I continue to mistype all the urls I post. It's http://diotavelli.net/files/pykde-debian-etch which you maybe already figured out for yourself. greetings Torsten - -- Torsten Marek &l

Re: [PyKDE] Newbie getting started on Debian

2005-09-29 Thread Torsten Marek
yKDE is rather old, so if you encounter any bugs, consider the mailing list archives or the changelog of a newer PyKDE snapshot before reporting a duplicate resp. already fixed bug. == end== I hope the package works for you, please notify me! greetings & happy hacking Torsten - -- Torsten M

Re: [PyKDE] Newbie getting started on Debian

2005-09-29 Thread Torsten Marek
ince the ABI transition is way from complete. And there's quite a stack of packages, it needs libqt3-mt, and kdelibs4c2 (from KDE 3.4.x) in etch first. greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyser

Re: [PyKDE] Newbie getting started on Debian

2005-09-28 Thread Torsten Marek
he debian-control-file for this to work. > > Andreas > Hi, There's transitioned PyKDE packages (for 2.3 and 2.4) at http://diotavelli.net/files/deb/binary and they are "somewhat" official. greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -

Re: [PyKDE] PyKDE 20050829 for Debian

2005-09-27 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gudjon I. Gudjonsson schrieb: > Hi Torsten >I am quite interested in your debs but I cannot find anything on your > homepage? > > Sincerely > Gudjon > > Þann Þriðjudagur 20. september 2005 12:55 skrifaði Torste

Re: [PyKDE] memleak with QMovie

2005-09-20 Thread Torsten Marek
ng on on your side. > > Cannot reproduce it here under SuSE 9.3 with Python 2.4, Qt 3.3.4, sip > 4.1.1 and PyQt 3.13. > > Let us know the versions of your distribution, Python, Qt, sip and PyQt > and who made them for a start.. > Hi, I see some increased memory usage while run

[PyKDE] PyKDE 20050829 for Debian

2005-09-20 Thread Torsten Marek
etings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDL+q9fM

Re: [PyKDE] Can't compile PyQt 3.15

2005-09-19 Thread Torsten Marek
s? > > Cheers, Marco Hi Marco, as it says, it's an internal compiler error, so it's not likely that anybody here can help. Are there new gcc packages from SuSE available, maybe ones that don't have pre- in the version number? greetings Torsten - -- Torsten Marek <[EMAIL

Re: [PyKDE] ANN: eric 3.7.2 released

2005-09-17 Thread Torsten Marek
eric3.html > Hi Detlev, are there any important changes between 3.7.2-rc2 and 3.7.2? best Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1

Re: [PyKDE] ANN: New Releases of PyQt, PyKDE, SIP and QScintilla

2005-09-01 Thread Torsten Marek
dex out of range and eric will refuse to start up. If a boolean (or 1) is added, everything works as expected. The lines then read likes this: "TaskViewer" : [0,500,400,125, True], "TemplateViewer" : [405,500,200,200, True], Apart from that, my shal

Re: [PyKDE] ANN: new snapshot of eric3 released

2005-08-30 Thread Torsten Marek
ial) system for eric3 version 3.8. > Currently the list looks as follows. > > 1) git > 2) monotone > 3) darcs > 4) GNU-arch (ala tla) > Hi Detlev, what about bazaar-ng? It's written in Python as well (from the integration viewpoint), although I don't know about API stab

Re: [PyKDE] Qt4 and uic - dynamic generation

2005-07-22 Thread Torsten Marek
es an instance, not a class. One Problem is, that you cannot override event handlers in it, but only use signals and slots. greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver

Re: [PyKDE] Qt4 and uic - dynamic generation

2005-07-21 Thread Torsten Marek
nd creating interfaces from the UI files. I've posted the code to the list some time ago (in April I guess), but I guess there are no projects using it. However, Phil has said that pyuic should be ported to Python for PyQt4. Does that still hold? Using that code, you get the other mode for free

Re: [PyKDE] Wiki logo

2005-07-04 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Diez B. Roggisch schrieb: > Torsten Marek wrote: > >> Hi all, >> >> I convinced my girlfriend that making a logo for the PyQt wiki is good >> use for >> her creativity; and here is the result. Anybody doesn'

[PyKDE] Wiki logo

2005-07-02 Thread Torsten Marek
Hi all, I convinced my girlfriend that making a logo for the PyQt wiki is good use for her creativity; and here is the result. Anybody doesn't like it? Otherwise I'll set it up as the logo tomorrow. greetings Torsten -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 190

Re: [PyKDE] overloading events with qt designer and pyqt

2005-06-29 Thread Torsten Marek
> packages, only what is shipped with QT and pyqt. > > Thanks again for any help. Hi, you might want to have a look at http://www.diotavelli.net/PyQtWiki/DragAndDropWithPytQt and adapt it to your needs. greetings Torsten -- Torsten Marek <[EMAIL PROT

Re: [PyKDE] Qt 4 and python

2005-06-29 Thread Torsten Marek
/roadmap.php It says that a GPL version for Windows will be created. greetings Torsten -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net ___ PyKDE mailing lis

Re: [PyKDE] Eric 3.7 & latest snapshoots

2005-06-19 Thread Torsten Marek
he gcc changes as well (don't have a version > 3.3 > installed, so will need testers). There are other fixes needed that I'll get > to in this iteration I hope. > > I'm not sure how eric3 detects PyKDE, or if there's a switch to force it to > ignore it. > Y

Re: [PyKDE] Basic question about custom slot/function

2005-06-19 Thread Torsten Marek
wrong signature. Maybe you might want to have a look at one of the tutorials listed in the wiki, and also the tutorial of Qt Designer. greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyser

Re: [PyKDE] ANN: Eric3 3.7.0 released

2005-06-05 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just by the way: Debian packages are at http://diotavelli.net/files/deb/binary and they will make their way into unstable somewhere in the next weeks. greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DF

Re: [PyKDE] Can I use QString as key in Python dictionary?

2005-06-01 Thread Torsten Marek
; exactly that reference (not a *similar* one): > > >>>>k = QString("bla") >>>>mydict = {k:"foobar"} >>>>mydict[k] > > 'foobar' One could think about changing the QString implementation of __hash__ to use the strings&#x

Re: [PyKDE] ANN: eric3 3.7.0-rc1 released

2005-05-23 Thread Torsten Marek
package with pregenerated API files, please test this package as well. greetings Torsten - -- Torsten Marek <[EMAIL PROTECTED]> ID: A244C858 -- FP: 1902 0002 5DFC 856B F146 894C 7CC5 451E A244 C858 Keyserver: subkeys.pgp.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) C

Re: [PyKDE] newbie. Eric3 couldn't find pyuic.exe

2005-05-19 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 M. Danu F. Kusmana schrieb: > Hi guys Im new. How to set things up so eric can use all the bin files > from python24/bin directory? > > thanx Hi Danu, google about setting the PATH enviromnent variable on Windows. greetings Torsten

  1   2   3   >