c++ - Control the position of the icon in a QLineEdit -


i've subclassed qstyle control aspect of app. after customizing aspect of qlineedits, need add icon inside qlineedit , has clickable user. i've seen can use method qlineedit::addaction add action , icon in qlineedit. problem arises position in draws icon because have customized qlineedit, icon draws near edge of qlineedit. need separate more icon qlineedit edge. know how control position of icon in qlineedit?


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -