Move settings into a separate window, prepare YouAds component for a native rewrite

This commit is contained in:
Dark Steveneq
2025-10-13 13:30:03 +02:00
parent 362166cc1f
commit 1d312ca9d1
8 changed files with 158 additions and 213 deletions

View File

@@ -3,8 +3,7 @@ import QtQuick.Controls 6.8
import QtQuick.Controls.Basic 6.8
TabButton {
leftPadding: 5
rightPadding: 5
property bool outlined: false
implicitHeight: 36
contentItem: Text {
@@ -19,8 +18,10 @@ TabButton {
}
background: Rectangle {
color: checked ? (parent.hovered ? Colors.secondaryAlt : Colors.secondary) : (parent.hovered ? Colors.primaryAlt : Colors.primary)
color: parent.outlined ? "transparent" : (parent.hovered ? Colors.primaryAlt : Colors.primary)
border.color: (parent.hovered ? "#555" : "#777")
border.width: (parent.outlined || parent.focuesd) ? 2 : 0
opacity: enabled ? 1 : 0.3
radius: 5
}
}
}