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

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -