from PyQt5.QtGui import QIcon
Dialog.setWindowIcon(QIcon("icon.jpg"))