# Form implementation generated from reading ui file 'keyframedialog.ui'
#
# Created by: PyQt6 UI code generator 6.8.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from qgis.PyQt import QtCore, QtGui, QtWidgets


class Ui_KeyframeDialog(object):
    def setupUi(self, KeyframeDialog):
        KeyframeDialog.setObjectName("KeyframeDialog")
        KeyframeDialog.resize(400, 446)
        KeyframeDialog.setMinimumSize(QtCore.QSize(400, 0))
        self.verticalLayout = QtWidgets.QVBoxLayout(KeyframeDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.widgetTopBar = QtWidgets.QWidget(parent=KeyframeDialog)
        self.widgetTopBar.setObjectName("widgetTopBar")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.widgetTopBar)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setSpacing(7)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.toolButtonPrev = QtWidgets.QToolButton(parent=self.widgetTopBar)
        self.toolButtonPrev.setObjectName("toolButtonPrev")
        self.horizontalLayout.addWidget(self.toolButtonPrev)
        self.slider = QtWidgets.QSlider(parent=self.widgetTopBar)
        self.slider.setMinimumSize(QtCore.QSize(0, 30))
        self.slider.setPageStep(1)
        self.slider.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.slider.setTickPosition(QtWidgets.QSlider.TickPosition.TicksBothSides)
        self.slider.setObjectName("slider")
        self.horizontalLayout.addWidget(self.slider)
        self.toolButtonNext = QtWidgets.QToolButton(parent=self.widgetTopBar)
        self.toolButtonNext.setObjectName("toolButtonNext")
        self.horizontalLayout.addWidget(self.toolButtonNext)
        self.lineEditCurrentKF = QtWidgets.QLineEdit(parent=self.widgetTopBar)
        self.lineEditCurrentKF.setMaximumSize(QtCore.QSize(30, 16777215))
        self.lineEditCurrentKF.setReadOnly(True)
        self.lineEditCurrentKF.setObjectName("lineEditCurrentKF")
        self.horizontalLayout.addWidget(self.lineEditCurrentKF)
        self.labelKFCount = QtWidgets.QLabel(parent=self.widgetTopBar)
        self.labelKFCount.setObjectName("labelKFCount")
        self.horizontalLayout.addWidget(self.labelKFCount)
        self.toolButtonPlay = QtWidgets.QToolButton(parent=self.widgetTopBar)
        self.toolButtonPlay.setCheckable(True)
        self.toolButtonPlay.setObjectName("toolButtonPlay")
        self.horizontalLayout.addWidget(self.toolButtonPlay)
        self.verticalLayout.addWidget(self.widgetTopBar)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setVerticalSpacing(7)
        self.gridLayout.setObjectName("gridLayout")
        self.labelComboBox2 = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelComboBox2.setMinimumSize(QtCore.QSize(60, 0))
        self.labelComboBox2.setObjectName("labelComboBox2")
        self.gridLayout.addWidget(self.labelComboBox2, 3, 0, 1, 1)
        self.plainTextEdit = QtWidgets.QPlainTextEdit(parent=KeyframeDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.plainTextEdit.sizePolicy().hasHeightForWidth())
        self.plainTextEdit.setSizePolicy(sizePolicy)
        self.plainTextEdit.setObjectName("plainTextEdit")
        self.gridLayout.addWidget(self.plainTextEdit, 5, 0, 1, 3)
        self.doubleSpinBoxOpacity = QtWidgets.QDoubleSpinBox(parent=KeyframeDialog)
        self.doubleSpinBoxOpacity.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhDigitsOnly)
        self.doubleSpinBoxOpacity.setDecimals(1)
        self.doubleSpinBoxOpacity.setMaximum(1.0)
        self.doubleSpinBoxOpacity.setSingleStep(0.1)
        self.doubleSpinBoxOpacity.setProperty("value", 1.0)
        self.doubleSpinBoxOpacity.setObjectName("doubleSpinBoxOpacity")
        self.gridLayout.addWidget(self.doubleSpinBoxOpacity, 1, 1, 1, 2)
        self.labelName = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelName.setMinimumSize(QtCore.QSize(60, 0))
        self.labelName.setObjectName("labelName")
        self.gridLayout.addWidget(self.labelName, 0, 0, 1, 1)
        self.labelOpacity = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelOpacity.setMinimumSize(QtCore.QSize(60, 0))
        self.labelOpacity.setObjectName("labelOpacity")
        self.gridLayout.addWidget(self.labelOpacity, 1, 0, 1, 1)
        self.labelNarration = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelNarration.setObjectName("labelNarration")
        self.gridLayout.addWidget(self.labelNarration, 4, 0, 1, 2)
        self.comboBox1 = QtWidgets.QComboBox(parent=KeyframeDialog)
        self.comboBox1.setObjectName("comboBox1")
        self.gridLayout.addWidget(self.comboBox1, 2, 1, 1, 2)
        self.comboBox2 = QtWidgets.QComboBox(parent=KeyframeDialog)
        self.comboBox2.setObjectName("comboBox2")
        self.gridLayout.addWidget(self.comboBox2, 3, 1, 1, 2)
        self.lineEditName = QtWidgets.QLineEdit(parent=KeyframeDialog)
        self.lineEditName.setObjectName("lineEditName")
        self.gridLayout.addWidget(self.lineEditName, 0, 1, 1, 2)
        self.labelComboBox1 = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelComboBox1.setMinimumSize(QtCore.QSize(60, 0))
        self.labelComboBox1.setObjectName("labelComboBox1")
        self.gridLayout.addWidget(self.labelComboBox1, 2, 0, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setSpacing(10)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.toolButtonAddImage = QtWidgets.QToolButton(parent=KeyframeDialog)
        self.toolButtonAddImage.setObjectName("toolButtonAddImage")
        self.horizontalLayout_3.addWidget(self.toolButtonAddImage)
        self.toolButtonPreview = QtWidgets.QToolButton(parent=KeyframeDialog)
        self.toolButtonPreview.setObjectName("toolButtonPreview")
        self.horizontalLayout_3.addWidget(self.toolButtonPreview)
        self.gridLayout.addLayout(self.horizontalLayout_3, 4, 2, 1, 1)
        self.gridLayout.setColumnStretch(1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.line2 = QtWidgets.QFrame(parent=KeyframeDialog)
        self.line2.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line2.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line2.setObjectName("line2")
        self.verticalLayout.addWidget(self.line2)
        self.gridLayoutEasing = QtWidgets.QGridLayout()
        self.gridLayoutEasing.setObjectName("gridLayoutEasing")
        self.toolButtonLinear = QtWidgets.QToolButton(parent=KeyframeDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolButtonLinear.sizePolicy().hasHeightForWidth())
        self.toolButtonLinear.setSizePolicy(sizePolicy)
        self.toolButtonLinear.setCheckable(True)
        self.toolButtonLinear.setChecked(True)
        self.toolButtonLinear.setObjectName("toolButtonLinear")
        self.gridLayoutEasing.addWidget(self.toolButtonLinear, 0, 1, 1, 1)
        self.toolButtonEaseIn = QtWidgets.QToolButton(parent=KeyframeDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolButtonEaseIn.sizePolicy().hasHeightForWidth())
        self.toolButtonEaseIn.setSizePolicy(sizePolicy)
        self.toolButtonEaseIn.setCheckable(True)
        self.toolButtonEaseIn.setObjectName("toolButtonEaseIn")
        self.gridLayoutEasing.addWidget(self.toolButtonEaseIn, 0, 3, 1, 1)
        self.labelEasing = QtWidgets.QLabel(parent=KeyframeDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelEasing.sizePolicy().hasHeightForWidth())
        self.labelEasing.setSizePolicy(sizePolicy)
        self.labelEasing.setMinimumSize(QtCore.QSize(60, 0))
        self.labelEasing.setObjectName("labelEasing")
        self.gridLayoutEasing.addWidget(self.labelEasing, 0, 0, 1, 1)
        self.toolButtonEaseOut = QtWidgets.QToolButton(parent=KeyframeDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolButtonEaseOut.sizePolicy().hasHeightForWidth())
        self.toolButtonEaseOut.setSizePolicy(sizePolicy)
        self.toolButtonEaseOut.setCheckable(True)
        self.toolButtonEaseOut.setObjectName("toolButtonEaseOut")
        self.gridLayoutEasing.addWidget(self.toolButtonEaseOut, 0, 4, 1, 1)
        self.toolButtonEaseInOut = QtWidgets.QToolButton(parent=KeyframeDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolButtonEaseInOut.sizePolicy().hasHeightForWidth())
        self.toolButtonEaseInOut.setSizePolicy(sizePolicy)
        self.toolButtonEaseInOut.setCheckable(True)
        self.toolButtonEaseInOut.setObjectName("toolButtonEaseInOut")
        self.gridLayoutEasing.addWidget(self.toolButtonEaseInOut, 0, 2, 1, 1)
        self.toolButtonNone = QtWidgets.QToolButton(parent=KeyframeDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolButtonNone.sizePolicy().hasHeightForWidth())
        self.toolButtonNone.setSizePolicy(sizePolicy)
        self.toolButtonNone.setCheckable(True)
        self.toolButtonNone.setObjectName("toolButtonNone")
        self.gridLayoutEasing.addWidget(self.toolButtonNone, 0, 5, 1, 1)
        self.verticalLayout.addLayout(self.gridLayoutEasing)
        self.gridLayout2 = QtWidgets.QGridLayout()
        self.gridLayout2.setObjectName("gridLayout2")
        self.lineEditDuration = QtWidgets.QLineEdit(parent=KeyframeDialog)
        self.lineEditDuration.setMaximumSize(QtCore.QSize(100, 16777215))
        self.lineEditDuration.setObjectName("lineEditDuration")
        self.gridLayout2.addWidget(self.lineEditDuration, 1, 4, 1, 1)
        self.lineEditDelay = QtWidgets.QLineEdit(parent=KeyframeDialog)
        self.lineEditDelay.setMaximumSize(QtCore.QSize(100, 16777215))
        self.lineEditDelay.setObjectName("lineEditDelay")
        self.gridLayout2.addWidget(self.lineEditDelay, 1, 1, 1, 1)
        self.labelDelay = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelDelay.setObjectName("labelDelay")
        self.gridLayout2.addWidget(self.labelDelay, 1, 0, 1, 1)
        self.labelDuration = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelDuration.setObjectName("labelDuration")
        self.gridLayout2.addWidget(self.labelDuration, 1, 3, 1, 1)
        self.expressionDelay = QgsFieldExpressionWidget(parent=KeyframeDialog)
        self.expressionDelay.setMinimumSize(QtCore.QSize(0, 20))
        self.expressionDelay.setObjectName("expressionDelay")
        self.gridLayout2.addWidget(self.expressionDelay, 1, 2, 1, 1)
        self.expressionDuration = QgsFieldExpressionWidget(parent=KeyframeDialog)
        self.expressionDuration.setMinimumSize(QtCore.QSize(0, 20))
        self.expressionDuration.setObjectName("expressionDuration")
        self.gridLayout2.addWidget(self.expressionDuration, 1, 5, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout2)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.labelBegin = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelBegin.setMinimumSize(QtCore.QSize(50, 0))
        self.labelBegin.setObjectName("labelBegin")
        self.horizontalLayout_2.addWidget(self.labelBegin)
        self.labelTimeBegin = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelTimeBegin.setMinimumSize(QtCore.QSize(80, 0))
        self.labelTimeBegin.setObjectName("labelTimeBegin")
        self.horizontalLayout_2.addWidget(self.labelTimeBegin)
        self.labelEnd = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelEnd.setMinimumSize(QtCore.QSize(50, 0))
        self.labelEnd.setObjectName("labelEnd")
        self.horizontalLayout_2.addWidget(self.labelEnd)
        self.labelTimeEnd = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelTimeEnd.setMinimumSize(QtCore.QSize(80, 0))
        self.labelTimeEnd.setObjectName("labelTimeEnd")
        self.horizontalLayout_2.addWidget(self.labelTimeEnd)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.line = QtWidgets.QFrame(parent=KeyframeDialog)
        self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.horizontalLayout3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout3.setObjectName("horizontalLayout3")
        self.pushButtonPlayAll = QtWidgets.QPushButton(parent=KeyframeDialog)
        self.pushButtonPlayAll.setMaximumSize(QtCore.QSize(70, 16777215))
        self.pushButtonPlayAll.setCheckable(True)
        self.pushButtonPlayAll.setObjectName("pushButtonPlayAll")
        self.horizontalLayout3.addWidget(self.pushButtonPlayAll)
        self.label = QtWidgets.QLabel(parent=KeyframeDialog)
        self.label.setObjectName("label")
        self.horizontalLayout3.addWidget(self.label)
        self.labelTotal = QtWidgets.QLabel(parent=KeyframeDialog)
        self.labelTotal.setObjectName("labelTotal")
        self.horizontalLayout3.addWidget(self.labelTotal)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=KeyframeDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Help|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.horizontalLayout3.addWidget(self.buttonBox)
        self.verticalLayout.addLayout(self.horizontalLayout3)

        self.retranslateUi(KeyframeDialog)
        self.buttonBox.accepted.connect(KeyframeDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(KeyframeDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(KeyframeDialog)
        KeyframeDialog.setTabOrder(self.toolButtonPrev, self.slider)
        KeyframeDialog.setTabOrder(self.slider, self.toolButtonNext)
        KeyframeDialog.setTabOrder(self.toolButtonNext, self.lineEditCurrentKF)
        KeyframeDialog.setTabOrder(self.lineEditCurrentKF, self.toolButtonPlay)
        KeyframeDialog.setTabOrder(self.toolButtonPlay, self.lineEditName)
        KeyframeDialog.setTabOrder(self.lineEditName, self.doubleSpinBoxOpacity)
        KeyframeDialog.setTabOrder(self.doubleSpinBoxOpacity, self.comboBox1)
        KeyframeDialog.setTabOrder(self.comboBox1, self.comboBox2)
        KeyframeDialog.setTabOrder(self.comboBox2, self.toolButtonAddImage)
        KeyframeDialog.setTabOrder(self.toolButtonAddImage, self.toolButtonPreview)
        KeyframeDialog.setTabOrder(self.toolButtonPreview, self.plainTextEdit)
        KeyframeDialog.setTabOrder(self.plainTextEdit, self.toolButtonLinear)
        KeyframeDialog.setTabOrder(self.toolButtonLinear, self.toolButtonEaseInOut)
        KeyframeDialog.setTabOrder(self.toolButtonEaseInOut, self.toolButtonEaseIn)
        KeyframeDialog.setTabOrder(self.toolButtonEaseIn, self.toolButtonEaseOut)
        KeyframeDialog.setTabOrder(self.toolButtonEaseOut, self.toolButtonNone)
        KeyframeDialog.setTabOrder(self.toolButtonNone, self.lineEditDelay)
        KeyframeDialog.setTabOrder(self.lineEditDelay, self.lineEditDuration)
        KeyframeDialog.setTabOrder(self.lineEditDuration, self.pushButtonPlayAll)

    def retranslateUi(self, KeyframeDialog):
        _translate = QtCore.QCoreApplication.translate
        KeyframeDialog.setWindowTitle(_translate("KeyframeDialog", "Keyframe"))
        self.toolButtonPrev.setToolTip(_translate("KeyframeDialog", "Previous keyframe"))
        self.toolButtonPrev.setText(_translate("KeyframeDialog", "<"))
        self.toolButtonNext.setToolTip(_translate("KeyframeDialog", "Next keyframe"))
        self.toolButtonNext.setText(_translate("KeyframeDialog", ">"))
        self.lineEditCurrentKF.setText(_translate("KeyframeDialog", "1"))
        self.labelKFCount.setText(_translate("KeyframeDialog", "/ N"))
        self.toolButtonPlay.setToolTip(_translate("KeyframeDialog", "Perform a transition between current keyframe and next keyframe."))
        self.plainTextEdit.setPlaceholderText(_translate("KeyframeDialog", "Empty - will not stop at this keyframe"))
        self.labelName.setText(_translate("KeyframeDialog", "Name"))
        self.labelOpacity.setText(_translate("KeyframeDialog", "Opacity"))
        self.labelNarration.setText(_translate("KeyframeDialog", "Narrative content"))
        self.toolButtonAddImage.setToolTip(_translate("KeyframeDialog", "Insert an image tag at the current cursor position."))
        self.toolButtonPreview.setToolTip(_translate("KeyframeDialog", "Preview narrative content"))
        self.toolButtonLinear.setToolTip(_translate("KeyframeDialog", "Linear"))
        self.toolButtonEaseIn.setToolTip(_translate("KeyframeDialog", "Ease In: The transition starts slowly, and continues to speed up until the end."))
        self.labelEasing.setText(_translate("KeyframeDialog", "Easing"))
        self.toolButtonEaseOut.setToolTip(_translate("KeyframeDialog", "Ease Out: The transition starts quickly, and continues to slow down until the end."))
        self.toolButtonEaseInOut.setToolTip(_translate("KeyframeDialog", "Ease In Out: The transition starts slowly, speeds up in the middle, and slows down at the end."))
        self.toolButtonNone.setToolTip(_translate("KeyframeDialog", "None: The initial state changes to the final state at the end of duration."))
        self.lineEditDuration.setToolTip(_translate("KeyframeDialog", "length of time to complete a transition"))
        self.lineEditDelay.setToolTip(_translate("KeyframeDialog", "duration to wait before starting a transition"))
        self.labelDelay.setText(_translate("KeyframeDialog", "Delay (msec)"))
        self.labelDuration.setText(_translate("KeyframeDialog", "Duration (msec)"))
        self.labelBegin.setText(_translate("KeyframeDialog", "Begin: "))
        self.labelTimeBegin.setToolTip(_translate("KeyframeDialog", "time to begin this transition"))
        self.labelEnd.setText(_translate("KeyframeDialog", "End:"))
        self.labelTimeEnd.setToolTip(_translate("KeyframeDialog", "time to complete this transition"))
        self.pushButtonPlayAll.setToolTip(_translate("KeyframeDialog", "Perform transitions of this track from the beginning."))
        self.pushButtonPlayAll.setText(_translate("KeyframeDialog", "Play all"))
        self.label.setText(_translate("KeyframeDialog", "Total time:"))
        self.buttonBox.setToolTip(_translate("KeyframeDialog", "time to complete transitions of this track"))
from qgis.gui import QgsFieldExpressionWidget
