cginternals / qmltoolbox Goto Github PK
View Code? Open in Web Editor NEWQML item library for cross-platform graphics applications
License: MIT License
QML item library for cross-platform graphics applications
License: MIT License
add debug switch in settings that renders any qml item with an outline
should be limited though... (e.g., max 3 lines, then scroll)
On Ubuntu 17.04 using Qt 5.7, the following error occurs:
willy@willy-CM:~/cginternals/gloperate/build-debug$ ./gloperate-viewerd
QQmlApplicationEngine failed to load component
~/cginternals/gloperate/data/gloperate/qml/Viewer.qml:304 Type PropertyEditor unavailable
~/cginternals/qmltoolbox/data/qmltoolbox/qml/QmlToolbox/PropertyEditor/PropertyEditor.qml:21 Cannot override FINAL property
Workaround: commenting out the property or switching the Pane
(line 13) into a Row
.
also, rename fallback...
viewer must allow full screen mode
It seems like the Slider in QtQuick.Controls 2.x is missing the updateValueWhileDragging
property: https://doc.qt.io/qt-5/qml-qtquick-controls2-slider.html
On my system (Ubuntu 17.04, Qt 5.7), the following errors occur:
./build-debug/gloperate-viewerd
QQmlApplicationEngine failed to load component
file://[...]/gloperate/data/gloperate/qml/Viewer.qml:304 Type PropertyEditor unavailable
file://[...]/qmltoolbox/data/qmltoolbox/qml/QmlToolbox/PropertyEditor/PropertyEditor.qml:132 Type EditorProxy unavailable
file://[...]/qmltoolbox/data/qmltoolbox/qml/QmlToolbox/PropertyEditor/EditorProxy.qml:52 Type EditorNumber unavailable
file://[...]/qmltoolbox/data/qmltoolbox/qml/QmlToolbox/PropertyEditor/EditorNumber.qml:19 Type Slider unavailable
file://[...]/qmltoolbox/data/qmltoolbox/qml/QmlToolbox/Controls/Slider.qml:16 Cannot assign to non-existent property "updateValueWhileDragging"
Is this code, which is intended to get used in Qt 5.5 and above actually working for anyone?
I get the following errors when trying to run gloperate-viewer:
QQmlApplicationEngine failed to load component
file:///E:/projects/gloperate.git/data/gloperate/qml/Viewer.qml:304 Type PropertyEditor unavailable
file:///E:/projects/qmltoolbox.git/data/qmltoolbox/qml/QmlToolbox/PropertyEditor/PropertyEditor.qml:143 Type EditorProxy unavailable
file:///E:/projects/qmltoolbox.git/data/qmltoolbox/qml/QmlToolbox/PropertyEditor/EditorProxy.qml:58 Type EditorNumber unavailable
file:///E:/projects/qmltoolbox.git/data/qmltoolbox/qml/QmlToolbox/PropertyEditor/EditorNumber.qml:19 Type Slider unavailable
file:///E:/projects/qmltoolbox.git/data/qmltoolbox/qml/QmlToolbox/Controls/Slider.qml:18 Cannot override FINAL property
This is because Qt 5.9 introduced a live
property for the Slider
type (cf. http://doc.qt.io/qt-5/qml-qtquick-controls2-slider.html#live-prop), which is declared final.
I don't know if there are any further incompatibilities.
Using Qt 5.9.1 on Visual Studio 2017 Win64
In Popup.qml line 82 it seems like there is a recursion error during destruction.
If this line gets commented out everything works as expected, leaving this line as source code results in non-terminating programs.
Window.onContentItemChanged:
{
if (Window.contentItem !== null)
{
root.parent = Window.contentItem; // < Line 82
popup.parent = Window.contentItem;
/**
* TODO: Unfortunately, this doesn't work. Possible explanation:
* If parent is an ancestor of a item that hasn't been added
* to the item hierarchy yet, mapFromItem() fails. This is for example
* the case for the contentItem in Control.qml.
*/
popup.x = Qt.binding(function() { return root.parent.mapFromItem(privateItem.parentItem, root.x, root.y).x; });
popup.y = Qt.binding(function() { return root.parent.mapFromItem(privateItem.parentItem, root.x, root.y).y; });
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.