[Kde-bindings] [Bug 149343] New: [Qyoto]uics generate wrong cs code about QDockWidgetArea.

cjacker jzhuang at redflag-linux.com
Wed Aug 29 15:39:33 UTC 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=149343         
           Summary: [Qyoto]uics generate wrong cs code about
                    QDockWidgetArea.
           Product: bindings
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings kde org
        ReportedBy: jzhuang redflag-linux com


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.



More information about the Kde-bindings mailing list