Sources
F5 for instant reload,
class UltraView : public QQuickView { protected: void keyPressEvent(QKeyEvent*event) override { if(event->key()==Qt::Key_F5){ auto oldSource=source(); setSource({}); engine()->clearComponentCache(); setSource(oldSource); } } };
F10 and F11 for slowing down animations
else if(event->key()==Qt::Key_F10) { QUnifiedTimer::instance()->setSlowModeEnabled(true); QUnifiedTimer::instance()->setSlowdownFactor(10); } else if(event->key()==Qt::Key_F11) { QUnifiedTimer::instance()->setSlowModeEnabled(false); QUnifiedTimer::instance()->setSlowdownFactor(1); }