Results 1 to 3 of 3

Thread: is it possible to show the check box when qaction is checkable?

  1. #1
    Join Date
    Jul 2015
    Posts
    26
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default is it possible to show the check box when qaction is checkable?

    I would like to show the user a check box for a checkable qaction

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: is it possible to show the check box when qaction is checkable?

    A QAction is not a visible entity. It will usually be associated with a QToolButton, keyboard shortcut or menu., but can be associated with any widget. Where are you using the QAction, and where do you want the checkbox?

  3. #3
    Join Date
    Jul 2015
    Posts
    26
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: is it possible to show the check box when qaction is checkable?

    I have a few checkable qactions inside a QToolButon and would like to show a checkbox for each of these qactions. Thanks for your reply.

Similar Threads

  1. Replies: 5
    Last Post: 27th December 2013, 16:27
  2. Replies: 4
    Last Post: 11th October 2013, 11:23
  3. QAction without check state
    By pardas in forum Newbie
    Replies: 2
    Last Post: 5th August 2012, 12:53
  4. QMenu does not show icons from QAction
    By eumel1990 in forum Newbie
    Replies: 5
    Last Post: 10th September 2011, 11:57
  5. checkable QAction shortcut hold
    By winder in forum Qt Programming
    Replies: 7
    Last Post: 18th February 2010, 16:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.