S
S
Sergey2017-11-22 05:43:48
Qt
Sergey, 2017-11-22 05:43:48

QT - how to change style of active QToolButton in menu?

In general, there is a QActionGroup. There is a task - for the selected menu item to make the bottom frame thicker and with an arbitrary color. How to do this?
The code is something like this - there is a QActionGroup, QAction is added to it. You can get a QToolButton from a QAction, but how can you get it through the QAction's triggered signal?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question