Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)

src/p/y/pyqt5-HEAD/examples/dialogs/standarddialogs.py   pyqt5(Download)
    def questionMessage(self):    
        reply = QMessageBox.question(self, "QMessageBox.question()",
                Dialog.MESSAGE,
                QMessageBox.Yes | QMessageBox.No | QMessageBox.Cancel)
        if reply == QMessageBox.Yes:

src/p/y/pyqt5-HEAD/examples/network/http/http.py   pyqt5(Download)
 
        if QFile.exists(fileName):
            ret = QMessageBox.question(self, "HTTP",
                    "There already exists a file called %s in the current "
                    "directory. Overwrite?" % fileName,
            newUrl = self.url.resolved(redirectionTarget.toUrl())
 
            ret = QMessageBox.question(self, "HTTP",
                    "Redirect to %s?" % newUrl.toString(),
                    QMessageBox.Yes | QMessageBox.No)

src/p/y/pyqt5-HEAD/examples/tutorials/addressbook/part7.py   pyqt5(Download)
 
        if name in self.contacts:
            button = QMessageBox.question(self, "Confirm Remove",
                    "Are you sure you want to remove \"%s\"?" % name,
                    QMessageBox.Yes | QMessageBox.No)

src/p/y/pyqt5-HEAD/examples/tutorials/addressbook/part6.py   pyqt5(Download)
 
        if name in self.contacts:
            button = QMessageBox.question(self, "Confirm Remove",
                    "Are you sure you want to remove \"%s\"?" % name,
                    QMessageBox.Yes | QMessageBox.No)

src/p/y/pyqt5-HEAD/examples/tutorials/addressbook/part5.py   pyqt5(Download)
 
        if name in self.contacts:
            button = QMessageBox.question(self, "Confirm Remove",
                    "Are you sure you want to remove \"%s\"?" % name,
                    QMessageBox.Yes | QMessageBox.No)

src/p/y/pyqt5-HEAD/examples/tutorials/addressbook/part4.py   pyqt5(Download)
 
        if name in self.contacts:
            button = QMessageBox.question(self, "Confirm Remove",
                    "Are you sure you want to remove \"%s\"?" % name,
                    QMessageBox.Yes | QMessageBox.No)

src/p/y/pyqt5-HEAD/examples/itemviews/pixelator/pixelator.py   pyqt5(Download)
    def printImage(self):
        if self.model.rowCount(QModelIndex()) * self.model.columnCount(QModelIndex()) > 90000:
            answer = QMessageBox.question(self, "Large Image Size",
                    "The printed image may be very large. Are you sure that "
                    "you want to print it?",

src/p/q/PQt5_cs_cv_cc-HEAD/Controlador/windowIniciar.py   PQt5_cs_cv_cc(Download)
    def onClickSalir(self):
        alert = QDialog()
        confirm  = QMessageBox.question(alert, "Mensaje", "¿ Desea salir ?", QMessageBox.Yes,
             QMessageBox.No)
        if confirm == QMessageBox.Yes:

src/k/c/kcc-HEAD/kcc/KCC_gui.py   kcc(Download)
    def showDialog(self, message, kind):
        if kind == 'error':
            QtWidgets.QMessageBox.critical(MW, 'KCC - Error', message, QtWidgets.QMessageBox.Ok)
        elif kind == 'question':
            dialogResponse = QtWidgets.QMessageBox.question(MW, 'KCC - Question', message,

src/p/q/PQt5_cs_cv_cc-HEAD/Controlador/windowMain.py   PQt5_cs_cv_cc(Download)
    def cerrarSesion(self):
        alert = QDialog()
        confirm  = QMessageBox.question(alert, "Mensaje", "¿ Desea cerrar sesion ?", QMessageBox.Yes,
             QMessageBox.No)
        if confirm == QMessageBox.Yes:
    def salir(self):
        alert = QDialog()
        confirm = QMessageBox.question(alert, "Mensaje", "¿ Desea salir ?", QMessageBox.Yes, QMessageBox.No)
        if confirm == QMessageBox.Yes:
            self.principal.winPrincipal.close()