Bug 149343 - [Qyoto]uics generate wrong cs code about QDockWidgetArea.
Summary: [Qyoto]uics generate wrong cs code about QDockWidgetArea.
Status: RESOLVED FIXED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-29 17:39 UTC by cjacker
Modified: 2013-01-04 20:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cjacker 2007-08-29 17:39:32 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

the committed patch from here
http://www.nabble.com/KDE-kdebindings-csharp-qyoto-t4254377.html
fix the toolbar Area issue. but the fix for DockWidget is no needed(I do not known whether there is a patch for Qt new versions to change the number to string. but it really broken QT 4.3.1 support.)

I am using Qt 4.3.1(also test Qt 4.3.0), for DockWidget Area, it use number instead of a string like(BottomDockWidgetArea...),here is a example generate by designer from qt-4.3.1.

  <widget class="QDockWidget" name="side_dock" >
   <attribute name="dockWidgetArea" >
    <number>1</number>
   </attribute>
   <widget class="QWidget" name="dockWidgetContents" />
  </widget>


also, in qnamespace.h
        LeftDockWidgetArea = 0x1,
        RightDockWidgetArea = 0x2,
        TopDockWidgetArea = 0x4,
        BottomDockWidgetArea = 0x8,

        DockWidgetArea_Mask = 0xf,
        AllDockWidgetAreas = DockWidgetArea_Mask,
        NoDockWidgetArea = 0

But, the AllDockWidgetAreas NoDockWidgetArea DockWidgetArea_Mask did not works at all. anyway, the original code of DockWidgetArea in uics is works, but the patch break it.