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]show popup of selectable list
Forum Updated to NodeBB v4.3 + New Features

[Solved]show popup of selectable list

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 1.5k 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.
  • A Offline
    A Offline
    anmol2701
    wrote on last edited by
    #1

    Hi!

    I want to show list on the click of Qpushbutton like select smiley popup with multiple smileys in skype.
    Which control is used to show the list.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hareen Laks
      wrote on last edited by
      #2

      As I understood you want a widget which consists list of QPushButtons.

      If yes, "this":http://stackoverflow.com/questions/17555967/creating-a-list-of-qpushbuttons may be a solution for you.

      1 Reply Last reply
      0
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Qt Champions 2022
        wrote on last edited by
        #3

        You can use QTableView or you can build your own widget with QGridView.

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        1 Reply Last reply
        0
        • A Offline
          A Offline
          anmol2701
          wrote on last edited by
          #4

          Thanks for reply!

          I am using Qtableview inside QCombobox but numbering is also display. How to remove it mean how to display data without numbering.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sam
            wrote on last edited by
            #5

            Numbering ? Is it the Vertical Headers ? if so then you can hide using either

            @m_tableView->verticalHeader()->setVisible(false);
            m_tableView->verticalHeader()->setHidden(true);@

            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