Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70576

QTabWidget Missed Style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.11.1
    • None
    • Windows: reproduced
      Compiler: MINGW32
    • Windows

    Description

      Dear Sir/Madam

      Hope everything is going well.

      I recently tried to make custom QTabWidget which has following features:

      1. Tabs be arranged in the Left side
      2. Tabs and their corresponding frames have semi-transparent background
      3. Customized borders for tabs and their corresponding frame.
      4. Customized text of tabs (font, size and color).

      I used QProxyStyle to rotate the text and also transpose height and width.

      The Problem occurs when I use setStyleSheet() to define borders feature. When I define borders, it seems that system ignores the QProxyStyle.

      You can comment/un-comment the borders definition to compare the results.

      I also tried to override the paint event (to make a style aware widget) but it doesn't work.

      Topic in Qt Forum

       

      Attachments

        1. bug1.png
          bug1.png
          4 kB
        2. bug2.png
          bug2.png
          4 kB
        3. Test04.rar
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            codefreak Jim Simson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes