Skip to content

Commit f262caa

Browse files
committed
make Larry happy: larger icons in plugin installer
1 parent 9e5762a commit f262caa

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

python/plugins/plugin_installer/installer_gui.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ def __init__(self, parent):
285285
self.connect(self.radioPluginType0, SIGNAL("toggled (bool)"), self.changePluginPolicy)
286286
self.connect(self.radioPluginType1, SIGNAL("toggled (bool)"), self.changePluginPolicy)
287287
self.connect(self.radioPluginType2, SIGNAL("toggled (bool)"), self.changePluginPolicy)
288+
# increase default icon size
289+
self.treePlugins.setIconSize(QSize(22, 22))
288290
if repositories.checkingOnStart():
289291
self.checkUpdates.setChecked(Qt.Checked)
290292
else:
@@ -485,6 +487,8 @@ def addItem(p):
485487
a.setToolTip(0, self.tr("Experimental plugin. Use at own risk"))
486488
a.setData(0, Qt.UserRole, QVariant(0))
487489
else:
490+
# set empty icon to keep row height same for all plugins
491+
a.setIcon(0, QIcon(":/plugins/installer/pluginStable.png"))
488492
a.setData(0, Qt.UserRole, QVariant(1))
489493
if p["error"]:
490494
a.setText(1,statuses[p["error"]])
Loading
214 Bytes
Loading

python/plugins/plugin_installer/resources.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
<file>repoUnavailable.png</file>
77
<file>repoConnected.png</file>
88
<file>pluginExperimental.png</file>
9+
<file>pluginStable.png</file>
910
</qresource>
1011
</RCC>

0 commit comments

Comments
 (0)