pybitmessage.bitmessageqt package

PyQt based UI for bitmessage, the main module

class MyForm(parent=None)[source]

Bases: sphinx.ext.autodoc.importer._MockObject

REPLY_TYPE_CHAN = 1
REPLY_TYPE_SENDER = 0
REPLY_TYPE_UPD = 2
addEntryToAddressBook(address, label)
addMessageListItem(tableWidget, items)
addMessageListItemInbox(tableWidget, msgfolder, msgid, toAddress, fromAddress, subject, received, read)
addMessageListItemSent(tableWidget, toAddress, fromAddress, subject, status, ackdata, lastactiontime)
addSubscription(address, label)
addressbookKeyPressEvent(event)

Handle keypress event in addressbook widget

appIndicatorChannel()
appIndicatorHide()
appIndicatorInbox(item=None)
appIndicatorInit(app)
appIndicatorSend()
appIndicatorShow()
appIndicatorShowOrHideWindow()
appIndicatorSubscribe()
appIndicatorSwitchQuietMode()
calcTrayIcon(iconFileName, inboxUnreadCount)
changeEvent(event)
change_translation(newlocale=None)

Change translation language for the application

changedInboxUnread(row=None)
click_NewAddressDialog()
click_actionAbout()
click_actionDeleteAllTrashedMessages()
click_actionHelp()
click_actionJoinChan()
click_actionManageKeys()
click_actionRegenerateDeterministicAddresses()
click_actionSettings()
click_actionSupport()
click_pushButtonAddAddressBook(dialog=None)
click_pushButtonAddSubscription()
click_pushButtonClear()
click_pushButtonFetchNamecoinID()
click_pushButtonLoadFromAddressBook()
click_pushButtonSend()
click_pushButtonStatusIcon()
click_pushButtonTTL()
closeEvent(event)
connected = False
deleteRowFromMessagelist(row=None, inventoryHash=None, ackData=None, messageLists=None)
disableIdentity(address)
displayAlert(title, text, exitAfterUserClicksOk)
displayNewInboxMessage(inventoryHash, toAddress, fromAddress, subject, message)
displayNewSentMessage(toAddress, toLabel, fromAddress, subject, message, ackdata)
drawTrayIcon(iconFileName, inboxUnreadCount)
enableIdentity(address)
findInboxUnreadCount(count=None)
getAccountMessagelist(account)
getAccountTextedit(account)
getAccountTreeWidget(account)
getAddressbookSelectedItems()
getContactSelected()

Returns last selected contact once

getCurrentAccount(treeWidget=None)
getCurrentFolder(treeWidget=None)
getCurrentItem(treeWidget=None)
getCurrentMessageId()
getCurrentMessageTextedit()
getCurrentMessagelist()
getCurrentSearchLine(currentIndex=None, retObj=False)
getCurrentSearchOption(currentIndex=None)
getCurrentTreeWidget()
getUnread()
handleKeyPress(event, focus=None)

This method handles keypress events for all widgets on MyForm

inboxSearchLineEditReturnPressed()
inboxSearchLineEditUpdated(text)
indicatorInit()
initSettings()
initTrayIcon(iconFileName, app)
init_addressbook_popup_menu(connectSignal=True)
init_chan_popup_menu(connectSignal=True)
init_file_menu()
init_identities_popup_menu(connectSignal=True)
init_inbox_popup_menu(connectSignal=True)
init_sent_popup_menu(connectSignal=True)
init_subscriptions_popup_menu(connectSignal=True)
loadMessagelist(tableWidget, account, folder='inbox', where='', what='', unreadOnly=False)
loadSent(tableWidget, account, where='', what='')
maxSoundFrequencySec = 60
network_switch()
newVersionAvailable(version)
notifierInit()
notifierShow(title, subtitle, category, label=None, icon=None)
on_action_AddressBookClipboard()
on_action_AddressBookDelete()
on_action_AddressBookNew()
on_action_AddressBookSend()
on_action_AddressBookSetAvatar()
on_action_AddressBookSetSound()
on_action_AddressBookSubscribe()
on_action_Clipboard()
on_action_ClipboardMessagelist()
on_action_Disable()
on_action_EmailGatewayDialog()
on_action_Enable()
on_action_ForceSend()
on_action_InboxAddSenderToAddressBook()
on_action_InboxAddSenderToBlackList()
on_action_InboxMarkUnread()
on_action_InboxMessageForceHtml()
on_action_InboxReply(reply_type=None)

Handle any reply action depending on reply_type

on_action_InboxReplyChan()
on_action_InboxSaveMessageAs()
on_action_InboxTrash()
on_action_MarkAllRead()
on_action_Send()

Send message to current selected address

on_action_SentClipboard()
on_action_SentReply()
on_action_SentTrash()
on_action_SetAvatar(thisTableWidget)
on_action_SpecialAddressBehaviorDialog()

Show SpecialAddressBehaviorDialog

on_action_SubscriptionsClipboard()
on_action_SubscriptionsDelete()
on_action_SubscriptionsDisable()
on_action_SubscriptionsEnable()
on_action_SubscriptionsNew()
on_action_TrashUndelete()
on_action_TreeWidgetSetAvatar()
on_action_YourIdentitiesDelete()
on_action_YourIdentitiesNew()
on_context_menuAddressBook(point)
on_context_menuChan(point)
on_context_menuInbox(point)
on_context_menuSent(point)
on_context_menuSubscriptions(point)
on_context_menuYourIdentities(point)
playSound(category, label)
propagateUnreadCount(folder=None, widget=None)
quit()

Quit the bitmessageqt application

quoted_text(message)
removeInboxRowByMsgid(msgid)
rerenderAddressBook()
rerenderComboBoxSendFrom()
rerenderComboBoxSendFromBroadcast()
rerenderMessagelistFromLabels()
rerenderMessagelistToLabels()
rerenderSubscriptions()
rerenderTabTree(tab)
rerenderTabTreeChans()
rerenderTabTreeMessages()
rerenderTabTreeSubscriptions()
resetNamecoinConnection()
setAddressSound(addr)
setAvatar(addressAtCurrentRow)
setBroadcastEnablementDependingOnWhetherThisIsAMailingListAddress(address)
setCurrentItemColor(color)
setSendFromComboBox(address=None)
setStatusIcon(color)
setTrayIconFile(iconFileName)
showConnectDialog()
showMigrationWizard(level)
sqlInit()
tabWidgetCurrentChanged(n)
tableWidgetAddressBookItemChanged(item)
tableWidgetInboxItemClicked()
tableWidgetKeyPressEvent(event)
textEditKeyPressEvent(event)
treeWidgetItemChanged(item, column)
treeWidgetItemClicked()
treeWidgetKeyPressEvent(event)
updateHumanFriendlyTTLDescription(TTL)
updateSentItemStatusByAckdata(ackdata, textToDisplay)
updateSentItemStatusByToAddress(toAddress, textToDisplay)
updateStartOnLogon()
updateStatusBar(data)
updateTTL(sliderPosition)
updateUnreadStatus(widget, row, msgid, unread=True)

Switch unread for item of msgid and related items in other STableWidgets “All Accounts” and “Chans”

widgetConvert(widget)
writeNewAddressToTable(label, address, streamNumber)
class MySingleApplication(*argv)[source]

Bases: sphinx.ext.autodoc.importer._MockObject

Listener to allow our Qt form to get focus when another instance of the application is open.

Based off this nice reimplmentation of MySingleApplication: http://stackoverflow.com/a/12712362/2679626

on_new_connection()
uuid = '6ec0149b-96e1-4be1-93ab-1465fb3ebf7c'
init()[source]
class myTableWidgetItem(*args, **kwargs)[source]

Bases: sphinx.ext.autodoc.importer._MockObject

powQueueSize()[source]

Returns the size of queues.workerQueue including current unfinished work

run()[source]