Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1348

.ui compliaton with mnemonic from Designer

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.14.2.2
    • Fix Version/s: None
    • Component/s: PySide
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      There are many issues about mnemonic

      https://bugreports.qt.io/browse/QTBUG-17471?jql=text%20~%20%22mnemonic%22

      Here is situation:

      When we type in QT Designer in QTAbstracButton text eg. for chexbox `&1.checkbox` then in QT preview workin shortcut as alt+1. But when .ui is complited then this ampersand is not affected in any way in .ui

      https://doc.qt.io/qtforpython/PySide2/QtWidgets/QCheckBox.html

      ". A shortcut key can be specified by preceding the preferred character with an ampersand. For example:

      checkbox = QCheckBox("C&ase sensitive", self)

      "

      • this is no sense if we doing this in QT Designer.

       

        Attachments

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

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            qtman Qt_resercher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes