Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-1068

Clarify documentation for the QMessageBox QML type

    XMLWordPrintable

Details

    Description

      The documentation for the QMessageBox qml type needs to be updated to address the following:

       

      1. There are no description/link of "identifier" parameters under "Method Documentation" such as:

      >Button critical(string identifier,

      There is description what "identifier" is here actually but it is not easy to find this. http://doc.qt.io/qtinstallerframework/scripting-qmessagebox.html#scripted-installations

      And it should be described what default value or optional also.

       

      2. It should state that "buttons" is a list of buttons presented on the message dialog.

      >Button critical(string identifier, string title, string text, Buttons buttons = QMessageBox.Ok, 

       

      3. It should state that "button" is a button that will be selected by default.

      >Button critical(string identifier, string title, string text, Buttons buttons = QMessageBox.Ok, Button button = QMessageBox.NoButton

       

       

      Attachments

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

        Activity

          People

            installerteam Installer Team
            akizawa Akihito Izawa
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes