-
from PyQt4.QtGui import *
-
from PyQt4.QtCore import *
-
import sys
-
-
app = QApplication(sys.argv)
-
msg_box = QMessageBox(QMessageBox.Warning, "Alert", "Please
configure the baseline!")
-
msg_box.show()
- app.exec_()
ss
if the alert show when click some button, should show like this:
-
msg_box = QMessageBox(QMessageBox.Warning, "Alert", "Please
configure the baseline!")
-
- msg_box.exec_()