A Qt and QML based Library/Plugin for Knobs.
QtKnobs is a Qt and QML based Library/Plugin which provides different types of Knobs.
Screenshots:
Qt >= 5.3
The compiled plugin (libqtknobsplugin.so on .nix systems) would be in directory imports/QtKnobs with file qmldir.
If you make install then you need not do anything. But just in case if you want it to be included in your application then:
For eg. If the directory imports is at location /home/ashish/KnobsTest then,
QQuickView view;
view.engine()->addImportPath("/home/ashish/KnobsTest/imports");
view.show();
Additionally, to make QtCreator aware of it (and to get rid of the annoying QML module not found during import) add the path in .pro file,
QML_IMPORT_PATH = /home/ashish/KnobsTest/imports
A simple Knob:
import QtQuick 2.0
import QtKnobs 1.0
Knob {
value: 25
}
You can find more examples in QtKnobs/examples/main.qml
MIT
Feel free to contact me for any questions at ashishd157 at gmail.com.