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. Show multiple items in QToolBox at the same time?
Forum Updated to NodeBB v4.3 + New Features

Show multiple items in QToolBox at the same time?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 4.6k 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.
  • W Offline
    W Offline
    wecing
    wrote on 21 Oct 2011, 07:08 last edited by
    #1

    My question is exactly the same as this guy described:
    (from here: http://lists.qt.nokia.com/pipermail/qt-interest/2009-January/001738.html )

    I'm trying to toggle the item, i.e. when the item is clicked once - the
    item is activated, when the item is clicked for the second time - the
    item is deactivated.

    But in the original post, I cannot find anything helpful to me.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RazrFalcon
      wrote on 29 Oct 2011, 23:01 last edited by
      #2

      You need exactly "setEnabled":http://doc.qt.nokia.com/stable/qwidget.html#enabled-prop or just "setCheckable":http://doc.qt.nokia.com/stable/qabstractbutton.html#checkable-prop ?

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wecing
        wrote on 29 Oct 2011, 23:22 last edited by
        #3

        Nmmmm... Writing one myself? Not bad. Thanks!

        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