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. (Python / Qt Designer) Strange unwanted popup in the top left corner of my TableWidget that appears intermittently?
Forum Updated to NodeBB v4.3 + New Features

(Python / Qt Designer) Strange unwanted popup in the top left corner of my TableWidget that appears intermittently?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 431 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.
  • O Offline
    O Offline
    orch face
    wrote on last edited by
    #1

    I have encountered a strange issue.

    I am using Qt Designer (the free one; not Qt Creator) and I am trying to make a basic table UI. The main window has multiple tabs, each tab has a frame in it, and each frame has a QTableWidget inside of it. Sometimes when I run the program, a weird little box in the top left corner appears. I can't click on it or interact with it, but it does seem to block interaction with the first column header under it. And sometimes when I run it, this thing doesn't appear.

    with scroll bars as needed

    One thing I did notice is that if I set the table's scroll policy to horizontal ScrollBarAlwaysOff and vertical ScrollBarAlwaysOff, the popup box loses its scroll bars. This is why I suspect it's something to do with the table.

    with both scroll bars always off

    Any idea what this is and how to get rid of it? I have tried playing around with various settings on the table, but none have permanently removed this. It comes back intermittently, sometimes even with no changes to the code or UI file.

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You've a free (not in a layout) widget somewhere in the ui file - take a look into the object tree in the designer and you will find it.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1
      • O Offline
        O Offline
        orch face
        wrote on last edited by
        #3

        Ah, found it. The frame container was not laid out correctly within the tab widget. Thanks!

        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