Permalink
Browse files

Updated to latest version of Ubuntu components. Removed toolbar as pa…

…rt of this.

Added new About Popover.

Fixed broken images in OptionSelector.
  • Loading branch information...
Aaron Hastings
Aaron Hastings committed Dec 21, 2014
1 parent a66f563 commit a7d3a6b8d7dd3a534455ae2a1f8e1697c0cef212
Showing with 162 additions and 156 deletions.
  1. +6 −3 uDART.qml
  2. +51 −0 ui/AboutPopover.qml
  3. +105 −112 ui/MainPage.qml
  4. +0 −41 ui/Toolbar.qml
@@ -1,16 +1,19 @@
import QtQuick 2.0
import Ubuntu.Components 0.1
import Ubuntu.Components 1.1
import U1db 1.0 as U1db
import "ui"

MainView {
objectName: "mainView"
id: mainView

applicationName: "org.thecosmicfrog.udart"
property string version: "0.13"

useDeprecatedToolbar: false

//automaticOrientation: true

width: units.gu(44)
width: units.gu(45)
height: units.gu(78)

function getArray(obj) {
@@ -0,0 +1,51 @@
import QtQuick 2.0
import Ubuntu.Components 1.1
import Ubuntu.Components.ListItems 0.1 as ListItem
import Ubuntu.Components.Popups 1.0

Component {
id: popoverComponent

Popover {
id: aboutPopover

Column {
id: aboutColumn

anchors {
left: parent.left
right: parent.right
}

ListItem.Header {
text: "uDART\tv" + version
}

ListItem.Standard {
text: "Written by Aaron Hastings (thecosmicfrog)"

onClicked: Qt.openUrlExternally("https://github.com/thecosmicfrog")
}

ListItem.Standard {
text: "License: GNU GPLv3"
}

ListItem.Standard {
text: "Source code, bugs and feature requests:<br>
<a href=\"https://github.com/thecosmicfrog/uDART\">github.com/thecosmicfrog/uDART</a>"

onClicked: Qt.openUrlExternally("https://github.com/thecosmicfrog/uDART")
}

ListItem.SingleControl {
highlightWhenPressed: false

control: Button {
text: "Close"
onClicked: PopupUtils.close(aboutPopover)
}
}
}
}
}
Oops, something went wrong.

0 comments on commit a7d3a6b

Please sign in to comment.