PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 370 - Proper type system tag nesting
: Proper type system tag nesting
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: ApiExtractor
: HEAD
: All All
: P3 enhancement
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-09-20 15:03 EEST by Marcelo Lira
Modified: 2010-10-13 13:48 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Lira 2010-09-20 15:03:09 EEST
It would be nice that some tags could be nested where's appropriate.
For example, tags inner clsases should be able to be declared inside tags for
their enclosing classes.

Practical example for

class Foo {
  ...
  class Inner {}; 
};

Currently:

<value-type name="Foo"/>
<value-type name="Foo::Inner"/>

This would be more pleasant:

<value-type name="Foo">
  <value-type name="Inner"/>
</value-type>


"enum-type" tags would benefit similarly from this improvement.

enum GlobalEnum {...};
class Foo {
  enum ClassEnum {...};
};

Currently:

<enum-type name="GlobalEnum"/>
<enum-type name="Foo::ClassEnum"/>
<value-type name="Foo"/>

Better:

<enum-type name="GlobalEnum"/>
<value-type name="Foo">
  <enum-type name="ClassEnum"/>
</value-type>
Comment 1 Marcelo Lira 2010-09-23 10:21:59 EEST
Fixed in commits ApiExtractor/aca66a1e, Shiboken/681d7d56 and PySide/8048bd0c
Comment 2 renato filho 2010-10-13 13:48:50 EEST
released on PySide 0.4.2