summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kamerka.qml12
-rw-r--r--src/main.cpp4
2 files changed, 13 insertions, 3 deletions
diff --git a/src/kamerka.qml b/src/kamerka.qml
index 61e629c..775fd49 100644
--- a/src/kamerka.qml
+++ b/src/kamerka.qml
@@ -80,6 +80,11 @@ Rectangle {
target: picture;
opacity: 1;
}
+ PropertyChanges {
+ target: mousePhoto;
+ enabled: false;
+ cursorShape: Qt.ArrowCursor;
+ }
}
transitions: Transition {
@@ -91,6 +96,7 @@ Rectangle {
NumberAnimation { properties: "width,height,x,y,rotation"; duration: 1000; easing.type: Easing.OutQuad; }
NumberAnimation { duration: 1000; }
NumberAnimation { target: photo; property: "opacity"; duration: 1500; easing.type:Easing.InQuad; }
+ NumberAnimation { target: mousePhoto; properties: "enabled,cursorShape"; }
}
}
@@ -128,9 +134,9 @@ Rectangle {
MouseArea {
id: mousePhoto;
anchors.fill: parent;
- hoverEnabled: true;
- cursorShape: Qt.PointingHandCursor;
onClicked: openFile(fileName);
+ cursorShape: Qt.ArrowCursor;
+ enabled: false;
}
}
@@ -146,6 +152,8 @@ Rectangle {
page.rand=Math.random()*60;
picture.opacity=0;
photo.opacity=1;
+ mousePhoto.enabled = true;
+ mousePhoto.cursorShape = Qt.PointingHandCursor;
}
function photoTaken() {
take=true;
diff --git a/src/main.cpp b/src/main.cpp
index c46cdf3..c95b93d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -24,7 +24,9 @@
#define VERSION "0.19"
int main(int argc, char *argv[]) {
- printf("Kamerka version %s\n Copyright (C) 2011-2016 Sebastian Krzyszkowiak\n", VERSION);
+ printf("Kamerka version %s\n", VERSION);
+ printf(" Copyright (C) 2011-2016 Sebastian Krzyszkowiak\n");
+ printf(" https://dosowisko.net/\n");
printf(" Kamerka comes with ABSOLUTELY NO WARRANTY.\n");
printf(" This is free software, and you are welcome to redistribute it\n");
printf(" under certain conditions; type `./kamerka --license' for details.\n\n");