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

Add the ability to set the defaultAction on a QToolButton in Designer

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P5: Not important
    • Some future release
    • None
    • Tools: Designer
    • None

    Description

      Currently, there does not appear to be a way to associate an action with a standalone QToolButton from within Qt Designer. This means that A) dialogs that use QToolButtons for buttons with icons don't get a proper preview in Designer, instead having to use things like placeholder text, and B) that the programmer must manually call QToolButton::setDefaultAction in the widget/dialog constructor in order to get clicks and such working properly.

      It would therefore be useful if Designer provided the ability to set the defaultAction on a QToolButton from among the actions defined for the dialog.

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            dettman Dean Dettman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes