Developer Blog - Inventic.eu
  • Skipper - The ORM Designer
  • VsBuilds - Parallel building
  • Pulpo - Free Skipper CLI

Tag: #qml

QML Notes

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);  
}  

QML Live editing

QML Lint

02 Jan 2016

Posted by: ludek.vodicka

Qt #Qt #debugging #qml #developing

Debugging QML application

Batches, clip, changes and overdraw

 

SET QSG_VISUALIZE=batches<br />
or<br />
SET QSG_VISUALIZE=clip<br />
or<br />
SET QSG_VISUALIZE=changes<br />
or<br />
SET QSG_VISUALIZE=overdraw</p>
<p>qmlviewer test.qml<br />

Links:

02 Jan 2016

Posted by: ludek.vodicka

Qt #Qt #debug #qml

Qml & QtQuick

Qt documentation

QML Canvas

QML States

QML MouseEvents

QML c++ integration

QtQuick painted items

QML charts

QML Diagrams

QML & QtQuick blogposts

QML Selection, multiselection, rectangle-selection

QML Tools

QML Applications

 

Other topics

27 Dec 2015

Posted by: ludek.vodicka

Qt #Qt #qtquick #qml