Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to change MessageLabel on the Introduction Page?
Forum Updated to NodeBB v4.3 + New Features

How to change MessageLabel on the Introduction Page?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 548 Views
  • 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.
  • S Offline
    S Offline
    Sinbad
    wrote on last edited by
    #1

    From the documentation:

    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
        }
    }
    

    But it doesn't work properly. First I see standard message, then if I press Next, then Back again I see the new message.
    I need to set my custom message or just remove the Introduction Page at all.

    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