trspectrometer.qtwidgets module¶
- class trspectrometer.qtwidgets.AspectRatioPixmapLabel(parent=None)[source]¶
Bases:
QLabelA QLabel which maintains the correct aspect ratio of the contained image upon resize.
- staticMetaObject = PySide6.QtCore.QMetaObject("AspectRatioPixmapLabel" inherits "QLabel": )¶
- class trspectrometer.qtwidgets.FlowLayout(parent=None, margin=0, spacing=-1)[source]¶
Bases:
QLayoutA
QLayoutwhich arranges its child widgets horizontally and vertically.A Qt for Python port of the layouts/flowlayout example. If enough horizontal space is available, it looks like an
HBoxLayout, but if space is lacking, it automatically wraps its children into multiple rows.- heightChanged¶
- staticMetaObject = PySide6.QtCore.QMetaObject("FlowLayout" inherits "QLayout": Methods: #4 type=Signal, signature=heightChanged(int), parameters=int )¶