I am using Qtopia 4.3.2 to implement a Ui.
on this window, there is a background image, how can i set the QTextEdit to transparent to his parent window, so that I can see the background image from the QTextEdit, like a QLable.
thanks...
I am using Qtopia 4.3.2 to implement a Ui.
on this window, there is a background image, how can i set the QTextEdit to transparent to his parent window, so that I can see the background image from the QTextEdit, like a QLable.
thanks...
Use stylesheets or QPalette to change the background.
J-P Nurmi
ok, I had found out a way to fix this problem.
see the code below.
Qt Code:
detailTextEdit->viewport()->setAutoFillBackground(false);To copy to clipboard, switch view to plain text mode
You should disable the viewport of text edit to auto fill background, but not text edit itself.
thanks for all you help.
emrares (16th September 2009), Grey Phantom (22nd December 2011), mattc (31st July 2009), stillwaiting (15th October 2010)
Bookmarks