Your message dated Tue, 08 Feb 2005 21:54:44 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Closing the bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Nov 2004 19:33:44 +0000
>From [EMAIL PROTECTED] Wed Nov 03 11:33:44 2004
Return-path: <[EMAIL PROTECTED]>
Received: from umail.ru [195.34.32.101] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CPQt6-0004ad-00; Wed, 03 Nov 2004 11:33:44 -0800
Received: from [83.237.168.63] (HELO sercond)
  by umail.ru (CommuniGate Pro SMTP 4.2b6)
  with ESMTP id 329548981; Wed, 03 Nov 2004 22:33:39 +0300
Received: from nikita by sercond with local (Exim 3.35 #1 (Debian))
        id 1CPQtE-0003Ir-00; Wed, 03 Nov 2004 22:33:52 +0300
Content-Type: multipart/mixed; boundary="===============2094865540=="
MIME-Version: 1.0
From: "Nikita V. Youshchenko" <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: pyqt-tools: pyuic does not extract non-slot functions from ui.h
X-Mailer: reportbug 2.63
Date: Wed, 03 Nov 2004 22:33:51 +0300
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        HTML_10_20 autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============2094865540==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: pyqt-tools
Version: 3.12-3
Severity: normal

Pyuic claims that it extracts all member functions defined for widget
class in Qt Designer, however look that it does not actually extract
any other functions than connected slots.

[EMAIL PROTECTED]:/tmp/test> pyuic form1.ui > form.py
Extracting func1()
[EMAIL PROTECTED]:/tmp/test> grep func1 form.py
[EMAIL PROTECTED]:/tmp/test>

This example shows that pyuic fails to extract func1() method from
ui.h file generated by Qt designer. Example was created my creating an
empty form in Qt Designer and adding a single member function to it.
Example files are attached.

It is still possible to add new methods to generated python class by
other means, e.g. by concatinaing it with another .py file with method
definitions, but it's something inconvinient. 


-- System Information:
Debian Release: 3.0
  APT prefers testing
  APT policy: (620, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R

--===============2094865540==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="form1.ui"

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>Form1</class>
<widget class="QWidget">
    <property name="name">
        <cstring>Form1</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>600</width>
            <height>480</height>
        </rect>
    </property>
    <property name="caption">
        <string>Form1</string>
    </property>
</widget>
<includes>
    <include location="local" impldecl="in implementation">form1.ui.h</include>
</includes>
<functions>
    <function>func1()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
</UI>

--===============2094865540==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="form1.ui.h"

/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you want to add, delete, or rename functions or slots, use
** Qt Designer to update this file, preserving your code.
**
** You should not define a constructor or destructor in this file.
** Instead, write your code in functions called init() and destroy().
** These will automatically be called by the form's constructor and
** destructor.
*****************************************************************************/



void Form1::func1()
{
print "Hello"
}

--===============2094865540==--

---------------------------------------
Received: (at 279563-done) by bugs.debian.org; 8 Feb 2005 20:55:18 +0000
>From [EMAIL PROTECTED] Tue Feb 08 12:55:18 2005
Return-path: <[EMAIL PROTECTED]>
Received: from imap.gmx.net (mail.gmx.net) [213.165.64.20] 
        by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
        id 1CycOD-0007km-00; Tue, 08 Feb 2005 12:55:17 -0800
Received: (qmail invoked by alias); 08 Feb 2005 20:54:46 -0000
Received: from stud223014.studentenheim.uni-tuebingen.de (EHLO 
[172.16.166.181]) (134.2.223.14)
  by mail.gmx.net (mp001) with SMTP; 08 Feb 2005 21:54:46 +0100
X-Authenticated: #14342181
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 08 Feb 2005 21:54:44 +0100
From: Torsten Marek <[EMAIL PROTECTED]>
User-Agent: Mozilla Thunderbird 1.0 (X11/20050116)
X-Accept-Language: de-DE, de, en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED],  [EMAIL PROTECTED]
Subject: Closing the bug
X-Enigmail-Version: 0.90.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I talked to the upstream author and he assured me that this is not a bug and
resembles the behaviour of uic. pyuic will only extract code of slot, not that
of normal methods. The message "Extracting func()" is misleading and therefore
is likely to be removed in future versions of pyuic.


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.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCCScUfMVFHqJEyFgRAjmeAKDOvJEk5C+oG9OUFrEL+5D5bIhu3wCguejs
yo1MAyCBA5fIYtQJF5zSzXw=
=ptaq
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to