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. Stack Widget on top of WebEngineView
Forum Updated to NodeBB v4.3 + New Features

Stack Widget on top of WebEngineView

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 631 Views 1 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.
  • Y Offline
    Y Offline
    yuanhong
    wrote on last edited by
    #1

    I want stack a widget on top of WebEngineView. code as:
    Widget::Widget(QWidget *parent)
    : QWidget(parent)
    {
    QWebEngineView *wev = new QWebEngineView(this);
    wev->show();

    QWidget *z = new QWidget(wev);
    z->setMinimumSize(QSize(400,400));
    z->setGeometry(0, 0, 100, 100);
    
    z->show();
    
    wev->stackUnder(z);
    

    }

    but the widget doesn't get display

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      yuanhong
      wrote on last edited by
      #2

      Can any one help me for this issue?

      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