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. There is a showNormal() between showFullScreen() and showMaximized()?
Qt 6.11 is out! See what's new in the release blog

There is a showNormal() between showFullScreen() and showMaximized()?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 503 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.
  • sonichyS Offline
    sonichyS Offline
    sonichy
    wrote on last edited by sonichy
    #1

    There is a showNormal() between showFullScreen() and showMaximized()?
    When I switch between showFullScreen() and showMaximized(), I can see the window turn to showNormal(), and I can see the desktop.
    Another problem: QTabWidget has 1px border, how to set to none border?
    alt text
    source code: https://github.com/sonichy/Qt_HTYBrowser

    void MainWindow::fullScreen()
    {
        if(isFullScreen()){
            showMaximized();
            ui->statusBar->show();
            ui->navbar->show();
            ui->tabWidget->tabBar()->show();
            ui->progressBar->show();
        }else{
            showFullScreen();
            ui->statusBar->hide();
            ui->navbar->hide();
            ui->tabWidget->tabBar()->hide();
            ui->progressBar->hide();
            find_dialog->hide();
        }
    }

    https://github.com/sonichy

    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