Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qmessgebox qt installation framework



  • Is it possible to modify the QmessageBox that pops up when you click on the cancel button.??
    If Yes than how to access those buttons and how to specify the message into it..please help..
    I tried this code but there isn't any changes..Maybe i made mistake in this code please correct this..

    Controller.prototype.TargetDirectoryPageCallback = function()
    {
    page=gui.pageById(QInstaller.TargetDirectory);
    if(page!=null){
    // page.CancelButton=QMessageBox.warning("quit.warning", "Installer", "Do you want to quit the installer?",
    // QMessageBox.Yes | QMessageBox.No);
    page.CancelButton.warning("quit.warning", "Installer", "Do you want to quit the installer?", QMessageBox.Yes | QMessageBox.No);
    }
    }

    thanks in advance.


Log in to reply