Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. error: 'raiseWidget' : is not a member of 'QStackedWidget'
Forum Updated to NodeBB v4.3 + New Features

error: 'raiseWidget' : is not a member of 'QStackedWidget'

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 920 Views 2 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.
  • andrei84A Offline
    andrei84A Offline
    andrei84
    wrote on last edited by
    #1
    this->ui().widgetStack->raiseWidget(1);
    
    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      @andrei84 said:

      raiseWidget

      Hi and welcome
      This call is not longer available.
      You can use
      setCurrentIndex

      http://doc.qt.io/qt-5/qstackedwidget.html#currentWidget

      1 Reply Last reply
      2
      • andrei84A Offline
        andrei84A Offline
        andrei84
        wrote on last edited by
        #3

        great Thanks) that works :

        this->ui().widgetStack->setCurrentIndex(1);

        mrjjM 1 Reply Last reply
        0
        • andrei84A andrei84

          great Thanks) that works :

          this->ui().widgetStack->setCurrentIndex(1);

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @andrei84
          Not
          ui->widgetStack->setCurrentIndex(1); ?

          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