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.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 {
}
}
}
}

View File

@@ -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 {
}
}
}
}

View File

@@ -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)

View File

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