diff --git a/issueselectionwindow.py b/issueselectionwindow.py index 79d2ea7..2195aab 100644 --- a/issueselectionwindow.py +++ b/issueselectionwindow.py @@ -90,6 +90,7 @@ class IssueSelectionWindow(QtGui.QDialog): item_text = record['issue_number'] item = QtGui.QTableWidgetItem(item_text) + item.setData( QtCore.Qt.ToolTipRole, item_text ) item.setData( QtCore.Qt.UserRole ,record['id']) item.setData(QtCore.Qt.DisplayRole, float(item_text)) item.setFlags(QtCore.Qt.ItemIsSelectable| QtCore.Qt.ItemIsEnabled) @@ -97,6 +98,7 @@ class IssueSelectionWindow(QtGui.QDialog): item_text = record['name'] item = QtGui.QTableWidgetItem(item_text) + item.setData( QtCore.Qt.ToolTipRole, item_text ) item.setFlags(QtCore.Qt.ItemIsSelectable| QtCore.Qt.ItemIsEnabled) self.twList.setItem(row, 1, item) diff --git a/matchselectionwindow.py b/matchselectionwindow.py index 11c9931..98048b4 100644 --- a/matchselectionwindow.py +++ b/matchselectionwindow.py @@ -59,6 +59,7 @@ class MatchSelectionWindow(QtGui.QDialog): item_text = match['series'] item = QtGui.QTableWidgetItem(item_text) + item.setData( QtCore.Qt.ToolTipRole, item_text ) item.setFlags(QtCore.Qt.ItemIsSelectable| QtCore.Qt.ItemIsEnabled) self.twList.setItem(row, 0, item) @@ -73,6 +74,7 @@ class MatchSelectionWindow(QtGui.QDialog): else: item_text = u"Unknown" item = QtGui.QTableWidgetItem(item_text) + item.setData( QtCore.Qt.ToolTipRole, item_text ) item.setFlags(QtCore.Qt.ItemIsSelectable| QtCore.Qt.ItemIsEnabled) self.twList.setItem(row, 1, item) @@ -84,6 +86,7 @@ class MatchSelectionWindow(QtGui.QDialog): else: item_text += u"????" item = QtGui.QTableWidgetItem(item_text) + item.setData( QtCore.Qt.ToolTipRole, item_text ) item.setFlags(QtCore.Qt.ItemIsSelectable| QtCore.Qt.ItemIsEnabled) self.twList.setItem(row, 2, item)