aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-01-29 10:13:38 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2016-01-29 10:13:38 +0100
commit6dabb067733e0d27d71e56b9542a13b197e2065c (patch)
tree1f6efa5cfc55e84f26fd86aa5644c067be215dea
parent8444cda9634e53aa1987a0f5039f73c815b67d3b (diff)
Fixed screenshot functionality and splat visibility.
-rw-r--r--main_view.qml15
1 files changed, 8 insertions, 7 deletions
diff --git a/main_view.qml b/main_view.qml
index 800453e..2336e44 100644
--- a/main_view.qml
+++ b/main_view.qml
@@ -264,6 +264,7 @@ ApplicationWindow {
checkable: true
__checkbox.onClicked: {
rpPlot.visible = this.checked;
+ splat.visible = this.checked;
}
GridLayout {
@@ -298,12 +299,8 @@ ApplicationWindow {
GroupBox {
Layout.columnSpan: 2
+ flat: true
title: "Splat"
- checkable: true
- __checkbox.onClicked: {
- splat.visible = this.checked;
- colormap.visible = this.checked;
- }
GridLayout {
columns: 2
@@ -417,8 +414,12 @@ ApplicationWindow {
result.saveToFile("screenshot-main.png");
});
- bottomView.grabToImage(function(result) {
- result.saveToFile("screenshot-bottom.png");
+ bottomViewCP.grabToImage(function(result) {
+ result.saveToFile("screenshot-bottom-cp.png");
+ });
+
+ bottomViewRP.grabToImage(function(result) {
+ result.saveToFile("screenshot-bottom-rp.png");
});
}
}