I'm new to Qt and the difference between QPushButton
and QToolButton
is not so clear to me.
I know that a QToolButton
is usually used in a QToolBar
and it usually shows only an icon, without text, but I don't quite understand the main difference between both.
Does it have any bigger difference?
When should I use QPushButton
and when should I use QToolButton
?
I would like to know this to use the most appropriate button, and I need to perform some GUI tests and maybe it can be relevant.