5 Commits

Author SHA256 Message Date
1cb250e3d1 Merge branch 'schnacke'
Scrollview in all Forms, Debugged Error in AddEmployee.qml
2025-05-23 14:17:58 +02:00
bcc8e3a015 Added Scrollview in all forms, debugged error in AddEmployee.qml 2025-05-23 14:17:35 +02:00
db7aeb097e Merge branch 'main' of https://git.danielsto.de/Linuxero/pyqcrm 2025-05-23 11:24:07 +02:00
bf3bf8fe3e remove test https push main.py 2025-05-14 11:09:17 +02:00
fff434a3b5 test https push in main.py 2025-05-14 11:08:13 +02:00
4 changed files with 241 additions and 224 deletions

View File

@@ -1,13 +1,14 @@
import QtQuick import QtQuick
import QtQuick.Layouts import QtQuick.Layouts
import QtQuick.Controls
import TeroStyle import TeroStyle
import Js import Js
ColumnLayout { ScrollView
{
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)
@@ -47,4 +48,5 @@ ColumnLayout {
} }
} }
} }
}
} }

View File

@@ -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,6 +19,10 @@ ColumnLayout {
console.log('failedtoadd'); console.log('failedtoadd');
} }
} }
ColumnLayout {
id: colPar
Layout.fillHeight: true Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
@@ -40,6 +44,9 @@ ColumnLayout {
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
@@ -98,4 +105,5 @@ ColumnLayout {
} }
} }
} }
}
} }

View File

@@ -4,12 +4,18 @@ import QtQuick.Controls
import QtQuick.Dialogs import QtQuick.Dialogs
import Js import Js
ColumnLayout ScrollView
{ {
id: scroll
width: parent.width
height: parent.height
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
{ {
@@ -138,6 +144,8 @@ ColumnLayout
// } // }
// } // }
}
function checkFields() function checkFields()
{ {
if(checkAddObjectContact.checked) if(checkAddObjectContact.checked)

View File

@@ -22,7 +22,6 @@ from lib.Printers import Printers
os.environ['QML_XHR_ALLOW_FILE_READ'] = '1' os.environ['QML_XHR_ALLOW_FILE_READ'] = '1'
# [pyqcrm] # [pyqcrm]
# program-name="" # program-name=""
# version= # version=