2021-06-14 11:30:42 +00:00
|
|
|
import QtQuick 2.14
|
|
|
|
import QtQuick.Layouts 1.14
|
|
|
|
import QtQuick.Controls 2.13
|
|
|
|
|
|
|
|
import StatusQ.Core.Theme 0.1
|
|
|
|
import StatusQ.Components 0.1
|
|
|
|
import StatusQ.Popups 0.1
|
|
|
|
|
|
|
|
GridLayout {
|
|
|
|
columns: 1
|
|
|
|
columnSpacing: 5
|
|
|
|
rowSpacing: 5
|
|
|
|
|
|
|
|
StatusChatInfoToolBar {
|
|
|
|
chatInfoButton.title: "Cryptokitties"
|
|
|
|
chatInfoButton.subTitle: "128 Members"
|
2022-09-02 15:40:30 +00:00
|
|
|
chatInfoButton.asset.isImage: true
|
|
|
|
chatInfoButton.asset.name: "qrc:/demoapp/data/profile-image-1.jpeg"
|
|
|
|
chatInfoButton.asset.color: Theme.palette.miscColor6
|
2021-06-14 11:30:42 +00:00
|
|
|
|
2022-12-01 16:58:37 +00:00
|
|
|
popupMenu: StatusMenu {
|
2021-06-14 11:30:42 +00:00
|
|
|
|
2022-12-01 16:58:37 +00:00
|
|
|
StatusAction {
|
2021-06-14 11:30:42 +00:00
|
|
|
text: "Create channel"
|
|
|
|
icon.name: "channel"
|
|
|
|
}
|
|
|
|
|
2022-12-01 16:58:37 +00:00
|
|
|
StatusAction {
|
2021-06-14 11:30:42 +00:00
|
|
|
text: "Create category"
|
|
|
|
icon.name: "channel-category"
|
|
|
|
}
|
|
|
|
|
|
|
|
StatusMenuSeparator {}
|
|
|
|
|
2022-12-01 16:58:37 +00:00
|
|
|
StatusAction {
|
2021-06-14 11:30:42 +00:00
|
|
|
text: "Invite people"
|
|
|
|
icon.name: "share-ios"
|
2023-09-13 13:22:33 +00:00
|
|
|
objectName: "invitePeople"
|
2021-06-14 11:30:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|