horus-gui/src/horusgui/widgets.py

10 wiersze
299 B
Python

# Useful widgets
from pyqtgraph.Qt import QtCore, QtGui, QtWidgets
# Useful class for adding horizontal lines.
class QHLine(QtGui.QFrame):
def __init__(self):
super(QHLine, self).__init__()
self.setFrameShape(QtGui.QFrame.HLine)
self.setFrameShadow(QtGui.QFrame.Sunken)