问题描述
使用 Qt Installer Controller Script 我看到了如何更改简介页面上某些标签的文本。我做过
function Controller()
{
}
Controller.prototype.IntroductionPageCallback = function()
{
var widget = gui.currentPageWidget();
if (widget != null) {
widget.title = "New title";
widget.MessageLabel.setText("New Message.");
}
}
为什么它们的工作方式不同?
设置title
我做= "New title"
但设置MessageLabel
我做.setText("New Message.")
。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)