Results 1 to 1 of 1

Thread: QDialogButtonBox text not painted

  1. #1
    Join Date
    Jan 2011
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: QDialogButtonBox text not painted

    Hi, All,

    I am using Qt 4.7.1, it's cross compiled to an ARM9 linux (arm-none-linux-gnueabi) platform. Everything seem to be working fine. the browser built on it works well. Just one tricky little problem, the texts in button boxes are missing, such as "Ok", "Cancel", etc. But the texts in the other widgets are fine, such as QPushButton, etc.

    I checked QDialogButtonBox, unlike QPushButton, I can't find paintEvent in it or its ancesters. But I believe it must be some where, I probably missed something some where.

    Can some one give me a hint on this?

    Thanks a lot,

    Sam


    Added after 50 minutes:


    well, it's fixed, turns out the Tr(buttonText) in buttonbox somehow doesn't work.

    Sam
    Last edited by kshi; 8th January 2011 at 00:41.

Similar Threads

  1. Replies: 3
    Last Post: 8th December 2011, 19:21
  2. How to erase everything widget has painted?
    By TheNewGuy in forum Newbie
    Replies: 1
    Last Post: 12th December 2009, 07:23
  3. Widget not painted properly
    By qwakaw in forum Qt Programming
    Replies: 0
    Last Post: 11th November 2008, 11:30
  4. How to remove default 'ENTER' from QDialogButtonBox
    By janus in forum Qt Programming
    Replies: 6
    Last Post: 12th September 2008, 21:56
  5. a QDialogButtonBox question
    By bnilsson in forum Qt Programming
    Replies: 3
    Last Post: 16th July 2008, 22:42

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.