Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to change button's display of QMessageBox during uninstallation?
Forum Updated to NodeBB v4.3 + New Features

How to change button's display of QMessageBox during uninstallation?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 483 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    toushi
    wrote on last edited by
    #1

    I am using QMessageBox during uninstallation. QMessageBox has 2 buttons with QMessageBox.Retry | QMessageBox.Ignore. I need to change the button's display but can't find way. However for installation, i can add translation in package to change QMessageBox button's display.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What exactly do you want to change ? Just the text shown on the button ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      T 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        What exactly do you want to change ? Just the text shown on the button ?

        T Offline
        T Offline
        toushi
        wrote on last edited by toushi
        #3

        @SGaist translate the text shown on the button from English to other languages.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          IIRC, Qt already provides a set of translation files you can use in your application for the pre-built controls like that.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved