Guitest
This commit is contained in:
81
gui/TopBar.qml
Normal file
81
gui/TopBar.qml
Normal file
@@ -0,0 +1,81 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
|
||||
|
||||
// Item
|
||||
// {
|
||||
// id: topBar
|
||||
// anchors
|
||||
// {
|
||||
// top: parent.top
|
||||
// left: parent.left
|
||||
// right: parent.right
|
||||
|
||||
// }
|
||||
// height: 30
|
||||
RowLayout
|
||||
{
|
||||
id: topBar
|
||||
height: 35
|
||||
width: parent / 4
|
||||
|
||||
|
||||
|
||||
anchors
|
||||
{
|
||||
top: parent.top
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
}
|
||||
|
||||
Button
|
||||
{
|
||||
// width: parent.width/7
|
||||
|
||||
Layout.preferredWidth: parent.width/5
|
||||
Text
|
||||
{
|
||||
text: "Dashboard"
|
||||
id: dashBoard
|
||||
|
||||
}
|
||||
}
|
||||
Button
|
||||
{
|
||||
Layout.preferredWidth: parent.width/5
|
||||
Text
|
||||
{
|
||||
text: "Kunden"
|
||||
}
|
||||
}
|
||||
Button
|
||||
{
|
||||
Layout.preferredWidth: parent.width/5
|
||||
Text
|
||||
{
|
||||
text: "Objekt"
|
||||
}
|
||||
}
|
||||
Button
|
||||
{
|
||||
Layout.preferredWidth: parent.width/5
|
||||
Text
|
||||
{
|
||||
text: "Mitarbeiter"
|
||||
}
|
||||
}
|
||||
Button
|
||||
{
|
||||
Layout.preferredWidth: parent.width/5
|
||||
Text
|
||||
{
|
||||
text: "Abrechnung"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user