17 lines
489 B
Python
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) |