Skip to content
Permalink
Browse files

make Larry happy: larger icons in plugin installer

  • Loading branch information
alexbruy committed Oct 9, 2012
1 parent 9e5762a commit f262caae0621661cfaab8b68fab3b08ed351f484
@@ -285,6 +285,8 @@ def __init__(self, parent):
self.connect(self.radioPluginType0, SIGNAL("toggled (bool)"), self.changePluginPolicy)
self.connect(self.radioPluginType1, SIGNAL("toggled (bool)"), self.changePluginPolicy)
self.connect(self.radioPluginType2, SIGNAL("toggled (bool)"), self.changePluginPolicy)
# increase default icon size
self.treePlugins.setIconSize(QSize(22, 22))
if repositories.checkingOnStart():
self.checkUpdates.setChecked(Qt.Checked)
else:
@@ -485,6 +487,8 @@ def addItem(p):
a.setToolTip(0, self.tr("Experimental plugin. Use at own risk"))
a.setData(0, Qt.UserRole, QVariant(0))
else:
# set empty icon to keep row height same for all plugins
a.setIcon(0, QIcon(":/plugins/installer/pluginStable.png"))
a.setData(0, Qt.UserRole, QVariant(1))
if p["error"]:
a.setText(1,statuses[p["error"]])
Binary file not shown.
Binary file not shown.
@@ -6,5 +6,6 @@
<file>repoUnavailable.png</file>
<file>repoConnected.png</file>
<file>pluginExperimental.png</file>
<file>pluginStable.png</file>
</qresource>
</RCC>

0 comments on commit f262caa

Please sign in to comment.
You can’t perform that action at this time.