65 lines
1.8 KiB
QML
Executable File
65 lines
1.8 KiB
QML
Executable File
/*
|
|
* AdvoTracker - Hotline tackingtool for Advocats
|
|
*
|
|
* Copyright (c) 2017 Ralf Zerres <ralf.zerres@networkx.de>
|
|
*
|
|
* AdvoTracker is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation; either version 2.1 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* AdvoTracker is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with AdvoTracker; If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
import QtQuick 2.0
|
|
|
|
Item {
|
|
id: delegate
|
|
width: parent.width
|
|
//width: delegate.ListView.view.width;
|
|
//width: parent.width - parent.leftMargin - parent.rightMargin
|
|
height: 30
|
|
clip: true
|
|
//anchors.margins: 4
|
|
Row {
|
|
anchors.margins: 4
|
|
anchors.fill: parent
|
|
spacing: 4;
|
|
TextField {
|
|
text: model.userId
|
|
onEditingFinished: model.userId = text
|
|
//width: 50
|
|
}
|
|
TextField {
|
|
text: lastName
|
|
onEditingFinished: model.lastName = text
|
|
//width: 150;
|
|
}
|
|
TextField {
|
|
text: firstName
|
|
onEditingFinished: model.firstName = text
|
|
//width: 50;
|
|
}
|
|
TextField {
|
|
text: email
|
|
onEditingFinished: model.email = text
|
|
//width: 100;
|
|
}
|
|
TextField {
|
|
text: userInitials
|
|
onEditingFinished: model.userInitials = text
|
|
//width: 50;
|
|
}
|
|
TextField {
|
|
text: roleName
|
|
//width: 150;
|
|
}
|
|
}
|
|
}
|