|
|
@@ -171,21 +171,13 @@ class Ui_mainWindow(object):
|
|
|
self.explorerLineSearch.setClearButtonEnabled(True)
|
|
|
self.explorerLineSearch.setObjectName("explorerLineSearch")
|
|
|
self.horizontalLayout_21.addWidget(self.explorerLineSearch)
|
|
|
- self.explorerBtnFilter = QtWidgets.QToolButton(self.page_3)
|
|
|
- self.explorerBtnFilter.setEnabled(False)
|
|
|
- self.explorerBtnFilter.setMinimumSize(QtCore.QSize(28, 28))
|
|
|
- self.explorerBtnFilter.setMaximumSize(QtCore.QSize(28, 28))
|
|
|
- icon4 = QtGui.QIcon()
|
|
|
- icon4.addPixmap(QtGui.QPixmap(":/img/rsc/filter.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
- self.explorerBtnFilter.setIcon(icon4)
|
|
|
- self.explorerBtnFilter.setObjectName("explorerBtnFilter")
|
|
|
- self.horizontalLayout_21.addWidget(self.explorerBtnFilter)
|
|
|
self.verticalLayout_8.addLayout(self.horizontalLayout_21)
|
|
|
- self.comboBox = QtWidgets.QComboBox(self.page_3)
|
|
|
- self.comboBox.setObjectName("comboBox")
|
|
|
- self.comboBox.addItem("")
|
|
|
- self.comboBox.addItem("")
|
|
|
- self.verticalLayout_8.addWidget(self.comboBox)
|
|
|
+ self.explorerFilterTags = QtWidgets.QComboBox(self.page_3)
|
|
|
+ self.explorerFilterTags.setMinimumSize(QtCore.QSize(0, 28))
|
|
|
+ self.explorerFilterTags.setMaximumSize(QtCore.QSize(16777215, 28))
|
|
|
+ self.explorerFilterTags.setObjectName("explorerFilterTags")
|
|
|
+ self.explorerFilterTags.addItem("")
|
|
|
+ self.verticalLayout_8.addWidget(self.explorerFilterTags)
|
|
|
self.explorerTable = ExplorerTable(self.page_3)
|
|
|
self.explorerTable.setMinimumSize(QtCore.QSize(320, 0))
|
|
|
self.explorerTable.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
|
|
|
@@ -240,9 +232,9 @@ class Ui_mainWindow(object):
|
|
|
self.explorerTrackEdit.setMinimumSize(QtCore.QSize(28, 28))
|
|
|
self.explorerTrackEdit.setMaximumSize(QtCore.QSize(28, 28))
|
|
|
self.explorerTrackEdit.setText("")
|
|
|
- icon5 = QtGui.QIcon()
|
|
|
- icon5.addPixmap(QtGui.QPixmap(":/img/rsc/edit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
- self.explorerTrackEdit.setIcon(icon5)
|
|
|
+ icon4 = QtGui.QIcon()
|
|
|
+ icon4.addPixmap(QtGui.QPixmap(":/img/rsc/edit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
+ self.explorerTrackEdit.setIcon(icon4)
|
|
|
self.explorerTrackEdit.setObjectName("explorerTrackEdit")
|
|
|
self.horizontalLayout_13.addWidget(self.explorerTrackEdit)
|
|
|
self.verticalLayout_9.addLayout(self.horizontalLayout_13)
|
|
|
@@ -370,26 +362,26 @@ class Ui_mainWindow(object):
|
|
|
self.explorerTrackPlay = QtWidgets.QPushButton(self.page_3)
|
|
|
self.explorerTrackPlay.setEnabled(False)
|
|
|
self.explorerTrackPlay.setMinimumSize(QtCore.QSize(220, 0))
|
|
|
- icon6 = QtGui.QIcon()
|
|
|
- icon6.addPixmap(QtGui.QPixmap(":/img/rsc/play.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
- self.explorerTrackPlay.setIcon(icon6)
|
|
|
+ icon5 = QtGui.QIcon()
|
|
|
+ icon5.addPixmap(QtGui.QPixmap(":/img/rsc/play.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
+ self.explorerTrackPlay.setIcon(icon5)
|
|
|
self.explorerTrackPlay.setIconSize(QtCore.QSize(12, 12))
|
|
|
self.explorerTrackPlay.setObjectName("explorerTrackPlay")
|
|
|
self.verticalLayout_5.addWidget(self.explorerTrackPlay)
|
|
|
self.explorerAddToPlaylist = QtWidgets.QPushButton(self.page_3)
|
|
|
self.explorerAddToPlaylist.setEnabled(False)
|
|
|
self.explorerAddToPlaylist.setMinimumSize(QtCore.QSize(220, 0))
|
|
|
- icon7 = QtGui.QIcon()
|
|
|
- icon7.addPixmap(QtGui.QPixmap(":/img/rsc/double-right-arrows-symbol.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
- self.explorerAddToPlaylist.setIcon(icon7)
|
|
|
+ icon6 = QtGui.QIcon()
|
|
|
+ icon6.addPixmap(QtGui.QPixmap(":/img/rsc/double-right-arrows-symbol.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
+ self.explorerAddToPlaylist.setIcon(icon6)
|
|
|
self.explorerAddToPlaylist.setObjectName("explorerAddToPlaylist")
|
|
|
self.verticalLayout_5.addWidget(self.explorerAddToPlaylist)
|
|
|
self.explorerRemoveFromPlaylist = QtWidgets.QPushButton(self.page_3)
|
|
|
self.explorerRemoveFromPlaylist.setEnabled(False)
|
|
|
self.explorerRemoveFromPlaylist.setMinimumSize(QtCore.QSize(220, 0))
|
|
|
- icon8 = QtGui.QIcon()
|
|
|
- icon8.addPixmap(QtGui.QPixmap(":/img/rsc/double-left-arrows-symbol.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
- self.explorerRemoveFromPlaylist.setIcon(icon8)
|
|
|
+ icon7 = QtGui.QIcon()
|
|
|
+ icon7.addPixmap(QtGui.QPixmap(":/img/rsc/double-left-arrows-symbol.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
+ self.explorerRemoveFromPlaylist.setIcon(icon7)
|
|
|
self.explorerRemoveFromPlaylist.setObjectName("explorerRemoveFromPlaylist")
|
|
|
self.verticalLayout_5.addWidget(self.explorerRemoveFromPlaylist)
|
|
|
self.horizontalLayout_6.addLayout(self.verticalLayout_5)
|
|
|
@@ -505,18 +497,18 @@ class Ui_mainWindow(object):
|
|
|
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
|
|
|
self.musicFoldersRemoveButton = QtWidgets.QPushButton(self.page_5)
|
|
|
self.musicFoldersRemoveButton.setMinimumSize(QtCore.QSize(0, 32))
|
|
|
- icon9 = QtGui.QIcon()
|
|
|
- icon9.addPixmap(QtGui.QPixmap(":/img/rsc/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
- self.musicFoldersRemoveButton.setIcon(icon9)
|
|
|
+ icon8 = QtGui.QIcon()
|
|
|
+ icon8.addPixmap(QtGui.QPixmap(":/img/rsc/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
+ self.musicFoldersRemoveButton.setIcon(icon8)
|
|
|
self.musicFoldersRemoveButton.setObjectName("musicFoldersRemoveButton")
|
|
|
self.horizontalLayout_7.addWidget(self.musicFoldersRemoveButton)
|
|
|
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
self.horizontalLayout_7.addItem(spacerItem1)
|
|
|
self.musicFoldersAddButton = QtWidgets.QPushButton(self.page_5)
|
|
|
self.musicFoldersAddButton.setMinimumSize(QtCore.QSize(128, 32))
|
|
|
- icon10 = QtGui.QIcon()
|
|
|
- icon10.addPixmap(QtGui.QPixmap(":/img/rsc/plus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
- self.musicFoldersAddButton.setIcon(icon10)
|
|
|
+ icon9 = QtGui.QIcon()
|
|
|
+ icon9.addPixmap(QtGui.QPixmap(":/img/rsc/plus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
+ self.musicFoldersAddButton.setIcon(icon9)
|
|
|
self.musicFoldersAddButton.setObjectName("musicFoldersAddButton")
|
|
|
self.horizontalLayout_7.addWidget(self.musicFoldersAddButton)
|
|
|
self.verticalLayout_6.addLayout(self.horizontalLayout_7)
|
|
|
@@ -558,15 +550,17 @@ class Ui_mainWindow(object):
|
|
|
self.horizontalLayout_20.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
|
|
|
self.horizontalLayout_20.setObjectName("horizontalLayout_20")
|
|
|
self.tableTagsRemoveButton = QtWidgets.QPushButton(self.page_5)
|
|
|
- self.tableTagsRemoveButton.setMinimumSize(QtCore.QSize(0, 32))
|
|
|
- self.tableTagsRemoveButton.setIcon(icon9)
|
|
|
+ self.tableTagsRemoveButton.setMinimumSize(QtCore.QSize(100, 32))
|
|
|
+ self.tableTagsRemoveButton.setMaximumSize(QtCore.QSize(100, 32))
|
|
|
+ self.tableTagsRemoveButton.setIcon(icon8)
|
|
|
self.tableTagsRemoveButton.setObjectName("tableTagsRemoveButton")
|
|
|
self.horizontalLayout_20.addWidget(self.tableTagsRemoveButton)
|
|
|
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
self.horizontalLayout_20.addItem(spacerItem2)
|
|
|
self.tagsTableAddButton = QtWidgets.QPushButton(self.page_5)
|
|
|
self.tagsTableAddButton.setMinimumSize(QtCore.QSize(128, 32))
|
|
|
- self.tagsTableAddButton.setIcon(icon10)
|
|
|
+ self.tagsTableAddButton.setMaximumSize(QtCore.QSize(128, 32))
|
|
|
+ self.tagsTableAddButton.setIcon(icon9)
|
|
|
self.tagsTableAddButton.setObjectName("tagsTableAddButton")
|
|
|
self.horizontalLayout_20.addWidget(self.tagsTableAddButton)
|
|
|
self.verticalLayout_6.addLayout(self.horizontalLayout_20)
|
|
|
@@ -594,6 +588,7 @@ class Ui_mainWindow(object):
|
|
|
self.retranslateUi(mainWindow)
|
|
|
self.menu.setCurrentRow(-1)
|
|
|
self.stack.setCurrentIndex(1)
|
|
|
+ self.explorerFilterTags.setCurrentIndex(0)
|
|
|
self.explorerTrackMetaStack.setCurrentIndex(1)
|
|
|
QtCore.QMetaObject.connectSlotsByName(mainWindow)
|
|
|
|
|
|
@@ -613,9 +608,8 @@ class Ui_mainWindow(object):
|
|
|
self.btnExplorerRefresh.setToolTip(_translate("mainWindow", "Rafraichir la liste"))
|
|
|
self.explorerBtnSearch.setText(_translate("mainWindow", "..."))
|
|
|
self.explorerLineSearch.setPlaceholderText(_translate("mainWindow", "Rechercher un morceau..."))
|
|
|
- self.explorerBtnFilter.setText(_translate("mainWindow", "..."))
|
|
|
- self.comboBox.setItemText(0, _translate("mainWindow", "Feu rapide"))
|
|
|
- self.comboBox.setItemText(1, _translate("mainWindow", "Terre lent"))
|
|
|
+ self.explorerFilterTags.setPlaceholderText(_translate("mainWindow", "(Filtrer par étiquette)"))
|
|
|
+ self.explorerFilterTags.setItemText(0, _translate("mainWindow", "Toutes les étiquettes"))
|
|
|
self.explorerTable.headerItem().setText(1, _translate("mainWindow", "2"))
|
|
|
self.label_2.setText(_translate("mainWindow", "Sélectionnez une piste"))
|
|
|
self.label_11.setText(_translate("mainWindow", "Informations sur la piste"))
|