Registered Member
|
Is there a way to know if a user had clicked a KRichTextWidget widget? There is no clicked() signal and using a mousePressedEvent will apply to the entire window.
I could use a mousePressedEvent anyway and filter out all the irrelevant clicks, but is there anything more efficient? Thank you |
Administrator
|
In this case, what are you trying to do?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I'm using KRichTextWidget in way that if a user wants to enter some data into it, it expands to a larger size.
By default it is a one line textbox, if the user clicks it, the widget resizes to a larger size. |
Administrator
|
I suggest asking on the kde-devel@kde.org mailing list regarding this. Not sure if this is possible however, things like this are usually done by adjusting size hints.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]