forked from qt-creator/qt-creator
16 lines
400 B
C++
16 lines
400 B
C++
|
|
#include "%ObjectName:l%.%CppHeaderSuffix%"
|
||
|
|
|
||
|
|
%ObjectName%::%ObjectName%(QQuickItem *parent):
|
||
|
|
QQuickItem(parent)
|
||
|
|
{
|
||
|
|
// By default, QQuickItem does not draw anything. If you subclass
|
||
|
|
// QQuickItem to create a visual item, you will need to uncomment the
|
||
|
|
// following line and re-implement updatePaintNode()
|
||
|
|
|
||
|
|
// setFlag(ItemHasContents, true);
|
||
|
|
}
|
||
|
|
|
||
|
|
%ObjectName%::~%ObjectName%()
|
||
|
|
{
|
||
|
|
}
|