commit problems
This commit is contained in:
@@ -2,16 +2,14 @@ import QtQuick
|
|||||||
import QtQuick.Templates as T
|
import QtQuick.Templates as T
|
||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
|
|
||||||
T.ComboBox
|
T.ComboBox {
|
||||||
{
|
|
||||||
id: control
|
id: control
|
||||||
|
|
||||||
font: Typography.body
|
font: Typography.body
|
||||||
implicitHeight: background.height
|
implicitHeight: background.height
|
||||||
padding: Dimensions.m
|
padding: Dimensions.m
|
||||||
|
|
||||||
background: Rectangle
|
background: Rectangle {
|
||||||
{
|
|
||||||
border.color: Colors.interactive
|
border.color: Colors.interactive
|
||||||
border.width: 1
|
border.width: 1
|
||||||
color: Colors.mantle
|
color: Colors.mantle
|
||||||
@@ -35,22 +33,6 @@ T.ComboBox
|
|||||||
required property int index
|
required property int index
|
||||||
required property var model
|
required property var model
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
delegate: T.ItemDelegate
|
|
||||||
{
|
|
||||||
width: control.width
|
|
||||||
height: implicitContentHeight + topPadding + bottomPadding
|
|
||||||
padding: Dimensions.s
|
|
||||||
leftPadding: control.leftPadding
|
|
||||||
contentItem: Label
|
|
||||||
{
|
|
||||||
text: control.textRole ? model[control.textRole] : modelData
|
|
||||||
color: Colors.foreground
|
|
||||||
elide: Text.ElideRight
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
>>>>>>> main
|
|
||||||
highlighted: control.highlightedIndex === index
|
highlighted: control.highlightedIndex === index
|
||||||
hoverEnabled: control.hoverEnabled
|
hoverEnabled: control.hoverEnabled
|
||||||
text: model[control.textRole]
|
text: model[control.textRole]
|
||||||
@@ -62,13 +44,7 @@ T.ComboBox
|
|||||||
width: menuItem.width
|
width: menuItem.width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
indicator: Label
|
|
||||||
{
|
|
||||||
x: control.width - width
|
|
||||||
=======
|
|
||||||
indicator: Label {
|
indicator: Label {
|
||||||
>>>>>>> main
|
|
||||||
height: control.height
|
height: control.height
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
padding: Dimensions.s
|
padding: Dimensions.s
|
||||||
@@ -77,12 +53,7 @@ T.ComboBox
|
|||||||
width: contentWidth + Dimensions.s * 2
|
width: contentWidth + Dimensions.s * 2
|
||||||
x: control.width - width
|
x: control.width - width
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
background: Rectangle
|
|
||||||
{
|
|
||||||
=======
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
>>>>>>> main
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
border.color: Colors.interactive
|
border.color: Colors.interactive
|
||||||
bottomRightRadius: Dimensions.radius
|
bottomRightRadius: Dimensions.radius
|
||||||
@@ -90,16 +61,6 @@ T.ComboBox
|
|||||||
topRightRadius: Dimensions.radius
|
topRightRadius: Dimensions.radius
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
popup: T.Popup
|
|
||||||
{
|
|
||||||
y: control.height
|
|
||||||
z: 2
|
|
||||||
width: control.width
|
|
||||||
contentItem: ListView
|
|
||||||
{
|
|
||||||
=======
|
|
||||||
popup: T.Popup {
|
popup: T.Popup {
|
||||||
width: control.width
|
width: control.width
|
||||||
height: Math.min(contentItem.implicitHeight + 2, control.Window.height - topMargin - bottomMargin)
|
height: Math.min(contentItem.implicitHeight + 2, control.Window.height - topMargin - bottomMargin)
|
||||||
@@ -113,7 +74,6 @@ T.ComboBox
|
|||||||
radius: Dimensions.radius
|
radius: Dimensions.radius
|
||||||
}
|
}
|
||||||
contentItem: ListView {
|
contentItem: ListView {
|
||||||
>>>>>>> main
|
|
||||||
clip: true
|
clip: true
|
||||||
currentIndex: control.highlightedIndex
|
currentIndex: control.highlightedIndex
|
||||||
implicitHeight: contentHeight
|
implicitHeight: contentHeight
|
||||||
@@ -121,23 +81,10 @@ T.ComboBox
|
|||||||
|
|
||||||
T.ScrollBar.vertical: ScrollBar { }
|
T.ScrollBar.vertical: ScrollBar { }
|
||||||
|
|
||||||
highlight: Rectangle
|
highlight: Rectangle {
|
||||||
{
|
|
||||||
color: Colors.primary
|
color: Colors.primary
|
||||||
opacity: Colors.highlightOpacity
|
opacity: Colors.highlightOpacity
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
ScrollIndicator.vertical: ScrollIndicator {}
|
|
||||||
}
|
|
||||||
|
|
||||||
background: Rectangle
|
|
||||||
{
|
|
||||||
color: Colors.mantle
|
|
||||||
border.color: Colors.interactive
|
|
||||||
radius: Dimensions.radius
|
|
||||||
=======
|
|
||||||
>>>>>>> main
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
3506
doc/.$datenbank.drawio.dtmp
Normal file
3506
doc/.$datenbank.drawio.dtmp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user