This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://stackoverflow.com/questions/51960766/python-text-overlay-on-top-of-everything-else#comment90884394_51960766 | |
# TODO This is not enough, perhaps https://github.com/AzoRAI/DX11OverlayExample will do it? | |
from PyQt5.QtWidgets import QApplication, QWidget, QLabel, QGraphicsDropShadowEffect, QVBoxLayout, QHBoxLayout | |
import sys | |
from PyQt5.QtCore import Qt | |
from PyQt5.QtGui import QColor, QPicture, QPainter, QPen | |
app = QApplication(sys.argv) # Our application | |
window = QWidget() # The window we'll be using. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package maxbe.common; | |
import java.util.function.Function; | |
/** | |
* Taken and extended from http://codingjunkie.net/functional-iterface-exceptions/ | |
* | |
* @author Max Bechtold | |
*/ | |
@FunctionalInterface |