Skip to content
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.

Commit

Permalink
Added the engicam logo to the main window.:
Browse files Browse the repository at this point in the history
Signed-off-by: Gianni Valdambrini <aleister@develer.com>
  • Loading branch information
gvaldambrini committed Oct 14, 2013
1 parent 21928b0 commit a3d9937
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 4 deletions.
53 changes: 49 additions & 4 deletions qml/demo-qml/main.qml
Expand Up @@ -16,19 +16,64 @@ Image {
Image {
id: logoDeveler
source: "../../resources/icons/logo01.png"
opacity: 1
anchors {
top: root.top
topMargin: 25
topMargin: 10
left: root.left
leftMargin: 10
}

Text {
x: 13
y: -18
x: 27
y: 55
text: "Software design"
font.pointSize: 10
color: "#babbc0"
color: "#939393"
}
Behavior on opacity {
NumberAnimation { duration: 300 }
}
}

Image {
id: logoEngicam
source: "../../resources/icons/logo02.png"
opacity: 0
anchors {
top: root.top
topMargin: 10
left: root.left
leftMargin: 10
}

Text {
x: 40
y: 36
text: "Hardware design"
font.pointSize: 10
color: "#939393"
}

Behavior on opacity {
NumberAnimation { duration: 300 }
}
}

Timer {
id: logoAnimationTimer
interval: 10000
running: true
repeat: true
onTriggered: {
if (logoDeveler.opacity == 1) {
logoEngicam.opacity = 1
logoDeveler.opacity = 0
}
else {
logoEngicam.opacity = 0
logoDeveler.opacity = 1
}
}
}

Expand Down
Binary file modified resources/icons/logo02.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a3d9937

Please sign in to comment.