Richard Heck wrote:
Richard Heck wrote:
One note: In order to get this to work right, I had to make the dialog
modal. The reason is this. Suppose you open the dialog on a paragraph
that allows Left, Right, and Block. Then you click in a different
paragraph that allows only Left and Block. Then the dialog needs to
update, but I couldn't find anything to hook to make it happen. I tried
implementing QParagraphDialog::focusInEvent, but that didn't work. It
seemed the focus event was being grabbed by a widget before the dialog
would see it, and implementing focusInEvent for every widget in the
dialog didn't seem a happy choice. Ideas here are most welcome.
I've figured that out and no longer have quite this problem. The
question now is: Suppose I want the dialog to completely reset itself.
What do I call?

initParams?

Abdel.

Reply via email to