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