class $name$
{
public:
$name$() {}
};
class $name$ : public QObject
{
Q_OBJECT
public:
$name$() {}
virtual ~$name$() {}
};
class $name$ : public QWidget
{
Q_OBJECT
public:
$name$() {}
virtual ~$name$() {}
};
template <typename $T$>
class $name$
{
public:
$name$() {}
};
do {
} while ($condition$);
else {
}
else if ($condition$) {
}
for (int $var$ = 0; $var$ < $total$; ++$var$) {
}
foreach ($var$, $container$) {
}
if ($condition$) {
}
if ($condition$) {
} else {
}
namespace $name$ {
}
try {
} catch (...) {
}
using namespace $name$;
while ($condition$) {
}
property $type$ $name$: $value$
Item {
id: $name$
}
BorderImage {
id: $name$
source: "$file$"
width: $100$; height: $100$
border.left: $5$; border.top: $5$
border.right: $5$; border.bottom: $5$
}
Image {
id: $name$
source: "$file$"
}
Text {
id: $name$
text: "$text$"
}
states: [
State {
name: "$name$"
PropertyChanges {
target: $name$
$$
}
}
]
State {
name: "$name$"
PropertyChanges {
target: $name$
$$
}
}
transitions: [
Transition {
from: "$name$"
to: "$name$"
$$
}
]
Transition {
from: "$name$"
to: "$name$"
$$
}
PropertyChanges {
target: $name$
$$
}
NumberAnimation { targets: [$name$]; properties: "$name$"; duration: $200$ }
NumberAnimation { target: $name$; property: "$name$"; to: $value$; duration: $200$ }
PropertyAction { targets: [$name$]; properties: "$name$" }
PropertyAction { target: $name$; property: "$name$"; value: $value$ }
PauseAnimation { duration: $200$ }
ColorAnimation { from: $"white"$; to: $"black"$; duration: $200$ }