#!/usr/bin/python3
# -*- coding: utf-8 -*-

"""
ZetCode PyQt5 tutorial 

In this example, we create a simple
window in PyQt5.

Author: Jan Bodnar
Website: zetcode.com 
Last edited: August 2017
"""

import sys
from PyQt5.QtWidgets import QApplication, QWidget
from PyQt5 import QtGui, QtCore
from PyQt5.QtGui import QCursor

if __name__ == '__main__':
    
    app = QApplication(sys.argv)

    w = QWidget()
    w.resize(250, 150)
    w.move(300, 300)
    w.setWindowTitle('Simple')
    w.show()
    #w.setCursor(QCursor(QtCore.Qt.BusyCursor))
    w.setCursor(QCursor(QtCore.Qt.WaitCursor))
    sys.exit(app.exec_())

