Scroll and wage fix - Employee
This commit is contained in:
@@ -2,8 +2,12 @@ import QtQuick
|
|||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
import Js
|
import Js
|
||||||
ColumnLayout {
|
|
||||||
id: colPar
|
ScrollView
|
||||||
|
{
|
||||||
|
id: scroll
|
||||||
|
width: parent.width
|
||||||
|
height: parent.height
|
||||||
|
|
||||||
function checkFields() {
|
function checkFields() {
|
||||||
if (!personalData.checkPersonalField())
|
if (!personalData.checkPersonalField())
|
||||||
@@ -20,9 +24,13 @@ ColumnLayout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ColumnLayout {
|
||||||
|
id: colPar
|
||||||
|
|
||||||
|
height: Screen.desktopAvailableHeight
|
||||||
|
width: scroll.width
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
anchors.fill: parent
|
|
||||||
implicitWidth: parent.width
|
implicitWidth: parent.width
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
@@ -34,7 +42,7 @@ ColumnLayout {
|
|||||||
|
|
||||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
||||||
font.pixelSize: 35
|
font.pixelSize: 35
|
||||||
text: qsTr("Mitarbeiter / Bewerber hinzufügen")
|
text: qsTr("Mitarbeiter hinzufügen")
|
||||||
}
|
}
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
@@ -98,4 +106,5 @@ ColumnLayout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -292,6 +292,10 @@ GridLayout {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
placeholderTextColor: "red"
|
placeholderTextColor: "red"
|
||||||
|
|
||||||
|
validator: RegularExpressionValidator {
|
||||||
|
regularExpression: /([0-9]{1,3})/
|
||||||
|
}
|
||||||
|
|
||||||
onTextChanged: checkFields()
|
onTextChanged: checkFields()
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ ColumnLayout {
|
|||||||
ListElement {
|
ListElement {
|
||||||
name: "Mitarbeiter"
|
name: "Mitarbeiter"
|
||||||
selected: false
|
selected: false
|
||||||
text: qsTr("Kunde")
|
text: qsTr("Mitarbeiter")
|
||||||
}
|
}
|
||||||
ListElement {
|
ListElement {
|
||||||
name: "Erledigt"
|
name: "Erledigt"
|
||||||
|
|||||||
Reference in New Issue
Block a user