Page 1 of 1

Confirm text entry with keyboard

Posted: Sat Mar 11, 2017 5:19 am
by teegee
Hi Andrew,

Just created a tiny pull request. I'm not sure what the best way is to communicate one-liner patches.. :)

I was going to add one more thing, which is to interpret ctrl-enter in the TE textbox(es) as a dialog OK/close. The problem is that I don't know what the proper place to put that is. I often place small text labels in my drawings, and it would be nice to do this with minimal mouse action. What do you think?

Cheers,

Rob

Re: Confirm text entry with keyboard

Posted: Mon Mar 13, 2017 8:30 am
by andrew
teegee wrote:Just created a tiny pull request. I'm not sure what the best way is to communicate one-liner patches.. :)
Thanks, I've merged them.
teegee wrote:I was going to add one more thing, which is to interpret ctrl-enter in the TE textbox(es) as a dialog OK/close. The problem is that I don't know what the proper place to put that is. I often place small text labels in my drawings, and it would be nice to do this with minimal mouse action. What do you think?
I've added the shortcut to TextDialog.ui:
https://github.com/qcad/qcad/commit/2aa ... f5c52b9c91

Re: Confirm text entry with keyboard

Posted: Mon Mar 13, 2017 11:20 am
by teegee
andrew wrote:I've added the shortcut to TextDialog.ui:
https://github.com/qcad/qcad/commit/2aa ... f5c52b9c91
Wow, that is a whole lot simpler than what I had in mind :)
Thanks!