QComboBox User select Signal

  • Is there a signal on the QComboBox widget that allows me to connect it to a slot the moment that the user clicks on the widget, even before they actually select anything?

    I cannot seem to find anything that relates to a user clicking on the widget, only signals that are fired when the user selects something in the drop down.

    I need to have the QComboBox widget populate the moment that the user clicks on it based on other information filled on on the Dialog that it is part of and cannot populate it before the user clicks on it.

  • Create a QComboBox derived class and reimplement "mousePressEvent":http://qt-project.org/doc/qt-5.0/qtwidgets/qwidget.html#mousePressEvent

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.