Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED]What is the slot to use for clicking dropdown in Combobox?

[SOLVED]What is the slot to use for clicking dropdown in Combobox?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 673 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
    sharon_obl82
    wrote on last edited by
    #1

    Hi,

    I want to load a list of items from the database when I click on the dropdown button on the combobox. Does any know what slot i should use and how to list the items? Thank you.

    1 Reply Last reply
    0
    • IamSumitI Offline
      IamSumitI Offline
      IamSumit
      wrote on last edited by
      #2

      Hii.
      Yes you can.
      @
      void currentIndexChanged(int index)
      void currentIndexChanged(const QString & text)
      void currentTextChanged(const QString & text)
      @
      "Qt Docs":http://qt-project.org/doc/qt-5/qcombobox.html#signals

      Be Cute

      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