Results 1 to 11 of 11

Thread: Are the QTabWidget and QTableView drawn based on the top-level window?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    11
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default

    No, didn't you see the tab is not showing correctly, and If you put a qtableView on the tabWidget, it'll also get itself shown correctly...
    And about mouse handling, I'm dealing with that yet...

    And you can compare the jpgs that I uploaded before, there is something different between the 2 QTableView. Around the Lable, one of them has color as the QPalette::Background, but the other one is looks like white.
    In the project you build, you can click the tab to see what will happen...
    Last edited by wysota; 6th July 2009 at 13:34.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Are the QTabWidget and QTableView drawn based on the top-level window?

    Look... apparently my interpretation of a "minimal compilable example reproducing the problem" and yours differ greatly. I'm not going to read through serveral hundred lines of code with texts I don't understand to find a solution to a problem I don't see. Please provide a minimal compilable example clearly reproducing the problem, at most 100 lines of code in a total of one class plus the main function. Currently you have provided a bunch of classes that intend to do something but it is far from being clear what they do, how they are activated, etc.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 2
    Last Post: 7th June 2009, 10:47

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.