def _confirm_large_image(self, data):

        warn_msg = ("WARNING: Image has %i pixels, and may render slowly."
                    " Continue?" % data.size)
        title = "Contour large image?"
        ok = QtGui.QMessageBox.Ok
        cancel = QtGui.QMessageBox.Cancel
        buttons = ok | cancel
        result = QtGui.QMessageBox.question(self, title, warn_msg,
                                            buttons=buttons,
                                            defaultButton=cancel)
        return result == ok
Return a string representing the time.
dataset/ETHPy150Open glue-viz/glue/glue/viewers/image/qt/viewer_widget.py/ImageWidgetBase._confirm_large_image--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/zope/interface/common/idatetime.py/ITime.strftime