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

pyside2-uic: empty def retranslateUi

XMLWordPrintable

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

      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

        1. empty.py
          2 kB
          V D
        2. empty.ui
          0.6 kB
          V D
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes