A
A
Alexey Mairin2017-11-19 19:06:48
Qt
Alexey Mairin, 2017-11-19 19:06:48

Is there an icon in the button?

Hi all!
is there any method that detects the presence of an icon in a button? Or is it implemented in some other way?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ighor July, 2017-11-19
@m_avrina

..iconSize()==QSize(0,0)

A
Alexander Taratin, 2017-11-19
@Taraflex

button->icon()->isNull();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question