# Path: Qt.py



from Qt import QtCore, QtWidgets, Qt
        """Constructor for the ClockWidget class."""
        super().__init__(parent)
        self.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.setFrameShadow(QtWidgets.QFrame.Plain)
        self.setSegmentStyle(QtWidgets.QLCDNumber.Flat)

        self.setNumDigits(8)
        self.display("--:--:--")
        self.resize(100, 20)

    @QtCore.pyqtSlot(QtCore.QTime)
    def setTime(self, t):
        if t.isNull():
            self.display("--:--:--")
            return
        self.display(t.toString("hh:mm:ss"))


class ZoomWidget(QtWidgets.QWidget):
    """Zoom slider bar with associated spinBox."""

    valueChanged = QtCore.pyqtSignal(int)

    def __init__(self, parent=None):
        """Constructor for the ZoomWidget class."""
        super().__init__(parent)
        self.button = QtWidgets.QToolButton(self)
        self.button.setText(self.tr("100%"))
        self.button.setAutoRaise(True)


# Path: Qt.py



# Path: ts2/gui/widgets.py
from Qt import QtCore, QtWidgets, Qt

        """Constructor for the ClockWidget class."""
        super().__init__(parent)
        self.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.setFrameShadow(QtWidgets.QFrame.Plain)
        self.setSegmentStyle(QtWidgets.QLCDNumber.Flat)

        self.setNumDigits(8)
        self.display("--:--:--")
        self.resize(100, 20)

    @QtCore.pyqtSlot(QtCore.QTime)
    def setTime(self, t):
        if t.isNull():
            self.display("--:--:--")
            return
        self.display(t.toString("hh:mm:ss"))


class ZoomWidget(QtWidgets.QWidget):
    """Zoom slider bar with associated spinBox."""

    valueChanged = QtCore.pyqtSignal(int)

    def __init__(self, parent=None):
        """Constructor for the ZoomWidget class."""
        super().__init__(parent)
        self.button = QtWidgets.QToolButton(self)
        self.button.setText(self.tr("100%"))
        self.button.setAutoRaise(True)


        self.slider = QtWidgets.QSlider(Qt.Horizontal, self)