Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-69313

Setting the checked property of an Action to true should make it checkable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.11.0
    • Quick: Controls 2
    • None
    • Windows

    Description

      Why not adopt the behavior of AbtractButton on this? As it stands now, there is an inconsistency when you mix Actions and MenuItem in a Menu for instance.

      Menu {
          title: "&File"
      
          MenuItem {
              text: "Checkable Menu item"
              checked: true // checkable; true implicit
          }
      
          Action {
              text: "Checkable Action"
              checked: true
              checkable: true // needed
          }
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            yoann Yoann Quenach de Quivillic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes