Minor tweaks
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
parent
a0d354a8f9
commit
5813191191
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 45
|
implicitWidth: 45
|
||||||
height: 30
|
implicitHeight: 30
|
||||||
|
|
||||||
ToolTip.visible: hovered && !down
|
ToolTip.visible: hovered && !down
|
||||||
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 75
|
implicitWidth: 75
|
||||||
height: 15
|
implicitHeight: 15
|
||||||
|
|
||||||
contentItem: Image {
|
contentItem: Image {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 45
|
implicitWidth: 45
|
||||||
height: 30
|
implicitHeight: 30
|
||||||
|
|
||||||
property bool maximized: false
|
property bool maximized: false
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 45
|
implicitWidth: 45
|
||||||
height: 30
|
implicitHeight: 30
|
||||||
|
|
||||||
ToolTip.visible: hovered && !down
|
ToolTip.visible: hovered && !down
|
||||||
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 16
|
implicitWidth: 16
|
||||||
height: 14
|
implicitHeight: 14
|
||||||
|
|
||||||
contentItem: Image {
|
contentItem: Image {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 187
|
implicitWidth: 187
|
||||||
height: 50
|
implicitHeight: 50
|
||||||
|
|
||||||
contentItem: Image {
|
contentItem: Image {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 45
|
implicitWidth: 45
|
||||||
height: 45
|
implicitHeight: 45
|
||||||
|
|
||||||
contentItem: Image {
|
contentItem: Image {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 16
|
implicitWidth: 16
|
||||||
height: 14
|
implicitHeight: 14
|
||||||
|
|
||||||
contentItem: Image {
|
contentItem: Image {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 14
|
implicitWidth: 14
|
||||||
height: 14
|
implicitHeight: 14
|
||||||
|
|
||||||
contentItem: Image {
|
contentItem: Image {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 18
|
implicitWidth: 18
|
||||||
height: 14
|
implicitHeight: 14
|
||||||
|
|
||||||
contentItem: Image {
|
contentItem: Image {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 45
|
implicitWidth: 45
|
||||||
height: 30
|
implicitHeight: 30
|
||||||
|
|
||||||
ToolTip.visible: hovered && !down
|
ToolTip.visible: hovered && !down
|
||||||
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 45
|
implicitWidth: 45
|
||||||
height: 30
|
implicitHeight: 30
|
||||||
|
|
||||||
property bool maximized: false
|
property bool maximized: false
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ import QtQuick.Controls 2.15
|
||||||
Button {
|
Button {
|
||||||
id: button
|
id: button
|
||||||
|
|
||||||
width: 45
|
implicitWidth: 45
|
||||||
height: 30
|
implicitHeight: 30
|
||||||
|
|
||||||
ToolTip.visible: hovered && !down
|
ToolTip.visible: hovered && !down
|
||||||
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
|
||||||
|
|
Loading…
Reference in New Issue