如何将箭头图标放在qtoolbutton qt c ++

问题描述 投票:0回答:3

如何做

enter image description here 将箭头作为Unicode Caracter,例如'Black下点三角形'

或'

bblack下方小三角形

'。
c++ qt qtstylesheets
3个回答
2
投票

trory将toolButtonStyle财产设置为ToolButtonTextUnderIcon


2
投票
QToolButton

设置为

toolButtonStyle
,然后将
ToolButtonTextBesideIcon
设置为
ArrowType


0
投票
DownArrow

我是CPP的新手(将其从Python转换为困难),所以它是否有效是赌博。

	
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.