1
0
spegling av https://github.com/arsenetar/dupeguru.git synced 2025-07-12 01:33:20 +00:00

Replaced 'Add' and 'Remove' by + and - icons in the directories dialog under Qt.

This commit is contained in:
Virgil Dupras 2011-01-18 11:07:56 +01:00
förälder 19308bf686
incheckning e7d26e3f82
11 ändrade filer med 8 tillägg och 5 borttagningar

Binary file not shown.

Före

Bredd:  |  Höjd:  |  Storlek: 3.0 KiB

Binary file not shown.

Före

Bredd:  |  Höjd:  |  Storlek: 1.9 KiB

Binary file not shown.

Före

Bredd:  |  Höjd:  |  Storlek: 5.0 KiB

Binary file not shown.

Före

Bredd:  |  Höjd:  |  Storlek: 1.5 KiB

Binär
images/minus_8.png Normal file

Binary file not shown.

Efter

Bredd:  |  Höjd:  |  Storlek: 167 B

Binär
images/plus_8.png Normal file

Binary file not shown.

Efter

Bredd:  |  Höjd:  |  Storlek: 201 B

Binary file not shown.

Före

Bredd:  |  Höjd:  |  Storlek: 2.1 KiB

Binary file not shown.

Före

Bredd:  |  Höjd:  |  Storlek: 2.8 KiB

Visa fil

@ -6,5 +6,7 @@
<file alias="logo_me_big">../../images/dgme_logo_128.png</file>
<file alias="logo_se">../../images/dgse_logo_32.png</file>
<file alias="logo_se_big">../../images/dgse_logo_128.png</file>
<file alias="plus">../../images/plus_8.png</file>
<file alias="minus">../../images/minus_8.png</file>
</qresource>
</RCC>

Visa fil

@ -6,10 +6,10 @@
# which should be included with this package. The terms are also available at
# http://www.hardcoded.net/licenses/bsd_license
from PyQt4.QtCore import QSize, QRect
from PyQt4.QtCore import QRect
from PyQt4.QtGui import (QWidget, QFileDialog, QHeaderView, QVBoxLayout, QHBoxLayout, QTreeView,
QAbstractItemView, QSpacerItem, QSizePolicy, QPushButton, QApplication, QMessageBox, QMainWindow,
QMenuBar, QMenu)
QMenuBar, QMenu, QIcon, QPixmap)
from qtlib.recent import Recent
from core.app import NoScannableFileError
@ -116,10 +116,12 @@ class DirectoriesDialog(QMainWindow):
header.resizeSection(1, 100)
self.verticalLayout.addWidget(self.treeView)
self.horizontalLayout = QHBoxLayout()
self.removeFolderButton = QPushButton("Remove", self.centralwidget)
self.removeFolderButton = QPushButton(self.centralwidget)
self.removeFolderButton.setIcon(QIcon(QPixmap(":/minus")))
self.removeFolderButton.setShortcut("Del")
self.horizontalLayout.addWidget(self.removeFolderButton)
self.addFolderButton = QPushButton("Add", self.centralwidget)
self.addFolderButton = QPushButton(self.centralwidget)
self.addFolderButton.setIcon(QIcon(QPixmap(":/plus")))
self.horizontalLayout.addWidget(self.addFolderButton)
spacerItem1 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem1)

Visa fil

@ -143,7 +143,6 @@ class ResultWindow(QMainWindow):
# Action menu
actionMenu = QMenu('Actions', self.menubar)
actionMenu.setIcon(QIcon(QPixmap(":/actions")))
actionMenu.addAction(self.actionDeleteMarked)
actionMenu.addAction(self.actionHardlinkMarked)
actionMenu.addAction(self.actionMoveMarked)