Replaced 'Add' and 'Remove' by + and - icons in the directories dialog under Qt.
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 1.5 KiB |
BIN
images/minus_8.png
Normal file
After Width: | Height: | Size: 167 B |
BIN
images/plus_8.png
Normal file
After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.8 KiB |
@ -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>
|
@ -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)
|
||||
|
@ -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)
|
||||
|