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

typing: QMessageBox.information() should have a default button

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • PySide
    • None

      Signature of QMessageBox.information is slightly incorrect :

      Current :
      def information(parent: PySide6.QtWidgets.QWidget, title: str, text: str, button0: PySide6.QtWidgets.QMessageBox.StandardButton, /, button1: PySide6.QtWidgets.QMessageBox.StandardButton = ...) -> PySide6.QtWidgets.QMessageBox.StandardButton: ...
       
      No default value is described for button0 eventough Qt (and PySide) provides one.
       
       

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

            crmaurei Cristian Maureira-Fredes
            bluebird75 Philippe Fremy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes