pybitmessage.bitmessageqt package

PyQt based UI for bitmessage, the main module

powQueueSize()[source]

Returns the size of queues.workerQueue including current unfinished work

openKeysFile()[source]

Open keys file with an external editor

class MyForm(parent=None)[source]

Bases: sphinx.ext.autodoc.importer._MockObject

maxSoundFrequencySec = 60
REPLY_TYPE_SENDER = 0
REPLY_TYPE_CHAN = 1
REPLY_TYPE_UPD = 2
change_translation(newlocale=None)

Change translation language for the application

init_file_menu()
init_inbox_popup_menu(connectSignal=True)
init_identities_popup_menu(connectSignal=True)
init_chan_popup_menu(connectSignal=True)
init_addressbook_popup_menu(connectSignal=True)
init_subscriptions_popup_menu(connectSignal=True)
init_sent_popup_menu(connectSignal=True)
rerenderTabTreeSubscriptions()
rerenderTabTreeMessages()
rerenderTabTreeChans()
rerenderTabTree(tab)
getContactSelected()

Returns last selected contact once

updateStartOnLogon()

Configure Bitmessage to start on startup (or remove the configuration) based on the setting in the keys.dat file

updateTTL(sliderPosition)
updateHumanFriendlyTTLDescription(TTL)
appIndicatorShowOrHideWindow()
appIndicatorShow()
appIndicatorHide()
appIndicatorSwitchQuietMode()
appIndicatorInbox(item=None)
appIndicatorSend()
appIndicatorSubscribe()
appIndicatorChannel()
updateUnreadStatus(widget, row, msgid, unread=True)

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

propagateUnreadCount(folder=None, widget=None)
addMessageListItem(tableWidget, items)
addMessageListItemSent(tableWidget, toAddress, fromAddress, subject, status, ackdata, lastactiontime)
addMessageListItemInbox(tableWidget, toAddress, fromAddress, subject, msgid, received, read)
loadSent(tableWidget, account, where='', what='')
loadMessagelist(tableWidget, account, folder='inbox', where='', what='', unreadOnly=False)
appIndicatorInit(app)
getUnread()
playSound(category, label)
sqlInit()
indicatorInit()

Try init the distro specific appindicator, for example the Ubuntu MessagingMenu

notifierInit()
notifierShow(title, subtitle, category, label=None, icon=None)
treeWidgetKeyPressEvent(event)
addressbookKeyPressEvent(event)

Handle keypress event in addressbook widget

tableWidgetKeyPressEvent(event)
textEditKeyPressEvent(event)
handleKeyPress(event, focus=None)

This method handles keypress events for all widgets on MyForm

click_actionManageKeys()
click_actionDeleteAllTrashedMessages()
click_actionRegenerateDeterministicAddresses()
click_actionJoinChan()
showConnectDialog()
showMigrationWizard(level)
changeEvent(event)
connected = False
setStatusIcon(color)
initTrayIcon(iconFileName, app)
setTrayIconFile(iconFileName)
calcTrayIcon(iconFileName, inboxUnreadCount)
drawTrayIcon(iconFileName, inboxUnreadCount)
changedInboxUnread(row=None)
findInboxUnreadCount(count=None)
updateSentItemStatusByToAddress(toAddress, textToDisplay)
updateSentItemStatusByAckdata(ackdata, textToDisplay)
removeInboxRowByMsgid(msgid)
newVersionAvailable(version)
displayAlert(title, text, exitAfterUserClicksOk)
rerenderMessagelistFromLabels()
rerenderMessagelistToLabels()
rerenderAddressBook()
rerenderSubscriptions()
click_pushButtonTTL()
click_pushButtonClear()
click_pushButtonSend()
click_pushButtonLoadFromAddressBook()
click_pushButtonFetchNamecoinID()
setBroadcastEnablementDependingOnWhetherThisIsAMailingListAddress(address)
rerenderComboBoxSendFrom()
rerenderComboBoxSendFromBroadcast()
displayNewSentMessage(toAddress, toLabel, fromAddress, subject, message, ackdata)
displayNewInboxMessage(inventoryHash, toAddress, fromAddress, subject, message)
click_pushButtonAddAddressBook(dialog=None)
addSubscription(address, label)
click_pushButtonAddSubscription()
click_pushButtonStatusIcon()
click_actionHelp()
click_actionSupport()
click_actionAbout()
click_actionSettings()
on_action_Send()

Send message to current selected address

on_action_SpecialAddressBehaviorDialog()

Show SpecialAddressBehaviorDialog

on_action_EmailGatewayDialog()
on_action_MarkAllRead()
click_NewAddressDialog()
network_switch()
quit()

Quit the bitmessageqt application

closeEvent(event)

window close event

on_action_InboxMessageForceHtml()
on_action_InboxMarkUnread()
quoted_text(message)
setSendFromComboBox(address=None)
on_action_InboxReplyChan()
on_action_SentReply()
on_action_InboxReply(reply_type=None)

Handle any reply action depending on reply_type

on_action_InboxAddSenderToAddressBook()
on_action_InboxAddSenderToBlackList()
deleteRowFromMessagelist(row=None, inventoryHash=None, ackData=None, messageLists=None)
on_action_InboxTrash()
on_action_TrashUndelete()
on_action_InboxSaveMessageAs()
on_action_SentTrash()
on_action_ForceSend()
on_action_SentClipboard()
on_action_AddressBookNew()
on_action_AddressBookDelete()
on_action_AddressBookClipboard()
on_action_AddressBookSend()
on_action_AddressBookSubscribe()
on_context_menuAddressBook(point)
on_action_SubscriptionsNew()
on_action_SubscriptionsDelete()
on_action_SubscriptionsClipboard()
on_action_SubscriptionsEnable()
on_action_SubscriptionsDisable()
on_context_menuSubscriptions(point)
widgetConvert(widget)
getCurrentTreeWidget()
getAccountTreeWidget(account)
getCurrentMessagelist()
getAccountMessagelist(account)
getCurrentMessageId()
getCurrentMessageTextedit()
getAccountTextedit(account)
getCurrentSearchLine(currentIndex=None, retObj=False)
getCurrentSearchOption(currentIndex=None)
getCurrentItem(treeWidget=None)
getCurrentAccount(treeWidget=None)
getCurrentFolder(treeWidget=None)
setCurrentItemColor(color)
getAddressbookSelectedItems()
on_action_YourIdentitiesNew()
on_action_YourIdentitiesDelete()
on_action_Enable()
enableIdentity(address)
on_action_Disable()
disableIdentity(address)
on_action_Clipboard()
on_action_ClipboardMessagelist()
on_action_TreeWidgetSetAvatar()
on_action_AddressBookSetAvatar()
on_action_SetAvatar(thisTableWidget)
setAvatar(addressAtCurrentRow)
on_action_AddressBookSetSound()
setAddressSound(addr)
on_context_menuYourIdentities(point)
on_context_menuChan(point)
on_context_menuInbox(point)
on_context_menuSent(point)
inboxSearchLineEditUpdated(text)
inboxSearchLineEditReturnPressed()
treeWidgetItemClicked()
treeWidgetItemChanged(item, column)
tableWidgetInboxItemClicked()
tableWidgetAddressBookItemChanged(item)
tabWidgetCurrentChanged(n)
writeNewAddressToTable(label, address, streamNumber)
updateStatusBar(data)
resetNamecoinConnection()
initSettings()
class BitmessageQtApplication(*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

uuid = '6ec0149b-96e1-4be1-93ab-1465fb3ebf7c'
on_new_connection()
init()[source]
run()[source]