Ok, thank you.

On 3/4/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Send PyKDE mailing list submissions to
        [email protected]

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
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

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" <[EMAIL PROTECTED]>
Subject: [PyKDE] Automation of SIP generation.
To: [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
Subject: Re: [PyKDE] Automation of SIP generation.
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
Subject: [PyKDE] Mailing List Changes
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
Subject: [PyKDE] PyQt4 windowIcon
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
Subject: Re: [PyKDE] PyQt4 windowIcon
To: "Tina I" <[EMAIL PROTECTED]>, [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
Subject: Re: [PyKDE] PyQt4 windowIcon
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
Subject: Re: [PyKDE] PyQt4 windowIcon
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
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
[email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


End of PyKDE Digest, Vol 32, Issue 7
************************************



--
The Abattoir

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to