Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

How to add an Error image in QLineEdit when the Input Text is Invalid ?

$
0
0
Hi… I have a QLineEdit in that I have setted the Maximum value as 1000. Suppose if I Enter 125436 as input text then i have to add an error image at the right corner of the QLineEdit indicating that the entered text is InValid.. I tried using Stylesheets, background-image: url(:/folder/image.png) but it doesn’t work.. please post your suggestions… Thanks & Regards…

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>