Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. QComboBox User select Signal
Forum Updated to NodeBB v4.3 + New Features

QComboBox User select Signal

Scheduled Pinned Locked Moved Language Bindings
2 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Swinx
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cincirin
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved