# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'widgets/vlcframe.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_VlcFrame(object):
    def setupUi(self, VlcFrame):
        VlcFrame.setObjectName("VlcFrame")
        VlcFrame.resize(524, 78)
        VlcFrame.setMinimumSize(QtCore.QSize(524, 78))
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(VlcFrame)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setSpacing(0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setContentsMargins(12, 12, 12, 12)
        self.horizontalLayout.setSpacing(12)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.btnPlayPause = QtWidgets.QToolButton(VlcFrame)
        self.btnPlayPause.setMinimumSize(QtCore.QSize(56, 28))
        self.btnPlayPause.setMaximumSize(QtCore.QSize(56, 28))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/img/rsc/play.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnPlayPause.setIcon(icon)
        self.btnPlayPause.setObjectName("btnPlayPause")
        self.horizontalLayout.addWidget(self.btnPlayPause)
        self.lblPosition = QtWidgets.QLabel(VlcFrame)
        self.lblPosition.setMinimumSize(QtCore.QSize(50, 0))
        self.lblPosition.setMaximumSize(QtCore.QSize(50, 16777215))
        self.lblPosition.setText("")
        self.lblPosition.setObjectName("lblPosition")
        self.horizontalLayout.addWidget(self.lblPosition)
        self.progressionSlider = ClickableSlider(VlcFrame)
        self.progressionSlider.setMinimumSize(QtCore.QSize(150, 28))
        self.progressionSlider.setMaximum(1000)
        self.progressionSlider.setOrientation(QtCore.Qt.Horizontal)
        self.progressionSlider.setObjectName("progressionSlider")
        self.horizontalLayout.addWidget(self.progressionSlider)
        self.lblDuration = QtWidgets.QLabel(VlcFrame)
        self.lblDuration.setMinimumSize(QtCore.QSize(50, 0))
        self.lblDuration.setMaximumSize(QtCore.QSize(50, 16777215))
        self.lblDuration.setText("")
        self.lblDuration.setObjectName("lblDuration")
        self.horizontalLayout.addWidget(self.lblDuration)
        self.btnMute = QtWidgets.QToolButton(VlcFrame)
        self.btnMute.setMinimumSize(QtCore.QSize(28, 28))
        self.btnMute.setMaximumSize(QtCore.QSize(28, 28))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/img/rsc/volume.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnMute.setIcon(icon1)
        self.btnMute.setObjectName("btnMute")
        self.horizontalLayout.addWidget(self.btnMute)
        self.volumeSlider = ClickableSlider(VlcFrame)
        self.volumeSlider.setMinimumSize(QtCore.QSize(100, 28))
        self.volumeSlider.setMaximumSize(QtCore.QSize(100, 16777215))
        self.volumeSlider.setProperty("value", 50)
        self.volumeSlider.setOrientation(QtCore.Qt.Horizontal)
        self.volumeSlider.setObjectName("volumeSlider")
        self.horizontalLayout.addWidget(self.volumeSlider)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setContentsMargins(12, -1, 12, -1)
        self.horizontalLayout_3.setSpacing(12)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.btnPrevious = QtWidgets.QToolButton(VlcFrame)
        self.btnPrevious.setEnabled(False)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/img/rsc/rewind.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnPrevious.setIcon(icon2)
        self.btnPrevious.setObjectName("btnPrevious")
        self.horizontalLayout_3.addWidget(self.btnPrevious)
        self.btnNext = QtWidgets.QToolButton(VlcFrame)
        self.btnNext.setEnabled(False)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/img/rsc/fast-forward.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnNext.setIcon(icon3)
        self.btnNext.setObjectName("btnNext")
        self.horizontalLayout_3.addWidget(self.btnNext)
        self.lblTrack = QtWidgets.QLabel(VlcFrame)
        self.lblTrack.setMinimumSize(QtCore.QSize(0, 14))
        self.lblTrack.setText("")
        self.lblTrack.setTextFormat(QtCore.Qt.PlainText)
        self.lblTrack.setAlignment(QtCore.Qt.AlignCenter)
        self.lblTrack.setWordWrap(True)
        self.lblTrack.setTextInteractionFlags(QtCore.Qt.NoTextInteraction)
        self.lblTrack.setObjectName("lblTrack")
        self.horizontalLayout_3.addWidget(self.lblTrack)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)

        self.retranslateUi(VlcFrame)
        QtCore.QMetaObject.connectSlotsByName(VlcFrame)

    def retranslateUi(self, VlcFrame):
        _translate = QtCore.QCoreApplication.translate
        VlcFrame.setWindowTitle(_translate("VlcFrame", "Frame"))
        self.btnPlayPause.setText(_translate("VlcFrame", "Lire"))
        self.btnMute.setText(_translate("VlcFrame", "Vol."))
        self.btnPrevious.setToolTip(_translate("VlcFrame", "Revenir au morceau précédent"))
        self.btnPrevious.setText(_translate("VlcFrame", "..."))
        self.btnNext.setToolTip(_translate("VlcFrame", "Aller au morceau suivant"))
        self.btnNext.setText(_translate("VlcFrame", "..."))
from .clickable_slider import ClickableSlider
from .. import rsc_rc
