[Merge] lp:~fboucault/messaging-app/startup_time_return into lp:messaging-app
Florian Boucault
florian.boucault at canonical.com
Thu Oct 6 07:41:37 UTC 2016
Diff comments:
>
> === added file 'src/qml/ParticipantsPopover.qml'
> --- src/qml/ParticipantsPopover.qml 1970-01-01 00:00:00 +0000
> +++ src/qml/ParticipantsPopover.qml 2016-10-04 11:38:52 +0000
> @@ -0,0 +1,67 @@
> +/*
> + * Copyright 2012-2016 Canonical Ltd.
> + *
> + * This file is part of messaging-app.
> + *
> + * messaging-app is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; version 3.
> + *
> + * messaging-app 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 General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program. If not, see <http://www.gnu.org/licenses/>.
> + */
> +
> +import QtQuick 2.2
> +import Ubuntu.Components 1.3
> +import Ubuntu.Components.ListItems 1.3 as ListItem
> +import Ubuntu.Components.Popups 1.3
> +import Ubuntu.Contacts 0.1
solved in latest commit
> +
> +import "dateUtils.js" as DateUtils
> +
> +Popover {
> + id: participantsPopover
> +
> + property variant participants: []
> +
> + anchorToKeyboard: false
> + Column {
> + id: containerLayout
> + anchors {
> + left: parent.left
> + top: parent.top
> + right: parent.right
> + }
> + Repeater {
> + model: participants
> + Item {
> + height: childrenRect.height
> + width: participantsPopover.width
> + ListItem.Standard {
> + id: participant
> + objectName: "participant%1".arg(index)
> + text: contactWatcher.isUnknown ? contactWatcher.identifier : contactWatcher.alias
> + onClicked: {
> + PopupUtils.close(participantsPopover)
> + mainView.startChat(contactWatcher.identifier)
> + }
> + }
> + ContactWatcher {
> + id: contactWatcher
> + identifier: modelData.identifier
> + contactId: modelData.contactId
> + alias: modelData.alias
> + avatar: modelData.avatar
> + detailProperties: modelData.detailProperties
> +
> + addressableFields: messages.account.addressableVCardFields
> + }
> + }
> + }
> + }
> +}
--
https://code.launchpad.net/~fboucault/messaging-app/startup_time_return/+merge/307547
Your team Ubuntu Phablet Team is subscribed to branch lp:messaging-app.
More information about the Ubuntu-reviews
mailing list