~mutse-young/ubuntu-docviewer-app/trunk

« back to all changes in this revision

Viewing changes to src/app/qml/ErrorDialog.qml

  • Committer: Tarmac
  • Author(s): Stefano Verzegnassi
  • Date: 2014-11-07 22:02:18 UTC
  • mfrom: (36.3.6 content-hub-support)
  • Revision ID: tarmac-20141107220218-gpy3rrsdl8lgierw
Added ContentHub support. Fixes: https://bugs.launchpad.net/bugs/1387025, https://bugs.launchpad.net/bugs/1387026.

Approved by Arthur Mello, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import QtQuick 2.3
 
2
import Ubuntu.Components 1.1
 
3
import Ubuntu.Components.Popups 1.0
 
4
 
 
5
Dialog {
 
6
    id: errorDialogue
 
7
    title: i18n.tr("Error")
 
8
    text: i18n.tr("File does not exist")
 
9
 
 
10
    Button {
 
11
        text: i18n.tr("Close")
 
12
        color: "red"
 
13
 
 
14
        onClicked: Qt.quit();
 
15
    }
 
16
}