Skip to content

Commit e19d59e

Browse files
committed
Update Readme to reflect the use of QQuickItem backend and add images
1 parent bb4ef4b commit e19d59e

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed
52.1 KB
Loading
70.7 KB
Loading

QtWidgets/QtWidgets_UI.PNG

58.2 KB
Loading

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@ Derivation of the example have been made based on the three following Qt technol
88
- QtQuick Controls 2.0 (actually Qt.labs.controls 1.0 as I used PyQt 5.6)
99

1010
The goal of this work was to play around with QtQuick and PyQt5. The integration of matplotlib with QtWidgets is the best
11-
as a backend support full interactivity and navigation toolbar. The QtQuick alternative is crude (derivation of
12-
QQuickImageProvider). The figure is rendered in background and feeds back as image to the UI.
11+
as a backend support full interactivity and navigation toolbar. A new matplotlib backend based on a QQuickItem has been
12+
created to restore maximal interactivity.
1313

1414
The logic behind QtWidgets GUI and QtQuick is quite different. For example, in the former, the Python script takes care of
1515
reading all widgets before updating the figure. But in the latter, QtQuick controls are binded to Python properties that
1616
emit signal forcing the figure to update.
1717

18+
![QtWidgets version](./QtWidgets/QtWidgets_UI.PNG)
19+
![QtQuick Controls 1.0 version](./QtQuick_controls_v1/QtQuickControls1.PNG)
20+
![QtQuick Controls 2.0 version](./QtQuick_controls_v2/QtQuickControls2.PNG)
21+
1822
Code functions
1923
==============
2024

0 commit comments

Comments
 (0)