diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2015-05-18 18:33:50 -0300 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2015-05-18 18:33:50 -0300 |
commit | 7c4333eed407886114f33d803a3199c50556e4e3 (patch) | |
tree | 0f46c89bc7eaa08994faa1095b480baaa1f64c72 /main_view.qml | |
parent | 54571b4a4dcc076923325ee09ad348f389fc25a5 (diff) |
Updated UI.
- Removed unnecessary UI elements from QML file;
- Added the ColorScale class and implemented glyph color mapping from class
labels;
- Mark geometry nodes of individual glyphs as dirty when updating the schene
graph.
Diffstat (limited to 'main_view.qml')
-rw-r--r-- | main_view.qml | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/main_view.qml b/main_view.qml index bf143fc..a9ff37e 100644 --- a/main_view.qml +++ b/main_view.qml @@ -10,31 +10,4 @@ Item { objectName: "plot" anchors.fill: parent } - - Item { - id: messageBox - anchors.right: parent.right - anchors.left: parent.left - anchors.bottom: parent.bottom - - Rectangle { - color: Qt.rgba(1, 1, 1, 0.7) - radius: 5 - border.width: 1 - border.color: "white" - anchors.fill: messageLabel - anchors.margins: -10 - } - - Text { - id: messageLabel - color: "black" - wrapMode: Text.WordWrap - text: "The background here is a squircle rendered with raw OpenGL using the 'beforeRender()' signal in QQuickWindow. This text label and its border is rendered using QML" - anchors.right: parent.right - anchors.left: parent.left - anchors.bottom: parent.bottom - anchors.margins: 20 - } - } } |