qt framelesswindowhint code example
Example: frontmost flag qt
from Qt import QtCore, QtWidgets
widget = QtWidgets.QWidget()
widget.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
from Qt import QtCore, QtWidgets
widget = QtWidgets.QWidget()
widget.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)