Compare commits
3 Commits
schnacke
...
db7aeb097e
| Author | SHA256 | Date | |
|---|---|---|---|
| db7aeb097e | |||
| bf3bf8fe3e | |||
| fff434a3b5 |
@@ -1,14 +1,13 @@
|
|||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
import QtQuick.Controls
|
|
||||||
import TeroStyle
|
import TeroStyle
|
||||||
import Js
|
import Js
|
||||||
|
|
||||||
ScrollView
|
|
||||||
{
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
|
||||||
|
anchors.fill: parent
|
||||||
spacing: Dimensions.l
|
spacing: Dimensions.l
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
employee_model.addedNewEmployee.connect(successful => {
|
employee_model.addedNewEmployee.connect(successful => {
|
||||||
if (successful)
|
if (successful)
|
||||||
@@ -49,4 +48,3 @@ ScrollView
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ import QtQuick
|
|||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
import Js
|
import Js
|
||||||
|
ColumnLayout {
|
||||||
|
id: colPar
|
||||||
|
|
||||||
ScrollView
|
|
||||||
{
|
|
||||||
function checkFields() {
|
function checkFields() {
|
||||||
if (!personalData.checkPersonalField())
|
if (!personalData.checkPersonalField())
|
||||||
saveBtn.enabled = false;
|
saveBtn.enabled = false;
|
||||||
@@ -19,10 +19,6 @@ ScrollView
|
|||||||
console.log('failedtoadd');
|
console.log('failedtoadd');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ColumnLayout {
|
|
||||||
id: colPar
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
@@ -44,9 +40,6 @@ ScrollView
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
spacing: Dimensions.l
|
spacing: Dimensions.l
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Frame {
|
Frame {
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
@@ -106,4 +99,3 @@ ScrollView
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -4,18 +4,12 @@ import QtQuick.Controls
|
|||||||
import QtQuick.Dialogs
|
import QtQuick.Dialogs
|
||||||
import Js
|
import Js
|
||||||
|
|
||||||
ScrollView
|
|
||||||
{
|
|
||||||
id: scroll
|
|
||||||
width: parent.width
|
|
||||||
height: parent.height
|
|
||||||
ColumnLayout
|
ColumnLayout
|
||||||
{
|
{
|
||||||
height: Screen.desktopAvailableHeight
|
|
||||||
width: scroll.width
|
|
||||||
property var new_object: null
|
property var new_object: null
|
||||||
//property alias checkAddContact: checkAddContact
|
//property alias checkAddContact: checkAddContact
|
||||||
|
Layout.fillWidth: true
|
||||||
|
Layout.fillHeight: true
|
||||||
spacing: 15
|
spacing: 15
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
@@ -144,8 +138,6 @@ ScrollView
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
function checkFields()
|
function checkFields()
|
||||||
{
|
{
|
||||||
if(checkAddObjectContact.checked)
|
if(checkAddObjectContact.checked)
|
||||||
|
|||||||
Reference in New Issue
Block a user