mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
revisions
This commit is contained in:
parent
c275a0188d
commit
0cb972196e
4 changed files with 34 additions and 26 deletions
|
|
@ -1,13 +1,15 @@
|
|||
import QtQuick 2.15
|
||||
|
||||
Rectangle {
|
||||
radius: 50
|
||||
color: Qt.lighter("red", 1.5)
|
||||
border.width: 10
|
||||
border.color: "red"
|
||||
Item {
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: Qt.lighter("red", 1.5)
|
||||
border.width: 10
|
||||
border.color: "red"
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "<h2>page 1</h2>"
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "<h2>page 1</h2>"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
import QtQuick 2.15
|
||||
|
||||
Rectangle {
|
||||
radius: 50
|
||||
color: Qt.lighter("green", 3.0)
|
||||
border.width: 10
|
||||
border.color: "green"
|
||||
Item {
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
radius: 100
|
||||
color: Qt.lighter("green", 3.0)
|
||||
border.width: 10
|
||||
border.color: "green"
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "<h2>page 2</h2>"
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "<h2>page 2</h2>"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,18 @@
|
|||
import QtQuick 2.15
|
||||
|
||||
Rectangle {
|
||||
radius: 50
|
||||
color: Qt.lighter("blue", 1.7)
|
||||
border.width: 10
|
||||
border.color: "blue"
|
||||
|
||||
Text {
|
||||
Item {
|
||||
Rectangle {
|
||||
anchors.centerIn: parent
|
||||
text: "<h2>page 3</h2>"
|
||||
width: Math.min(parent.width, parent.height)
|
||||
height: width
|
||||
radius: width
|
||||
color: Qt.lighter("blue", 1.7)
|
||||
border.width: 10
|
||||
border.color: "blue"
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "<h2>page 3</h2>"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ Item {
|
|||
padding: 2
|
||||
textFormat: Text.PlainText
|
||||
font.family: fontHack.name
|
||||
font.pixelSize: 16
|
||||
font.bold: mBold
|
||||
text: mText
|
||||
color: mColor
|
||||
|
|
@ -82,7 +81,6 @@ Item {
|
|||
objectName: "repl_input"
|
||||
width: repl.parent.width - 2 * back.width
|
||||
font.family: fontHack.name
|
||||
font.pixelSize: 16
|
||||
font.bold: true
|
||||
color: "#c0c0c0"
|
||||
inputMethodHints: Qt.ImhNoAutoUppercase | Qt.ImhNoPredictiveText
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue