예제 #1
0
파일: emailTask.py 프로젝트: Tawmu/PyTasker
class BadEmail(QtGui.QDialog):
	"""
	This class is used for the popup to tell users
	they have entered an invalid e-mail address.
	"""
	def __init__(self):
		# Setup the PyQt window
		QtGui.QDialog.__init__(self)
		self.ui = Ui_EmailFormatPopup()
		self.ui.setupUi(self)

	# If the OK button is pressed, close the dialog
	@QtCore.pyqtSignature("")
	def on_okbutton_clicked(self, checked=None):
		self.close()
예제 #2
0
파일: emailTask.py 프로젝트: Tawmu/PyTasker
	def __init__(self):
		# Setup the PyQt window
		QtGui.QDialog.__init__(self)
		self.ui = Ui_EmailFormatPopup()
		self.ui.setupUi(self)