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

Text style when QPlainTextEdit is inside a QGroupBox

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.14.1, 5.15.0 Alpha
    • 5.13.2
    • Widgets: Styles
    • None
    • Linux/X11, Windows
    • 925b33bdaabc7d07d6910d5696af1ff49287d8fa (qt/qtbase/5.14)

    Description

      When a QPlainTextEdit is in a checkable QGroupBox, QPlainTextEdit's text style isn't well actualised when QGroupBox is being (un)checked.

      To be more precise, if the QGroupBox is checked before compiling, the text will stay in black when the QGroupBox is unchecked while it's supposed to be in gray (this action is supposed to disable every widget inside the QGroupBox). In the other way, QGroupBox's text will stay in gray if QGroupBox is unchecked when compiling.

      I show in screenshots every step : the first on the left is what I have in QtCreator, the second on the middle is what I get when launching my app and finally the last one is what I get when I click on the QGroupBox's checkbox -> QPlainTextEdit's background has the right color while the text doesn't.

      Attachments

        1. From checked to unchecked.PNG
          From checked to unchecked.PNG
          11 kB
        2. From unchecked to checked.PNG
          From unchecked to checked.PNG
          11 kB
        3. main.cpp
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            chehrlic Christian Ehrlicher
            maniform Noël Villette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes