[Solved]Set Background Image in QtextEdit
General and Desktop
5
Posts
4
Posters
3.5k
Views
1
Watching
-
@textEdit->setStyleSheet("
"background-image: url(:/backgroundLeaves.jpg);");@ -
Hi,
you may control the appearance with:
background-repeat
background-origin
background-clip
"Qt Style Sheets Reference: ":http://qt-project.org/doc/qt-5/stylesheet-reference.html -
Or set the border image. That is resized automatic!!