Styling test

This commit is contained in:
2024-11-04 15:51:51 +01:00
parent fcdcf3b0d9
commit 64d4fa3305
9 changed files with 105 additions and 16 deletions

View File

@@ -2,7 +2,6 @@ import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
// Item
// {
// id: topBar
@@ -14,11 +13,13 @@ import QtQuick.Layouts
// }
// height: 30
RowLayout
{
id: topBar
height: 35
width: parent.width / 8
width: parent.width
@@ -26,11 +27,19 @@ import QtQuick.Layouts
{
top: parent.top
left: parent.left
}
}
Button
{
id: dashBoard
// implicitWidth: 65
// implicitHeight: 25
// background: Rectangle
// {
// border.color: "#f6f6f6"
// border.width: 1
// radius: 4
// }
Text
{
text: "Dashboard"
@@ -40,6 +49,14 @@ import QtQuick.Layouts
Button
{
id: kunden
// implicitWidth: 65
// implicitHeight: 25
// background: Rectangle
// {
// border.color: "#f6f6f6"
// border.width: 1
// radius: 4
// }
Text
{
text: "Kunden"
@@ -49,6 +66,14 @@ import QtQuick.Layouts
Button
{
id: objekt
// implicitWidth: 65
// implicitHeight: 25
// background: Rectangle
// {
// border.color: "#f6f6f6"
// border.width: 1
// radius: 4
// }
Text
{
text: "Objekt"
@@ -58,6 +83,14 @@ import QtQuick.Layouts
Button
{
id: mitarbeiter
// implicitWidth: 65
// implicitHeight: 25
// background: Rectangle
// {
// border.color: "#f6f6f6"
// border.width: 1
// radius: 4
// }
Text
{
text: "Mitarbeiter"
@@ -67,15 +100,38 @@ import QtQuick.Layouts
Button
{
id: abrechnung
// implicitWidth: 79
// implicitHeight: 25
// //color: button.down ? "#d6d6d6" : "#f6f6f6"
// background: Rectangle
// {
// border.color: "#f6f6f6"
// border.width: 1
// radius: 4
// }
Text
{
text: "Abrechnung"
anchors.centerIn: parent
}
}
Item
{
id: hspacer
Layout.fillWidth: true
}
Image
{
id: atajos
source: "../doc/icons/menu.png"
sourceSize.height: 35
}
}