Closed GoogleCodeExporter closed 9 years ago
I don't know. Isn't QMessageBox enough? If the plugin is out-of-process it
can't use it but it can't call our abstraction either.
Original comment by roberto.alsina
on 1 Feb 2011 at 7:15
Maybe I'm too crazy about abstraction and wrappers. Whenever I see that I call
the same "external" function (external to my code) many times, I try to create
some sort of wrapper, so that it's easier to make any changes afterwards when
the code gets larger.
Maybe it's too much here, but sometimes it's helpful.
Original comment by andresgattinoni
on 1 Feb 2011 at 7:24
I would see the point if we wanted to abstract away PyQt as a whole, but I
don't see us doing that :-)
Other than that, it would be a wrapper around QtGui.QMessageBox that would look
a lot like it, I think.
Original comment by roberto.alsina
on 1 Feb 2011 at 7:37
Ok, we can revisit this issue in the future if we need some common action to
take place before or after showing a modal, or if I come up with something else
that could be added to the "ui stuff" module. I'm closing the issue.
Original comment by andresgattinoni
on 1 Feb 2011 at 10:40
Original issue reported on code.google.com by
andresgattinoni
on 1 Feb 2011 at 7:01