50 lines
1.3 KiB
QML
Executable File
50 lines
1.3 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: 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;
|
|
Text {
|
|
text: model.id
|
|
}
|
|
Text {
|
|
text: model.userRoleId
|
|
}
|
|
Text {
|
|
text: model.userRoleName
|
|
}
|
|
Text {
|
|
text: model.roleName
|
|
}
|
|
Text {
|
|
text: model.dateChanged
|
|
}
|
|
}
|
|
}
|