Qt 安装程序更改现有页面

问题描述

我正在尝试更好地理解 Qt 安装程序框架。

https://doc.qt.io/qtinstallerframework/noninteractive.html显示了如何设置新页面标题和欢迎信息。

function Controller()
{
}

Controller.prototype.IntroductionPageCallback = function()
{
    var widget = gui.currentPageWidget(); // get the current wizard page
    if (widget != null) {
        widget.title = "New title."; // set the page title
        widget.MessageLabel.setText("New Message."); // set the welcome text
    }
}

我想我理解了大部分内容

但是 MessageLabel 是从哪里来的?我怎么知道它是 MessageLabel 而不是 MyMessageLabelMessageLabel1

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)