-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QML plugin #216
QML plugin #216
Conversation
Allow to create components on the fly with QML
4f0b11b
to
41779a2
Compare
Codecov Report
@@ Coverage Diff @@
## master #216 +/- ##
========================================
Coverage 99.80% 99.81%
========================================
Files 100 107 +7
Lines 3074 3240 +166
========================================
+ Hits 3068 3234 +166
Misses 6 6
Continue to review full report at Codecov.
|
799b025
to
11fbc2b
Compare
11fbc2b
to
ad755e1
Compare
- Add dock/undock - Add show/hide log window - Change buttons layout Signed-off-by: Remigiusz Kołłątaj <[email protected]>
Signed-off-by: Remigiusz Kołłątaj <[email protected]>
Signed-off-by: Remigiusz Kołłątaj <[email protected]>
Signed-off-by: Remigiusz Kołłątaj <[email protected]>
Signed-off-by: Remigiusz Kołłątaj <[email protected]>
@@ -96,27 +97,36 @@ public slots: | |||
{ | |||
if(url.isValid() && !url.isEmpty()) | |||
{ | |||
_qmlUrl = url; | |||
// The easiest way to reload QML seems to be creating new QQuickWidget |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loadQML function is aware of that so no fuss is needed here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not an expert here but I was getting a lot of warnings about NULL reference when reloading QML (although new QML was working properly...). It seems to me that clearComponentCache that was used to clear engine was not clearing context properties.
Signed-off-by: Remigiusz Kołłątaj <[email protected]>
Signed-off-by: Remigiusz Kołłątaj <[email protected]>
Allows to create QML plugins from external QML files.