diff --git a/src/apps/qml/qml/PersonsListView.qml b/src/apps/qml/qml/PersonsListView.qml deleted file mode 100644 index e4a394b7..00000000 --- a/src/apps/qml/qml/PersonsListView.qml +++ /dev/null @@ -1,76 +0,0 @@ -/* - Copyright (c) 2018-2020 Laurent Montel - - This library is free software; you can redistribute it and/or modify - it under the terms of the GNU Library General Public License as published - by the Free Software Foundation; either version 2 of the License or - ( at your option ) version 3 or, at the discretion of KDE e.V. - ( which shall act as a proxy as in section 14 of the GPLv3 ), any later version. - - This library 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -import QtQuick 2.9 -import QtQuick.Layouts 1.12 -import QtQuick.Controls 2.5 as QQC2 - -import org.kde.kirigami 2.7 as Kirigami - -QQC2.ScrollView { - property QtObject personsModel : undefined - - contentHeight: authorsColumn.height - contentWidth: 300 - - ColumnLayout { - Layout.fillHeight: true - Layout.fillWidth: true - Layout.topMargin: Kirigami.Units.smallSpacing - spacing: Kirigami.Units.largeSpacing - - Column { - id: authorsColumn - spacing: Kirigami.Units.largeSpacing - height: childrenRect.height - - Repeater { - id: authorList - model: personsModel - - Column { - id: authorItem - spacing: Kirigami.Units.smallSpacing - QQC2.Label { - text: "" + model.username + "" - wrapMode: QQC2.Label.NoWrap - horizontalAlignment: Text.AlignHCenter - textFormat: Text.RichText - font.bold: true - } - QQC2.Label { - text: "" + model.task + "" - wrapMode: QQC2.Label.NoWrap - textFormat: Text.RichText - } - QQC2.Label { - text: model.email - wrapMode: QQC2.Label.NoWrap - horizontalAlignment: Text.AlignHCenter - textFormat: Text.RichText - onLinkActivated: { - aboutDialog.openurl(link); - } - } - } - } - } - } -} diff --git a/src/apps/qml/qml/qml.qrc b/src/apps/qml/qml/qml.qrc index 071dd594..003b5661 100644 --- a/src/apps/qml/qml/qml.qrc +++ b/src/apps/qml/qml/qml.qrc @@ -1,97 +1,96 @@ Desktop.qml FancyMessageDelegate.qml RoomsView.qml RoomDelegate.qml Login.qml UserInput.qml LoginPage.qml ExtraColors.qml ActiveChat.qml - PersonsListView.qml CreateNewChannelDialog.qml OpenDirectChannelDialog.qml ChannelInfoDialog.qml DeleteMessageDialog.qml AddUserDialog.qml DeleteRoomDialog.qml TakeVideoMessageDialog.qml DebugCategory.qml ConfigureServerList.qml MainComponent.qml RoomsComponent.qml ArchiveRoomDialog.qml DownloadFileDialog.qml UploadFileDialog.qml DisplayImageDialog.qml EncryptedConversationDialog.qml SearchChannelDialog.qml ShowFilesInRoomDialog.qml MessageLine.qml ShowSearchMessageDialog.qml DeleteAccountDialog.qml OpenChannelDialog.qml PrivateChannelInfoDialog.qml PasswordLineEdit.qml NotificationOptionsDialog.qml LeaveChannelDialog.qml DeleteFileAttachmentDialog.qml UserInfoDialog.qml CreateNewAccountDialog.qml ChannelPasswordDialog.qml ServerInfoDialog.qml NotificationAlertCombobox.qml UserMenu.qml JobErrorMessageDialog.qml ReportMessageDialog.qml CreateDiscussionDialog.qml ShowDiscussionsInRoomDialog.qml ShowThreadsInRoomDialog.qml ShowThreadMessagesDialog.qml DiscussionMessageDelegate.qml DiscussionMessage.qml FilesInRoomDelegate.qml FileInRoom.qml SearchLabel.qml AutoTranslateLanguageCombobox.qml AutoTranslateConfigDialog.qml CustomUserStatusDialog.qml ListMessagesDialogBase.qml messages/SystemMessage.qml messages/UserMessage.qml messages/AttachmentMessageAudio.qml messages/AttachmentMessageFile.qml messages/AttachmentMessageImage.qml messages/AttachmentMessageVideo.qml messages/JitsiVideoMessage.qml messages/NewDateLabel.qml messages/MessageBase.qml messages/MessageMenu.qml messages/TimestampText.qml messages/ShowHideButton.qml messages/ReactionsRepeater.qml messages/DiscussionLabel.qml messages/ThreadLabel.qml messages/ReactionsPopup.qml common/Button.qml common/DownloadButton.qml common/AvatarImage.qml common/DeleteButton.qml common/EmoticonMenu.qml common/StatusCombobox.qml common/ClickableLabel.qml icons/systray.png icons/attach-button.jpg js/message.js js/convert.js