Can I bold my QLineEdit border , don't use setStyleSheet()?
Hi guys:
I want to bold thi bordre of QLineEdit, and set the background semitransparentï¼›I Know it can bold the bordre using setStyleSheet(), but the setStyleSheet() can't semitransparent the backgroud. so it seems conflict.
Help me, please.
Thancks.
Re: Can I bold my QLineEdit border , don't use setStyleSheet()?
Well, you can set semitransparent backgrounds with style sheets using rgba(). But if you don't like, subclass and do the background painting yourself.
Re: Can I bold my QLineEdit border , don't use setStyleSheet()?
Ohï¼ã€€yes, it works. I always thought the CSS can't set the semitransparent, so I repaint most of my widget.
Now I know the css can set the semitransparent .
Thanks a lot.:o:o:o:o