custom button menu list?
-
Hi
Is each of the rects a button ?
do you need scrolling in case more buttons than can fit on screen? -
Hi
Is each of the rects a button ?
do you need scrolling in case more buttons than can fit on screen? -
@minjunkim
So you could use push or tool button and style it with stylesheet to
have such look.
The checkbox part is a bit more involving since the buttons can be checked but
its not such separate checkbox, but more of a state. -
@minjunkim
So you could use push or tool button and style it with stylesheet to
have such look.
The checkbox part is a bit more involving since the buttons can be checked but
its not such separate checkbox, but more of a state.@mrjj said in custom button menu list?:
So you could use push or tool button and style it with stylesheet to
have such look.
The checkbox part is a bit more involving since the buttons can be checked but
its not such separate checkbox, but more of a state.okay, thank you for reply.
but What I really wonder is that I want it to behave like QMenu.
so I will make the buttons look like qmenu by using getposition and clickeventis this right way?
-
@mrjj said in custom button menu list?:
So you could use push or tool button and style it with stylesheet to
have such look.
The checkbox part is a bit more involving since the buttons can be checked but
its not such separate checkbox, but more of a state.okay, thank you for reply.
but What I really wonder is that I want it to behave like QMenu.
so I will make the buttons look like qmenu by using getposition and clickeventis this right way?
@minjunkim
Oh, wait i missed the QMenu part.
You mean it should act like a normal drop down menu ?
In such case you can use QWidgetAction
https://stackoverflow.com/questions/8358965/is-there-a-way-to-add-a-qwidget-to-a-qmenu-in-qtcreator -
@minjunkim
Oh, wait i missed the QMenu part.
You mean it should act like a normal drop down menu ?
In such case you can use QWidgetAction
https://stackoverflow.com/questions/8358965/is-there-a-way-to-add-a-qwidget-to-a-qmenu-in-qtcreator