Commit 4b907d3e authored by Roman 3237465's avatar Roman 3237465

a parent of QGraphcsView is QWidget -- not QAbstractScrollArea

parent e349d7b8
......@@ -67,6 +67,7 @@ import Graphics.UI.Qtah.Generator.Interface.Gui.QPainterPath (c_QPainterPath)
import Graphics.UI.Qtah.Generator.Interface.Widgets.QAbstractScrollArea (c_QAbstractScrollArea)
import Graphics.UI.Qtah.Generator.Interface.Widgets.QGraphicsItem (c_QGraphicsItem)
import Graphics.UI.Qtah.Generator.Interface.Widgets.QGraphicsScene (c_QGraphicsScene)
import Graphics.UI.Qtah.Generator.Interface.Widgets.QWidget (c_QWidget)
import Graphics.UI.Qtah.Generator.Module (AModule (AQtModule), makeQtModule)
import Graphics.UI.Qtah.Generator.Types
......@@ -94,8 +95,8 @@ c_QGraphicsView =
makeClass (ident "QGraphicsView") Nothing [c_QAbstractScrollArea]
[ mkCtor "new" []
, mkCtor "newWithScene" [ptrT $ objT c_QGraphicsScene]
, mkCtor "newWithParent" [ptrT $ objT c_QAbstractScrollArea]
, mkCtor "newWithSceneAndParent" [ptrT $ objT c_QGraphicsScene, ptrT $ objT c_QAbstractScrollArea]
, mkCtor "newWithParent" [ptrT $ objT c_QWidget]
, mkCtor "newWithSceneAndParent" [ptrT $ objT c_QGraphicsScene, ptrT $ objT c_QWidget]
, mkConstMethod "alignment" [] $ bitspaceT bs_Alignment
, mkConstMethod "backgroundBrush" [] $ objT c_QBrush
, mkConstMethod "cacheMode" [] $ bitspaceT bs_CacheMode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment