Results 1 to 11 of 11

Thread: Unreadable colours for Documentation

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Unreadable colours for Documentation

    The ones you see in Creator are in a form of SQLite database created from textual documents containing special formatting macros.
    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.


  2. #2
    Join Date
    May 2010
    Posts
    23
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2

    Default Re: Unreadable colours for Documentation

    That is very smart way to say that it simply sucks. If you (of course not you personally) don't use system theme and use css instead - allow user to subsitute his own css on the fly.

    Having said that you can change the stylesheet of your whole application using qss

    assistant -stylesheet=fullpath/ass.qss

    and simplest ass.qss would contain
    QTextEdit{ background-color: white; }

    That of course will make background white, so it is only a quick and dirty half-solution. I am lazy to look for how to change text color at the moment, but would not mind knowing that myself.
    Last edited by Onanymous; 3rd October 2012 at 21:28.

  3. #3
    Join Date
    Jul 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Unreadable colours for Documentation

    QTextEdit{ background-color: white; }
    Doesn't work in my case.

    QWidget{ background-color: red; } working!
    But looks very ugly.
    Why QTextEdit not sensitive to QSS?

    Any other solution?
    Last edited by grio; 10th March 2014 at 20:41.

  4. #4
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    520
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 77 Times in 75 Posts

    Default Re: Unreadable colours for Documentation

    Hi, please start a new thread for your problem instead of resurrecting and hijacking a two year old thread.

    Ginsengelf

Similar Threads

  1. Make Config files unreadable
    By mrandreas in forum Qt Programming
    Replies: 2
    Last Post: 15th October 2011, 00:53
  2. Unreadable font in QT4.7.1 (Windows)
    By i3th in forum Qt Programming
    Replies: 2
    Last Post: 11th March 2011, 15:00
  3. program crashes on unreadable characters. SOLVED
    By JeanC in forum Qt Programming
    Replies: 7
    Last Post: 1st March 2008, 19:53
  4. Adding Qt's documentation to Xcode documentation browser
    By fabietto in forum Qt Programming
    Replies: 0
    Last Post: 10th June 2007, 15:38

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.