Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output in ResultsTree #16

Merged
merged 1 commit into from May 27, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Output in ResultsTree

  • Loading branch information...
RohanVB committed May 27, 2019
commit e5f75b31ebcac1080d6cec77cd3485dbc79984c2
@@ -102,17 +102,15 @@ def refresh(self):
self.data = {}
# Populating tree
results = self.results
print(results)
for messages in results:
# title += ' (%s message%s)' % (messages,
# 's' if len(messages)>1 else '')
title_item = QTreeWidgetItem(self, [title], QTreeWidgetItem.Type)
# title_item.setIcon(0, icon)
for messages in results['C']:
for message in messages:
print(type(message))
new_item = ' (%s %s)' % (message, '' if len(messages)>1 else '')
title_item = QTreeWidgetItem(self, [new_item], QTreeWidgetItem.Type)
if not messages:
title_item.setDisabled(True)
modules = {}
for message in messages:
text = "%s" % (message)
# for message in messages:
# text = "%s" % (message)


class CoalaWidget(QWidget):
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.