[PyKDE] Re: Re: Automation of SIP generation.

The Abattoir the.abattoir at gmail.com
Sun Mar 4 16:20:11 GMT 2007


Ok, thank you.

On 3/4/07, pykde-request at mats.imk.fraunhofer.de
<pykde-request at mats.imk.fraunhofer.de> wrote:
> Send PyKDE mailing list submissions to
>         pykde at mats.imk.fraunhofer.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
> or, via email, send a message with subject or body 'help' to
>         pykde-request at mats.imk.fraunhofer.de
>
> You can reach the person managing the list at
>         pykde-owner at mats.imk.fraunhofer.de
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PyKDE digest..."
>
>
> Today's Topics:
>
>    1. Automation of SIP generation. (The Abattoir)
>    2. Re: Automation of SIP generation. (Phil Thompson)
>    3. Mailing List Changes (Phil Thompson)
>    4. PyQt4 windowIcon (Tina I)
>    5. Re: PyQt4 windowIcon (Rajeev J Sebastian)
>    6. Re: PyQt4 windowIcon (Sibylle Koczian)
>    7. Re: PyQt4 windowIcon (Tina I)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 4 Mar 2007 00:58:26 +0800
> From: "The Abattoir" <the.abattoir at gmail.com>
> Subject: [PyKDE] Automation of SIP generation.
> To: pykde at mats.imk.fraunhofer.de
> Message-ID:
>         <e86c9b860703030858j7c049b80pabfc12322d2cf07 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Hello,
> I found this thread
> http://www.mail-archive.com/pykde%40mats.gmd.de/msg04032.html when
> searching for methods to automate the process of sip generation. .sip
> files in the PyQt archive indicate that they were generated by
> MetaSIP. Is this available to the public now or is it still
> internal(proprietary?)? I was thinking of creating bindings for marble
> (http://www.kdedevelopers.org/node/2429).
>
> Thank you.
> --
> The Abattoir
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 3 Mar 2007 17:15:25 +0000
> From: Phil Thompson <phil at riverbankcomputing.co.uk>
> Subject: Re: [PyKDE] Automation of SIP generation.
> To: pykde at mats.imk.fraunhofer.de
> Message-ID: <200703031715.25797.phil at riverbankcomputing.co.uk>
> Content-Type: text/plain;  charset="utf-8"
>
> On Saturday 03 March 2007 4:58 pm, The Abattoir wrote:
> > Hello,
> > I found this thread
> > http://www.mail-archive.com/pykde%40mats.gmd.de/msg04032.html when
> > searching for methods to automate the process of sip generation. .sip
> > files in the PyQt archive indicate that they were generated by
> > MetaSIP. Is this available to the public now or is it still
> > internal(proprietary?)? I was thinking of creating bindings for marble
> > (http://www.kdedevelopers.org/node/2429).
>
> No it's not publicly available.
>
> Phil
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 3 Mar 2007 18:25:38 +0000
> From: Phil Thompson <phil at riverbankcomputing.co.uk>
> Subject: [PyKDE] Mailing List Changes
> To: pykde at mats.imk.fraunhofer.de
> Message-ID: <200703031825.38914.phil at riverbankcomputing.co.uk>
> Content-Type: text/plain;  charset="us-ascii"
>
> Some time in the next few days the PyKDE mailing list will be renamed (to
> PyQt) and relocated (to riverbankcomputing.com). Everybody's subscription
> details will be transferred automatically.
>
> We'll send out an email just before the move to ask that you don't post (for
> an hour or two - famous last words). After the move we'll send out another
> email confirming the new list address.
>
> Phil
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 04 Mar 2007 10:25:31 +0100
> From: Tina I <tinaweb at bestemselv.com>
> Subject: [PyKDE] PyQt4 windowIcon
> To: pykde at mats.imk.fraunhofer.de
> Message-ID: <45EA908B.1060207 at bestemselv.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi to the list,
>
> I have some problems trying to move from Qt3 to Qt4. My current headache
> is setting an application icon.
> I have selected an icon in Qt4 designer (just as I did with Qt3) and it
> does indeed show up on my main window form in Designer. But when I run
> my application there are no icon (Just the default "X") visible.
>
> "pyuic4" produces this line in my 'gui file':
>
>        MainWindow.setWindowIcon(QtGui.QIcon("../log.png"))
>
> The icon is stored in the same directory as the application it self. I
> guess I'm missing something, I just don't have any idea what. So if
> somebody could provide me with a clue I would really appreciate it.
>
> If more info is needed please let me know.
>
> Thanks
> Tina
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 4 Mar 2007 15:26:23 +0530
> From: "Rajeev J Sebastian" <rajeev.sebastian at gmail.com>
> Subject: Re: [PyKDE] PyQt4 windowIcon
> To: "Tina I" <tinaweb at bestemselv.com>, pykde at mats.imk.fraunhofer.de
> Message-ID:
>         <79a035420703040156k107ae69bp2f40c17b5944642a at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Hello Tina,
>
> Maybe try,
>
>  MainWindow.setWindowIcon(QtGui.QIcon("./log.png"))
>
> (i.e., replace .. with . (single dot))
>
> Regards
> Rajeev J Sebastian
>
>
>
> ------------------------------
>
> Message: 6
> Date: Sun, 04 Mar 2007 11:01:13 +0100
> From: Sibylle Koczian <Sibylle.Koczian at t-online.de>
> Subject: Re: [PyKDE] PyQt4 windowIcon
> To: pykde at mats.imk.fraunhofer.de
> Message-ID: <45EA98E9.8020209 at t-online.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Tina I schrieb:
> >
> > "pyuic4" produces this line in my 'gui file':
> >
> >       MainWindow.setWindowIcon(QtGui.QIcon("../log.png"))
> >
> > The icon is stored in the same directory as the application it self. I
> > guess I'm missing something, I just don't have any idea what. So if
> > somebody could provide me with a clue I would really appreciate it.
> >
> I can see what's wrong (at least I think I see it). But I'm not using
> the designer, so I don't really know what to do about it. The
> setWindowIcon method expects the icon in the parent directory, not in
> the same directory as the application itself (that would be
> "./log.png"). You might simply move the icon and try again - or is that
> not an option?
>
> HTH
> Sibylle
>
>
>
> ------------------------------
>
> Message: 7
> Date: Sun, 04 Mar 2007 11:36:54 +0100
> From: Tina I <tinaweb at bestemselv.com>
> Subject: Re: [PyKDE] PyQt4 windowIcon
> To: pykde at mats.imk.fraunhofer.de
> Message-ID: <45EAA146.3080701 at bestemselv.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Sibylle Koczian wrote:
> > I can see what's wrong (at least I think I see it). But I'm not using
> > the designer, so I don't really know what to do about it. The
> > setWindowIcon method expects the icon in the parent directory, not in
> > the same directory as the application itself (that would be
> > "./log.png"). You might simply move the icon and try again - or is
> > that not an option?
> >
> > HTH
> > Sibylle
> Aha! That's exactly what happens. When I change it to a single dot it
> works. The problem is that every time i 'regenerate' the gui file with
> pyuic4 it changes it back. But I guess I can set it in my main program
> instead. The parent directory is not an option.
>
> This must be a bug or are there some rational explanation for it? If the
> application resides in "~/application/" you don't want to put random
> icons and stuff right in the user's root.
>
> Tina
>
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> PyKDE mailing list
> PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>
>
> End of PyKDE Digest, Vol 32, Issue 7
> ************************************
>


-- 
The Abattoir




More information about the PyQt mailing list