mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
feat: RecipientTypeSelectionDropdown component added
This commit is contained in:
parent
1eda1911eb
commit
8d3d156cf7
@ -0,0 +1,46 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Layouts 1.15
|
||||
|
||||
import StatusQ.Controls 0.1
|
||||
|
||||
|
||||
StatusDropdown {
|
||||
id: root
|
||||
|
||||
signal ethAddressesSelected
|
||||
signal communityMembersSelected
|
||||
|
||||
width: 289
|
||||
padding: 8
|
||||
leftPadding: 16
|
||||
|
||||
contentItem: ColumnLayout {
|
||||
spacing: 8
|
||||
|
||||
StatusIconTextButton {
|
||||
Layout.preferredHeight: 36
|
||||
Layout.fillWidth: true
|
||||
|
||||
spacing: 9
|
||||
statusIcon: "address"
|
||||
icon.width: 15
|
||||
icon.height: 15
|
||||
text: qsTr("ETH adresses")
|
||||
|
||||
onClicked: root.ethAddressesSelected()
|
||||
}
|
||||
|
||||
StatusIconTextButton {
|
||||
Layout.preferredHeight: 36
|
||||
Layout.fillWidth: true
|
||||
|
||||
spacing: 9
|
||||
statusIcon: "profile"
|
||||
icon.width: 15
|
||||
icon.height: 15
|
||||
text: qsTr("Community members")
|
||||
|
||||
onClicked: root.communityMembersSelected()
|
||||
}
|
||||
}
|
||||
}
|
@ -13,6 +13,7 @@ MembersDropdown 1.0 MembersDropdown.qml
|
||||
MembersSelectorPanel 1.0 MembersSelectorPanel.qml
|
||||
PermissionItem 1.0 PermissionItem.qml
|
||||
PermissionsDropdown 1.0 PermissionsDropdown.qml
|
||||
RecipientTypeSelectionDropdown 1.0 RecipientTypeSelectionDropdown.qml
|
||||
TokenItem 1.0 TokenItem.qml
|
||||
TokenPanel 1.0 TokenPanel.qml
|
||||
singleton PermissionTypes 1.0 PermissionTypes.qml
|
||||
|
Loading…
x
Reference in New Issue
Block a user