import QtQuick 2.3
import QtQuick.Window 2.2
Window {
visible: true
width: 800
height: 600
Column {
spacing: 20
// http://unicode.org/reports/tr9/#N0, Example 1:
// AB ( CD [ & ef ] ! ) gh
Text {
text: "
אב(גד[&ef]!)gh
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 1:
// AB ( CD [ & ef ] ! ) gh
Text {
text: "אב(גד[&ef]!)gh
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 1, AB and gh swapped:
// gh ( CD [ & ef ] ! ) AB
Text {
text: "gh(גד[&ef]!)אב
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 1, AB and gh swapped:
// gh ( CD [ & ef ] ! ) AB
Text {
text: "gh(גד[&ef]!)אב
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 1, CD and ef swapped:
// AB ( ef [ & CD ] ! ) gh
Text {
text: "אב(ef[&גד]!)gh
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 1, CD and ef swapped:
// AB ( ef [ & CD ] ! ) gh
Text {
text: "אב(ef[&גד]!)gh
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 2:
// smith (fabrikam ARABIC) HEBREW
Text {
text: "smith (fabrikam العربي) עברית
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 2:
// smith (fabrikam ARABIC) HEBREW
Text {
text: "smith (fabrikam العربي) עברית
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 2 with smith and HEBREW exchanged:
// HEBREW (fabrikam ARABIC) smith
Text {
text: "עברית (fabrikam العربي) smith
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 2 with smith and HEBREW exchanged:
// HEBREW (fabrikam ARABIC) smith
Text {
text: "עברית (fabrikam العربي) smith
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 2 with fabrikam and ARABIC exchanged:
// smith (ARABIC fabrikam) HEBREW
Text {
text: "smith (العربي fabrikam) עברית
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 2 with fabrikam and ARABIC exchanged:
// smith (ARABIC fabrikam) HEBREW
Text {
text: "smith (العربي fabrikam) עברית
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 3:
// ARABIC book(s)
Text {
text: "العربي book(s)
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 3:
// ARABIC book(s)
Text {
text: "العربي book(s)
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 3, LTR and RTL exchanged:
// arabic BOOK(S)
Text {
text: "arabic كِتَاب(كُتُب)
"
textFormat: Text.RichText
}
// http://unicode.org/reports/tr9/#N0, Example 3, LTR and RTL exchanged:
// arabic BOOK(S)
Text {
text: "arabic كِتَاب(كُتُب)
"
textFormat: Text.RichText
}
}
}