mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 06:08:39 +00:00
feat: update main window
This commit is contained in:
parent
094e592dda
commit
28ed531cbb
1 changed files with 6 additions and 5 deletions
|
@ -10,20 +10,21 @@ Window {
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
// bg
|
// bg
|
||||||
Image {
|
BorderImage {
|
||||||
id: background
|
id: background
|
||||||
//anchors { top: parent.top; bottom: parent.bottom }
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
source: "qrc:/image/mainwindow/bg.png"
|
source: "qrc:/image/mainwindow/bg.png"
|
||||||
fillMode: Image.PreserveAspectCrop
|
border { left: 30; top: 30; right: 30; bottom: 30 }
|
||||||
|
horizontalTileMode: BorderImage.Stretch
|
||||||
|
verticalTileMode: BorderImage.Stretch
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
height: 30
|
height: 60
|
||||||
color: "red"
|
color: "transparent"
|
||||||
|
|
||||||
DragHandler {
|
DragHandler {
|
||||||
grabPermissions: TapHandler.CanTakeOverFromAnything
|
grabPermissions: TapHandler.CanTakeOverFromAnything
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue