This repository has been archived on 2022-04-04. You can view files and clone it, but cannot push or open issues or pull requests.

17 lines
489 B
Python

"""Some utility classes for making lines in QT panels"""
from PySide2 import QtWidgets
class QHLine(QtWidgets.QFrame):
def __init__(self):
super(QHLine, self).__init__()
self.setFrameShape(QtWidgets.QFrame.HLine)
self.setFrameShadow(QtWidgets.QFrame.Sunken)
class QVLine(QtWidgets.QFrame):
def __init__(self):
super(QVLine, self).__init__()
self.setFrameShape(QtWidgets.QFrame.VLine)
self.setFrameShadow(QtWidgets.QFrame.Sunken)