parent
dd2f83ff4d
commit
9d78ca5059
|
@ -265,12 +265,12 @@ class Ui_AddressBookWidgetItem(QtGui.QTableWidgetItem, AccountMixin):
|
||||||
class Ui_AddressBookWidgetItemLabel(Ui_AddressBookWidgetItem):
|
class Ui_AddressBookWidgetItemLabel(Ui_AddressBookWidgetItem):
|
||||||
def __init__ (self, address, label, type):
|
def __init__ (self, address, label, type):
|
||||||
Ui_AddressBookWidgetItem.__init__(self, label, type)
|
Ui_AddressBookWidgetItem.__init__(self, label, type)
|
||||||
self.label = label
|
|
||||||
self.setIcon(avatarize(address))
|
self.setIcon(avatarize(address))
|
||||||
|
self.setToolTip(label + " (" + address + ")")
|
||||||
|
|
||||||
|
|
||||||
class Ui_AddressBookWidgetItemAddress(Ui_AddressBookWidgetItem):
|
class Ui_AddressBookWidgetItemAddress(Ui_AddressBookWidgetItem):
|
||||||
def __init__ (self, address, label, type):
|
def __init__ (self, address, label, type):
|
||||||
Ui_AddressBookWidgetItem.__init__(self, address, type)
|
Ui_AddressBookWidgetItem.__init__(self, address, type)
|
||||||
self.label = label
|
|
||||||
self.setFlags(QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEnabled)
|
self.setFlags(QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEnabled)
|
||||||
|
self.setToolTip(label + " (" + address + ")")
|
Loading…
Reference in New Issue
Block a user