|
|
@ -201,6 +201,7 @@ Menu { |
|
|
|
|
|
|
|
|
|
|
|
model: gridView.model ? gridView.model.sections : null |
|
|
|
model: gridView.model ? gridView.model.sections : null |
|
|
|
spacing: Nheko.paddingSmall |
|
|
|
spacing: Nheko.paddingSmall |
|
|
|
|
|
|
|
clip: true |
|
|
|
|
|
|
|
|
|
|
|
delegate: Avatar { |
|
|
|
delegate: Avatar { |
|
|
|
height: sidebarAvatarSize |
|
|
|
height: sidebarAvatarSize |
|
|
@ -211,10 +212,27 @@ Menu { |
|
|
|
|
|
|
|
|
|
|
|
hoverEnabled: true |
|
|
|
hoverEnabled: true |
|
|
|
ToolTip.visible: hovered |
|
|
|
ToolTip.visible: hovered |
|
|
|
|
|
|
|
ToolTip.delay: Nheko.tooltipDelay |
|
|
|
ToolTip.text: modelData.name |
|
|
|
ToolTip.text: modelData.name |
|
|
|
onClicked: gridView.positionViewAtIndex(modelData.firstRowWith, ListView.Beginning) |
|
|
|
onClicked: gridView.positionViewAtIndex(modelData.firstRowWith, ListView.Beginning) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ImageButton { |
|
|
|
|
|
|
|
Layout.row: 0 |
|
|
|
|
|
|
|
Layout.column: 0 |
|
|
|
|
|
|
|
Layout.preferredWidth: sidebarAvatarSize |
|
|
|
|
|
|
|
Layout.preferredHeight: sidebarAvatarSize |
|
|
|
|
|
|
|
Layout.rightMargin: Nheko.paddingSmall |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
image: ":/icons/icons/ui/settings.svg" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hoverEnabled: true |
|
|
|
|
|
|
|
ToolTip.visible: hovered |
|
|
|
|
|
|
|
ToolTip.delay: Nheko.tooltipDelay |
|
|
|
|
|
|
|
ToolTip.text: qsTr("Change what packs are enabled, remove packs, or create new ones") |
|
|
|
|
|
|
|
onClicked: TimelineManager.openImagePackSettings(stickerPopup.roomid) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|