[PyQt] Basic QQmlComponent question
jbaack at accelerantsys.com
Tue Apr 18 05:35:28 BST 2017
I am new to PyQt - enjoying it so far but have a lot to learn.
I was expecting the code below to print the type as "QGridLayout" but it is instead "QObject". Am I doing something wrong here or is my expectation incorrect? I appreciate the help.
engine = QQmlEngine()
gridlayouts = QQmlComponent(engine)
gridlayout1 = gridlayouts.create()
import QtQuick 2.0
import QtQuick.Layouts 1.3
More information about the PyQt