Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. QMessagebox on linux
Forum Updated to NodeBB v4.3 + New Features

QMessagebox on linux

Scheduled Pinned Locked Moved C++ Gurus
3 Posts 3 Posters 2.6k 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.
  • G Offline
    G Offline
    guru
    wrote on last edited by
    #1

    I created an gui application on ubuntu using Qt5.0. I set my application full screen, but when a i use a messagebox it does not hide launcher. the application launcher of ubuntu shows over my Qt application at the time the messagebox appear.. Is there any solution.. i show my code here ..

    //set window title bar as hide
    this->setWindowFlags(Qt::CustomizeWindowHint);
    this->setWindowFlags(Qt::FramelessWindowHint);
    this->setWindowFlags(Qt::WindowStaysOnTopHint);
    this->setWindowState(Qt::WindowFullScreen);

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dreamerindia
      wrote on last edited by
      #2

      There is nothing to do with the QT.
      check with the launcher settings.
      may help you.

      ~Ravivarman~

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vittalonline
        wrote on last edited by
        #3

        Hi guru
        sometimes happens these type of issues on windowflags.

        following code may usefull to you

        setWindowFlags(windowFlags()| Qt::FramelessWindowHint);
        setWindowFlags(windowFlags()|Qt::WindowStaysOnTopHint);
        QDesktopWidget desk;
        QRect screenres = desk.screenGeometry(0);
        setGeometry(QRect(screenres.x(),screenres.y(),screenres.width(),screenres.height()));

        there is a small diff between your code and above.so please check carefully.
        this code works fine.

        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