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

pyside2-uic: empty def retranslateUi

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.14.1
    • PySide
    • None
    • Windows

    Description

      If you don't have any titles in .ui file, you will get empty function:

          def retranslateUi(self, MainWindow):
          # retranslateUi
      

      Reproduce:
      1. Create a MainWindow in QT designer
      2. Clear a windowTitle property
      3. pyside2-uic a.ui > a.py
      I'm not sure if that is bug, maybe have a windowTitle is required

      Attachments

        1. empty.py
          2 kB
        2. empty.ui
          0.6 kB

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              novd V D
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes