M
M
Mercury132015-08-24 18:43:12
Qt
Mercury13, 2015-08-24 18:43:12

Qt: how to check if combobox is expanded?

Actually, a question. How to check if a QComboBox is expanded in Qt?
I need to put a QComboBox editor in a table (done), and pressing the ↓ key should move down the table below - but only when the list is not expanded.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kozura, 2015-08-24
@Mercury13

Override virtual methods for QComboBox:

QComboBox::showPopup()
QComboBox::hidePopup()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question