Skip to content
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

Merged
merged 11 commits into from
May 31, 2021
Merged

QML plugin #216

merged 11 commits into from
May 31, 2021

Conversation

sebastian-wieczorek
Copy link
Contributor

Allows to create QML plugins from external QML files.

Sebastian Wieczorek added 2 commits September 22, 2020 10:17
Allow to create components on the fly with QML
@sebastian-wieczorek sebastian-wieczorek force-pushed the sewi branch 12 times, most recently from 4f0b11b to 41779a2 Compare October 1, 2020 12:35
@codecov
Copy link

codecov bot commented Oct 1, 2020

Codecov Report

Merging #216 (fbcddbc) into master (ea5e01b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master     #216    +/-   ##
========================================
  Coverage   99.80%   99.81%            
========================================
  Files         100      107     +7     
  Lines        3074     3240   +166     
========================================
+ Hits         3068     3234   +166     
  Misses          6        6            
Impacted Files Coverage Δ
src/common/bcastmsgs.h 100.00% <100.00%> (ø)
src/components/qmlexecutor/canbusmodel.hpp 100.00% <100.00%> (ø)
src/components/qmlexecutor/qmlexecutor.cpp 100.00% <100.00%> (ø)
src/components/qmlexecutor/qmlexecutor.h 100.00% <100.00%> (ø)
src/components/qmlexecutor/qmlexecutor_p.cpp 100.00% <100.00%> (ø)
src/components/qmlexecutor/qmlexecutor_p.h 100.00% <100.00%> (ø)
src/components/qmlexecutor/qmlexecutormodel.cpp 100.00% <100.00%> (ø)
src/components/qmlexecutor/qmlexecutormodel.h 100.00% <100.00%> (ø)
src/gui/projectconfig/projectconfig_p.h 100.00% <100.00%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea5e01b...fbcddbc. Read the comment docs.

@sebastian-wieczorek sebastian-wieczorek force-pushed the sewi branch 5 times, most recently from 799b025 to 11fbc2b Compare October 5, 2020 12:45
Sebastian Wieczorek and others added 6 commits October 6, 2020 10:18
- 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
Copy link
Contributor Author

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

Copy link
Member

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.

rkollataj added 2 commits May 31, 2021 12:24
Signed-off-by: Remigiusz Kołłątaj <[email protected]>
Signed-off-by: Remigiusz Kołłątaj <[email protected]>
@rkollataj rkollataj merged commit 4acee7b into GENIVI:master May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants