2012-11-19 20:45:05 +01:00
# -*- coding: utf-8 -*-
2015-03-19 18:25:50 +01:00
# Form implementation generated from reading ui file 'bitmessageui.ui'
2012-11-19 20:45:05 +01:00
#
2015-03-19 18:25:50 +01:00
# Created: Wed Mar 4 00:11:02 2015
2015-03-03 18:17:56 +01:00
# by: PyQt4 UI code generator 4.10.4
2012-11-19 20:45:05 +01:00
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore , QtGui
try :
_fromUtf8 = QtCore . QString . fromUtf8
except AttributeError :
2013-06-13 01:11:01 +02:00
def _fromUtf8 ( s ) :
return s
try :
_encoding = QtGui . QApplication . UnicodeUTF8
def _translate ( context , text , disambig ) :
return QtGui . QApplication . translate ( context , text , disambig , _encoding )
except AttributeError :
def _translate ( context , text , disambig ) :
return QtGui . QApplication . translate ( context , text , disambig )
2012-11-19 20:45:05 +01:00
class Ui_MainWindow ( object ) :
def setupUi ( self , MainWindow ) :
MainWindow . setObjectName ( _fromUtf8 ( " MainWindow " ) )
2013-11-02 23:01:36 +01:00
MainWindow . resize ( 885 , 580 )
2012-11-26 01:36:29 +01:00
icon = QtGui . QIcon ( )
icon . addPixmap ( QtGui . QPixmap ( _fromUtf8 ( " :/newPrefix/images/can-icon-24px.png " ) ) , QtGui . QIcon . Normal , QtGui . QIcon . Off )
MainWindow . setWindowIcon ( icon )
2012-11-19 20:45:05 +01:00
MainWindow . setTabShape ( QtGui . QTabWidget . Rounded )
self . centralwidget = QtGui . QWidget ( MainWindow )
self . centralwidget . setObjectName ( _fromUtf8 ( " centralwidget " ) )
2015-03-03 18:17:56 +01:00
self . gridLayout_10 = QtGui . QGridLayout ( self . centralwidget )
self . gridLayout_10 . setObjectName ( _fromUtf8 ( " gridLayout_10 " ) )
2012-11-19 20:45:05 +01:00
self . tabWidget = QtGui . QTabWidget ( self . centralwidget )
sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Expanding , QtGui . QSizePolicy . Expanding )
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
sizePolicy . setHeightForWidth ( self . tabWidget . sizePolicy ( ) . hasHeightForWidth ( ) )
self . tabWidget . setSizePolicy ( sizePolicy )
self . tabWidget . setMinimumSize ( QtCore . QSize ( 0 , 0 ) )
self . tabWidget . setBaseSize ( QtCore . QSize ( 0 , 0 ) )
font = QtGui . QFont ( )
font . setPointSize ( 9 )
self . tabWidget . setFont ( font )
self . tabWidget . setTabPosition ( QtGui . QTabWidget . North )
self . tabWidget . setTabShape ( QtGui . QTabWidget . Rounded )
self . tabWidget . setObjectName ( _fromUtf8 ( " tabWidget " ) )
self . inbox = QtGui . QWidget ( )
self . inbox . setObjectName ( _fromUtf8 ( " inbox " ) )
2015-03-03 18:17:56 +01:00
self . gridLayout = QtGui . QGridLayout ( self . inbox )
self . gridLayout . setObjectName ( _fromUtf8 ( " gridLayout " ) )
self . horizontalLayout_3 = QtGui . QHBoxLayout ( )
self . horizontalLayout_3 . setObjectName ( _fromUtf8 ( " horizontalLayout_3 " ) )
self . verticalLayout_12 = QtGui . QVBoxLayout ( )
self . verticalLayout_12 . setObjectName ( _fromUtf8 ( " verticalLayout_12 " ) )
self . treeWidgetYourIdentities = QtGui . QTreeWidget ( self . inbox )
self . treeWidgetYourIdentities . setMaximumSize ( QtCore . QSize ( 200 , 16777215 ) )
self . treeWidgetYourIdentities . setObjectName ( _fromUtf8 ( " treeWidgetYourIdentities " ) )
icon1 = QtGui . QIcon ( )
icon1 . addPixmap ( QtGui . QPixmap ( _fromUtf8 ( " :/newPrefix/images/identities.png " ) ) , QtGui . QIcon . Selected , QtGui . QIcon . Off )
self . treeWidgetYourIdentities . headerItem ( ) . setIcon ( 0 , icon1 )
self . verticalLayout_12 . addWidget ( self . treeWidgetYourIdentities )
self . pushButtonNewAddress = QtGui . QPushButton ( self . inbox )
self . pushButtonNewAddress . setMaximumSize ( QtCore . QSize ( 200 , 16777215 ) )
self . pushButtonNewAddress . setObjectName ( _fromUtf8 ( " pushButtonNewAddress " ) )
self . verticalLayout_12 . addWidget ( self . pushButtonNewAddress )
self . horizontalLayout_3 . addLayout ( self . verticalLayout_12 )
self . verticalLayout_11 = QtGui . QVBoxLayout ( )
self . verticalLayout_11 . setObjectName ( _fromUtf8 ( " verticalLayout_11 " ) )
2013-07-12 08:01:33 +02:00
self . horizontalLayoutSearch = QtGui . QHBoxLayout ( )
self . horizontalLayoutSearch . setContentsMargins ( - 1 , 0 , - 1 , - 1 )
self . horizontalLayoutSearch . setObjectName ( _fromUtf8 ( " horizontalLayoutSearch " ) )
2013-07-12 10:24:24 +02:00
self . inboxSearchLineEdit = QtGui . QLineEdit ( self . inbox )
self . inboxSearchLineEdit . setObjectName ( _fromUtf8 ( " inboxSearchLineEdit " ) )
self . horizontalLayoutSearch . addWidget ( self . inboxSearchLineEdit )
2015-03-03 18:17:56 +01:00
self . verticalLayout_11 . addLayout ( self . horizontalLayoutSearch )
self . tableWidgetInbox = QtGui . QTableWidget ( self . inbox )
2013-08-15 20:21:07 +02:00
self . tableWidgetInbox . setEditTriggers ( QtGui . QAbstractItemView . NoEditTriggers )
2012-11-19 20:45:05 +01:00
self . tableWidgetInbox . setAlternatingRowColors ( True )
2013-04-05 23:54:38 +02:00
self . tableWidgetInbox . setSelectionMode ( QtGui . QAbstractItemView . ExtendedSelection )
2012-11-19 20:45:05 +01:00
self . tableWidgetInbox . setSelectionBehavior ( QtGui . QAbstractItemView . SelectRows )
self . tableWidgetInbox . setWordWrap ( False )
self . tableWidgetInbox . setObjectName ( _fromUtf8 ( " tableWidgetInbox " ) )
self . tableWidgetInbox . setColumnCount ( 4 )
self . tableWidgetInbox . setRowCount ( 0 )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetInbox . setHorizontalHeaderItem ( 0 , item )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetInbox . setHorizontalHeaderItem ( 1 , item )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetInbox . setHorizontalHeaderItem ( 2 , item )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetInbox . setHorizontalHeaderItem ( 3 , item )
self . tableWidgetInbox . horizontalHeader ( ) . setCascadingSectionResizes ( True )
self . tableWidgetInbox . horizontalHeader ( ) . setDefaultSectionSize ( 200 )
self . tableWidgetInbox . horizontalHeader ( ) . setHighlightSections ( False )
self . tableWidgetInbox . horizontalHeader ( ) . setMinimumSectionSize ( 27 )
self . tableWidgetInbox . horizontalHeader ( ) . setSortIndicatorShown ( False )
self . tableWidgetInbox . horizontalHeader ( ) . setStretchLastSection ( True )
self . tableWidgetInbox . verticalHeader ( ) . setVisible ( False )
self . tableWidgetInbox . verticalHeader ( ) . setDefaultSectionSize ( 26 )
2015-03-03 18:17:56 +01:00
self . verticalLayout_11 . addWidget ( self . tableWidgetInbox )
self . textEditInboxMessage = QtGui . QTextEdit ( self . inbox )
2012-11-19 20:45:05 +01:00
self . textEditInboxMessage . setBaseSize ( QtCore . QSize ( 0 , 500 ) )
2013-08-15 16:01:36 +02:00
self . textEditInboxMessage . setReadOnly ( True )
2012-11-19 20:45:05 +01:00
self . textEditInboxMessage . setObjectName ( _fromUtf8 ( " textEditInboxMessage " ) )
2015-03-03 18:17:56 +01:00
self . verticalLayout_11 . addWidget ( self . textEditInboxMessage )
self . horizontalLayout_3 . addLayout ( self . verticalLayout_11 )
self . gridLayout . addLayout ( self . horizontalLayout_3 , 0 , 0 , 1 , 1 )
icon2 = QtGui . QIcon ( )
icon2 . addPixmap ( QtGui . QPixmap ( _fromUtf8 ( " :/newPrefix/images/inbox.png " ) ) , QtGui . QIcon . Normal , QtGui . QIcon . Off )
self . tabWidget . addTab ( self . inbox , icon2 , _fromUtf8 ( " " ) )
2012-11-19 20:45:05 +01:00
self . send = QtGui . QWidget ( )
self . send . setObjectName ( _fromUtf8 ( " send " ) )
2015-03-03 18:17:56 +01:00
self . gridLayout_11 = QtGui . QGridLayout ( self . send )
self . gridLayout_11 . setObjectName ( _fromUtf8 ( " gridLayout_11 " ) )
self . horizontalLayout = QtGui . QHBoxLayout ( )
self . horizontalLayout . setObjectName ( _fromUtf8 ( " horizontalLayout " ) )
self . verticalLayout_2 = QtGui . QVBoxLayout ( )
self . verticalLayout_2 . setObjectName ( _fromUtf8 ( " verticalLayout_2 " ) )
self . tableWidgetAddressBook = QtGui . QTableWidget ( self . send )
self . tableWidgetAddressBook . setMaximumSize ( QtCore . QSize ( 200 , 16777215 ) )
self . tableWidgetAddressBook . setAlternatingRowColors ( True )
self . tableWidgetAddressBook . setSelectionMode ( QtGui . QAbstractItemView . ExtendedSelection )
self . tableWidgetAddressBook . setSelectionBehavior ( QtGui . QAbstractItemView . SelectRows )
self . tableWidgetAddressBook . setObjectName ( _fromUtf8 ( " tableWidgetAddressBook " ) )
self . tableWidgetAddressBook . setColumnCount ( 2 )
self . tableWidgetAddressBook . setRowCount ( 0 )
item = QtGui . QTableWidgetItem ( )
icon3 = QtGui . QIcon ( )
icon3 . addPixmap ( QtGui . QPixmap ( _fromUtf8 ( " :/newPrefix/images/addressbook.png " ) ) , QtGui . QIcon . Selected , QtGui . QIcon . Off )
item . setIcon ( icon3 )
self . tableWidgetAddressBook . setHorizontalHeaderItem ( 0 , item )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetAddressBook . setHorizontalHeaderItem ( 1 , item )
self . tableWidgetAddressBook . horizontalHeader ( ) . setCascadingSectionResizes ( True )
self . tableWidgetAddressBook . horizontalHeader ( ) . setDefaultSectionSize ( 200 )
self . tableWidgetAddressBook . horizontalHeader ( ) . setHighlightSections ( False )
self . tableWidgetAddressBook . horizontalHeader ( ) . setStretchLastSection ( True )
self . tableWidgetAddressBook . verticalHeader ( ) . setVisible ( False )
self . verticalLayout_2 . addWidget ( self . tableWidgetAddressBook )
self . pushButtonAddAddressBook = QtGui . QPushButton ( self . send )
self . pushButtonAddAddressBook . setMaximumSize ( QtCore . QSize ( 200 , 16777215 ) )
self . pushButtonAddAddressBook . setObjectName ( _fromUtf8 ( " pushButtonAddAddressBook " ) )
self . verticalLayout_2 . addWidget ( self . pushButtonAddAddressBook )
self . horizontalLayout . addLayout ( self . verticalLayout_2 )
self . tabWidget_2 = QtGui . QTabWidget ( self . send )
self . tabWidget_2 . setObjectName ( _fromUtf8 ( " tabWidget_2 " ) )
self . tab = QtGui . QWidget ( )
self . tab . setObjectName ( _fromUtf8 ( " tab " ) )
self . gridLayout_8 = QtGui . QGridLayout ( self . tab )
self . gridLayout_8 . setObjectName ( _fromUtf8 ( " gridLayout_8 " ) )
self . verticalLayout = QtGui . QVBoxLayout ( )
self . verticalLayout . setObjectName ( _ fromUtf8 ( " verticalLayout " ) )
self . gridLayout_2 = QtGui . QGridLayout ( )
2012-11-19 20:45:05 +01:00
self . gridLayout_2 . setObjectName ( _fromUtf8 ( " gridLayout_2 " ) )
2015-03-03 18:17:56 +01:00
self . comboBoxSendFrom = QtGui . QComboBox ( self . tab )
2013-04-22 22:39:43 +02:00
self . comboBoxSendFrom . setMinimumSize ( QtCore . QSize ( 300 , 0 ) )
self . comboBoxSendFrom . setObjectName ( _fromUtf8 ( " comboBoxSendFrom " ) )
2015-03-03 18:17:56 +01:00
self . gridLayout_2 . addWidget ( self . comboBoxSendFrom , 0 , 1 , 1 , 1 )
self . label = QtGui . QLabel ( self . tab )
2015-03-03 20:04:12 +01:00
self . label . setObjectName ( _fromUtf8 ( " label " ) )
2015-03-03 18:17:56 +01:00
self . gridLayout_2 . addWidget ( self . label , 1 , 0 , 1 , 1 )
self . lineEditTo = QtGui . QLineEdit ( self . tab )
2015-03-03 20:04:12 +01:00
self . lineEditTo . setObjectName ( _fromUtf8 ( " lineEditTo " ) )
2015-03-03 18:17:56 +01:00
self . gridLayout_2 . addWidget ( self . lineEditTo , 1 , 1 , 1 , 1 )
self . label_3 = QtGui . QLabel ( self . tab )
self . label_3 . setObjectName ( _fromUtf8 ( " label_3 " ) )
self . gridLayout_2 . addWidget ( self . label_3 , 2 , 0 , 1 , 1 )
self . label_2 = QtGui . QLabel ( self . tab )
self . label_2 . setObjectName ( _fromUtf8 ( " label_2 " ) )
self . gridLayout_2 . addWidget ( self . label_2 , 0 , 0 , 1 , 1 )
self . lineEditSubject = QtGui . QLineEdit ( self . tab )
2015-03-09 07:35:32 +01:00
self . lineEditSubject . setText ( _fromUtf8 ( " " ) )
self . lineEditSubject . setObjectName ( _fromUtf8 ( " lineEditSubject " ) )
2015-03-03 18:17:56 +01:00
self . gridLayout_2 . addWidget ( self . lineEditSubject , 2 , 1 , 1 , 1 )
self . verticalLayout . addLayout ( self . gridLayout_2 )
self . textEditMessage = QtGui . QTextEdit ( self . tab )
self . textEditMessage . setObjectName ( _fromUtf8 ( " textEditMessage " ) )
self . verticalLayout . addWidget ( self . textEditMessage )
self . pushButtonSend = QtGui . QPushButton ( self . tab )
self . pushButtonSend . setObjectName ( _fromUtf8 ( " pushButtonSend " ) )
self . verticalLayout . addWidget ( self . pushButtonSend )
self . gridLayout_8 . addLayout ( self . verticalLayout , 0 , 0 , 1 , 1 )
self . tabWidget_2 . addTab ( self . tab , _fromUtf8 ( " " ) )
self . tab_2 = QtGui . QWidget ( )
self . tab_2 . setObjectName ( _fromUtf8 ( " tab_2 " ) )
self . gridLayout_9 = QtGui . QGridLayout ( self . tab_2 )
self . gridLayout_9 . setObjectName ( _fromUtf8 ( " gridLayout_9 " ) )
self . verticalLayout_5 = QtGui . QVBoxLayout ( )
self . verticalLayout_5 . setObjectName ( _fromUtf8 ( " verticalLayout_5 " ) )
self . gridLayout_5 = QtGui . QGridLayout ( )
self . gridLayout_5 . setObjectName ( _fromUtf8 ( " gridLayout_5 " ) )
self . label_8 = QtGui . QLabel ( self . tab_2 )
self . label_8 . setObjectName ( _fromUtf8 ( " label_8 " ) )
self . gridLayout_5 . addWidget ( self . label_8 , 0 , 0 , 1 , 1 )
self . lineEditSubject_2 = QtGui . QLineEdit ( self . tab_2 )
self . lineEditSubject_2 . setText ( _fromUtf8 ( " " ) )
self . lineEditSubject_2 . setObjectName ( _fromUtf8 ( " lineEditSubject_2 " ) )
self . gridLayout_5 . addWidget ( self . lineEditSubject_2 , 1 , 1 , 1 , 1 )
self . label_7 = QtGui . QLabel ( self . tab_2 )
self . label_7 . setObjectName ( _fromUtf8 ( " label_7 " ) )
self . gridLayout_5 . addWidget ( self . label_7 , 1 , 0 , 1 , 1 )
self . comboBoxSendFrom_2 = QtGui . QComboBox ( self . tab_2 )
self . comboBoxSendFrom_2 . setMinimumSize ( QtCore . QSize ( 300 , 0 ) )
self . comboBoxSendFrom_2 . setObjectName ( _fromUtf8 ( " comboBoxSendFrom_2 " ) )
self . gridLayout_5 . addWidget ( self . comboBoxSendFrom_2 , 0 , 1 , 1 , 1 )
self . verticalLayout_5 . addLayout ( self . gridLayout_5 )
self . textEditMessage_2 = QtGui . QTextEdit ( self . tab_2 )
self . textEditMessage_2 . setObjectName ( _fromUtf8 ( " textEditMessage_2 " ) )
self . verticalLayout_5 . addWidget ( self . textEditMessage_2 )
self . pushButtonSend_3 = QtGui . QPushButton ( self . tab_2 )
self . pushButtonSend_3 . setObjectName ( _fromUtf8 ( " pushButtonSend_3 " ) )
self . verticalLayout_5 . addWidget ( self . pushButtonSend_3 )
self . gridLayout_9 . addLayout ( self . verticalLayout_5 , 0 , 0 , 1 , 1 )
self . tabWidget_2 . addTab ( self . tab_2 , _fromUtf8 ( " " ) )
self . horizontalLayout . addWidget ( self . tabWidget_2 )
self . gridLayout_11 . addLayout ( self . horizontalLayout , 0 , 0 , 1 , 1 )
icon4 = QtGui . QIcon ( )
icon4 . addPixmap ( QtGui . QPixmap ( _fromUtf8 ( " :/newPrefix/images/send.png " ) ) , QtGui . QIcon . Normal , QtGui . QIcon . Off )
self . tabWidget . addTab ( self . send , icon4 , _fromUtf8 ( " " ) )
self . subscriptions = QtGui . QWidget ( )
self . subscriptions . setObjectName ( _fromUtf8 ( " subscriptions " ) )
self . gridLayout_4 = QtGui . QGridLayout ( self . subscriptions )
self . gridLayout_4 . setObjectName ( _fromUtf8 ( " gridLayout_4 " ) )
self . horizontalLayout_2 = QtGui . QHBoxLayout ( )
self . horizontalLayout_2 . setObjectName ( _fromUtf8 ( " horizontalLayout_2 " ) )
self . verticalLayout_3 = QtGui . QVBoxLayout ( )
self . verticalLayout_3 . setObjectName ( _fromUtf8 ( " verticalLayout_3 " ) )
self . tableWidgetSubscriptions = QtGui . QTableWidget ( self . subscriptions )
self . tableWidgetSubscriptions . setMaximumSize ( QtCore . QSize ( 200 , 16777215 ) )
self . tableWidgetSubscriptions . setAlternatingRowColors ( True )
self . tableWidgetSubscriptions . setSelectionMode ( QtGui . QAbstractItemView . SingleSelection )
self . tableWidgetSubscriptions . setSelectionBehavior ( QtGui . QAbstractItemView . SelectRows )
self . tableWidgetSubscriptions . setObjectName ( _fromUtf8 ( " tableWidgetSubscriptions " ) )
self . tableWidgetSubscriptions . setColumnCount ( 2 )
self . tableWidgetSubscriptions . setRowCount ( 0 )
2012-11-19 20:45:05 +01:00
item = QtGui . QTableWidgetItem ( )
2015-03-03 18:17:56 +01:00
icon5 = QtGui . QIcon ( )
icon5 . addPixmap ( QtGui . QPixmap ( _fromUtf8 ( " :/newPrefix/images/subscriptions.png " ) ) , QtGui . QIcon . Selected , QtGui . QIcon . Off )
item . setIcon ( icon5 )
self . tableWidgetSubscriptions . setHorizontalHeaderItem ( 0 , item )
2012-11-19 20:45:05 +01:00
item = QtGui . QTableWidgetItem ( )
2015-03-03 18:17:56 +01:00
self . tableWidgetSubscriptions . setHorizontalHeaderItem ( 1 , item )
self . tableWidgetSubscriptions . horizontalHeader ( ) . setCascadingSectionResizes ( True )
self . tableWidgetSubscriptions . horizontalHeader ( ) . setDefaultSectionSize ( 200 )
self . tableWidgetSubscriptions . horizontalHeader ( ) . setHighlightSections ( False )
self . tableWidgetSubscriptions . horizontalHeader ( ) . setSortIndicatorShown ( False )
self . tableWidgetSubscriptions . horizontalHeader ( ) . setStretchLastSection ( True )
self . tableWidgetSubscriptions . verticalHeader ( ) . setVisible ( False )
self . verticalLayout_3 . addWidget ( self . tableWidgetSubscriptions )
self . pushButtonAddSubscription = QtGui . QPushButton ( self . subscriptions )
self . pushButtonAddSubscription . setMaximumSize ( QtCore . QSize ( 200 , 16777215 ) )
self . pushButtonAddSubscription . setObjectName ( _fromUtf8 ( " pushButtonAddSubscription " ) )
self . verticalLayout_3 . addWidget ( self . pushButtonAddSubscription )
self . horizontalLayout_2 . addLayout ( self . verticalLayout_3 )
self . verticalLayout_4 = QtGui . QVBoxLayout ( )
self . verticalLayout_4 . setObjectName ( _fromUtf8 ( " verticalLayout_4 " ) )
self . inboxSearchLineSubscriptions = QtGui . QLineEdit ( self . subscriptions )
self . inboxSearchLineSubscriptions . setObjectName ( _fromUtf8 ( " inboxSearchLineSubscriptions " ) )
self . verticalLayout_4 . addWidget ( self . inboxSearchLineSubscriptions )
self . tableWidgetInboxSubscriptions = QtGui . QTableWidget ( self . subscriptions )
self . tableWidgetInboxSubscriptions . setEditTriggers ( QtGui . QAbstractItemView . NoEditTriggers )
self . tableWidgetInboxSubscriptions . setAlternatingRowColors ( True )
self . tableWidgetInboxSubscriptions . setSelectionMode ( QtGui . QAbstractItemView . ExtendedSelection )
self . tableWidgetInboxSubscriptions . setSelectionBehavior ( QtGui . QAbstractItemView . SelectRows )
self . tableWidgetInboxSubscriptions . setWordWrap ( False )
self . tableWidgetInboxSubscriptions . setObjectName ( _fromUtf8 ( " tableWidgetInboxSubscriptions " ) )
self . tableWidgetInboxSubscriptions . setColumnCount ( 4 )
self . tableWidgetInboxSubscriptions . setRowCount ( 0 )
2012-11-19 20:45:05 +01:00
item = QtGui . QTableWidgetItem ( )
2015-03-03 18:17:56 +01:00
self . tableWidgetInboxSubscriptions . setHorizontalHeaderItem ( 0 , item )
2012-11-19 20:45:05 +01:00
item = QtGui . QTableWidgetItem ( )
2015-03-03 18:17:56 +01:00
self . tableWidgetInboxSubscriptions . setHorizontalHeaderItem ( 1 , item )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetInboxSubscriptions . setHorizontalHeaderItem ( 2 , item )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetInboxSubscriptions . setHorizontalHeaderItem ( 3 , item )
self . tableWidgetInboxSubscriptions . horizontalHeader ( ) . setCascadingSectionResizes ( True )
self . tableWidgetInboxSubscriptions . horizontalHeader ( ) . setDefaultSectionSize ( 200 )
self . tableWidgetInboxSubscriptions . horizontalHeader ( ) . setHighlightSections ( False )
self . tableWidgetInboxSubscriptions . horizontalHeader ( ) . setMinimumSectionSize ( 27 )
self . tableWidgetInboxSubscriptions . horizontalHeader ( ) . setSortIndicatorShown ( False )
self . tableWidgetInboxSubscriptions . horizontalHeader ( ) . setStretchLastSection ( True )
self . tableWidgetInboxSubscriptions . verticalHeader ( ) . setVisible ( False )
self . tableWidgetInboxSubscriptions . verticalHeader ( ) . setDefaultSectionSize ( 26 )
self . verticalLayout_4 . addWidget ( self . tableWidgetInboxSubscriptions )
self . textEditInboxSubscriptions = QtGui . QTextEdit ( self . subscriptions )
self . textEditInboxSubscriptions . setBaseSize ( QtCore . QSize ( 0 , 500 ) )
self . textEditInboxSubscriptions . setReadOnly ( True )
self . textEditInboxSubscriptions . setObjectName ( _fromUtf8 ( " textEditInboxSubscriptions " ) )
self . verticalLayout_4 . addWidget ( self . textEditInboxSubscriptions )
self . horizontalLayout_2 . addLayout ( self . verticalLayout_4 )
self . gridLayout_4 . addLayout ( self . horizontalLayout_2 , 0 , 0 , 1 , 1 )
icon6 = QtGui . QIcon ( )
icon6 . addPixmap ( QtGui . QPixmap ( _fromUtf8 ( " :/newPrefix/images/subscriptions.png " ) ) , QtGui . QIcon . Normal , QtGui . QIcon . Off )
self . tabWidget . addTab ( self . subscriptions , icon6 , _fromUtf8 ( " " ) )
self . tab_3 = QtGui . QWidget ( )
self . tab_3 . setObjectName ( _fromUtf8 ( " tab_3 " ) )
self . gridLayout_3 = QtGui . QGridLayout ( self . tab_3 )
2012-11-19 20:45:05 +01:00
self . gridLayout_3 . setObjectName ( _fromUtf8 ( " gridLayout_3 " ) )
2015-03-03 18:17:56 +01:00
self . horizontalLayout_4 = QtGui . QHBoxLayout ( )
self . horizontalLayout_4 . setObjectName ( _fromUtf8 ( " horizontalLayout_4 " ) )
self . verticalLayout_17 = QtGui . QVBoxLayout ( )
self . verticalLayout_17 . setObjectName ( _fromUtf8 ( " verticalLayout_17 " ) )
self . tableWidgetYourIdentities = QtGui . QTableWidget ( self . tab_3 )
self . tableWidgetYourIdentities . setMaximumSize ( QtCore . QSize ( 200 , 16777215 ) )
2012-11-19 20:45:05 +01:00
self . tableWidgetYourIdentities . setFrameShadow ( QtGui . QFrame . Sunken )
self . tableWidgetYourIdentities . setLineWidth ( 1 )
self . tableWidgetYourIdentities . setAlternatingRowColors ( True )
self . tableWidgetYourIdentities . setSelectionMode ( QtGui . QAbstractItemView . SingleSelection )
self . tableWidgetYourIdentities . setSelectionBehavior ( QtGui . QAbstractItemView . SelectRows )
self . tableWidgetYourIdentities . setObjectName ( _fromUtf8 ( " tableWidgetYourIdentities " ) )
self . tableWidgetYourIdentities . setColumnCount ( 3 )
self . tableWidgetYourIdentities . setRowCount ( 0 )
item = QtGui . QTableWidgetItem ( )
font = QtGui . QFont ( )
font . setKerning ( True )
item . setFont ( font )
2015-03-03 18:17:56 +01:00
item . setIcon ( icon1 )
2012-11-19 20:45:05 +01:00
self . tableWidgetYourIdentities . setHorizontalHeaderItem ( 0 , item )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetYourIdentities . setHorizontalHeaderItem ( 1 , item )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetYourIdentities . setHorizontalHeaderItem ( 2 , item )
self . tableWidgetYourIdentities . horizontalHeader ( ) . setCascadingSectionResizes ( True )
2015-03-03 18:17:56 +01:00
self . tableWidgetYourIdentities . horizontalHeader ( ) . setDefaultSectionSize ( 200 )
2012-11-19 20:45:05 +01:00
self . tableWidgetYourIdentities . horizontalHeader ( ) . setMinimumSectionSize ( 52 )
self . tableWidgetYourIdentities . horizontalHeader ( ) . setSortIndicatorShown ( True )
self . tableWidgetYourIdentities . horizontalHeader ( ) . setStretchLastSection ( True )
self . tableWidgetYourIdentities . verticalHeader ( ) . setVisible ( False )
self . tableWidgetYourIdentities . verticalHeader ( ) . setDefaultSectionSize ( 26 )
self . tableWidgetYourIdentities . verticalHeader ( ) . setSortIndicatorShown ( False )
self . tableWidgetYourIdentities . verticalHeader ( ) . setStretchLastSection ( False )
2015-03-03 18:17:56 +01:00
self . verticalLayout_17 . addWidget ( self . tableWidgetYourIdentities )
self . pushButtonAddChanel = QtGui . QPushButton ( self . tab_3 )
self . pushButtonAddChanel . setMaximumSize ( QtCore . QSize ( 200 , 16777215 ) )
self . pushButtonAddChanel . setObjectName ( _fromUtf8 ( " pushButtonAddChanel " ) )
self . verticalLayout_17 . addWidget ( self . pushButtonAddChanel )
self . horizontalLayout_4 . addLayout ( self . verticalLayout_17 )
self . verticalLayout_13 = QtGui . QVBoxLayout ( )
self . verticalLayout_13 . setObjectName ( _fromUtf8 ( " verticalLayout_13 " ) )
self . horizontalLayoutSearch_2 = QtGui . QHBoxLayout ( )
self . horizontalLayoutSearch_2 . setContentsMargins ( - 1 , 0 , - 1 , - 1 )
self . horizontalLayoutSearch_2 . setObjectName ( _fromUtf8 ( " horizontalLayoutSearch_2 " ) )
self . inboxSearchLineEdit_2 = QtGui . QLineEdit ( self . tab_3 )
self . inboxSearchLineEdit_2 . setObjectName ( _fromUtf8 ( " inboxSearchLineEdit_2 " ) )
self . horizontalLayoutSearch_2 . addWidget ( self . inboxSearchLineEdit_2 )
self . verticalLayout_13 . addLayout ( self . horizontalLayoutSearch_2 )
self . tableWidgetInbox_2 = QtGui . QTableWidget ( self . tab_3 )
self . tableWidgetInbox_2 . setEditTriggers ( QtGui . QAbstractItemView . NoEditTriggers )
self . tableWidgetInbox_2 . setAlternatingRowColors ( True )
self . tableWidgetInbox_2 . setSelectionMode ( QtGui . QAbstractItemView . ExtendedSelection )
self . tableWidgetInbox_2 . setSelectionBehavior ( QtGui . QAbstractItemView . SelectRows )
self . tableWidgetInbox_2 . setWordWrap ( False )
self . tableWidgetInbox_2 . setObjectName ( _fromUtf8 ( " tableWidgetInbox_2 " ) )
self . tableWidgetInbox_2 . setColumnCount ( 4 )
self . tableWidgetInbox_2 . setRowCount ( 0 )
2012-11-19 20:45:05 +01:00
item = QtGui . QTableWidgetItem ( )
2015-03-03 18:17:56 +01:00
self . tableWidgetInbox_2 . setHorizontalHeaderItem ( 0 , item )
2012-11-19 20:45:05 +01:00
item = QtGui . QTableWidgetItem ( )
2015-03-03 18:17:56 +01:00
self . tableWidgetInbox_2 . setHorizontalHeaderItem ( 1 , item )
2012-11-19 20:45:05 +01:00
item = QtGui . QTableWidgetItem ( )
2015-03-03 18:17:56 +01:00
self . tableWidgetInbox_2 . setHorizontalHeaderItem ( 2 , item )
2012-11-19 20:45:05 +01:00
item = QtGui . QTableWidgetItem ( )
2015-03-03 18:17:56 +01:00
self . tableWidgetInbox_2 . setHorizontalHeaderItem ( 3 , item )
self . tableWidgetInbox_2 . horizontalHeader ( ) . setCascadingSectionResizes ( True )
self . tableWidgetInbox_2 . horizontalHeader ( ) . setDefaultSectionSize ( 200 )
self . tableWidgetInbox_2 . horizontalHeader ( ) . setHighlightSections ( False )
self . tableWidgetInbox_2 . horizontalHeader ( ) . setMinimumSectionSize ( 27 )
self . tableWidgetInbox_2 . horizontalHeader ( ) . setSortIndicatorShown ( False )
self . tableWidgetInbox_2 . horizontalHeader ( ) . setStretchLastSection ( True )
self . tableWidgetInbox_2 . verticalHeader ( ) . setVisible ( False )
self . tableWidgetInbox_2 . verticalHeader ( ) . setDefaultSectionSize ( 26 )
self . verticalLayout_13 . addWidget ( self . tableWidgetInbox_2 )
self . textEditInboxMessage_2 = QtGui . QTextEdit ( self . tab_3 )
self . textEditInboxMessage_2 . setBaseSize ( QtCore . QSize ( 0 , 500 ) )
self . textEditInboxMessage_2 . setReadOnly ( True )
self . textEditInboxMessage_2 . setObjectName ( _fromUtf8 ( " textEditInboxMessage_2 " ) )
self . verticalLayout_13 . addWidget ( self . textEditInboxMessage_2 )
self . horizontalLayout_4 . addLayout ( self . verticalLayout_13 )
self . gridLayout_3 . addLayout ( self . horizontalLayout_4 , 0 , 0 , 1 , 1 )
icon7 = QtGui . QIcon ( )
icon7 . addPixmap ( QtGui . QPixmap ( _fromUtf8 ( " :/newPrefix/images/can-icon-16px.png " ) ) , QtGui . QIcon . Normal , QtGui . QIcon . Off )
self . tabWidget . addTab ( self . tab_3 , icon7 , _fromUtf8 ( " " ) )
2012-11-19 20:45:05 +01:00
self . blackwhitelist = QtGui . QWidget ( )
self . blackwhitelist . setObjectName ( _fromUtf8 ( " blackwhitelist " ) )
self . gridLayout_6 = QtGui . QGridLayout ( self . blackwhitelist )
self . gridLayout_6 . setObjectName ( _fromUtf8 ( " gridLayout_6 " ) )
self . radioButtonBlacklist = QtGui . QRadioButton ( self . blackwhitelist )
self . radioButtonBlacklist . setChecked ( True )
self . radioButtonBlacklist . setObjectName ( _fromUtf8 ( " radioButtonBlacklist " ) )
self . gridLayout_6 . addWidget ( self . radioButtonBlacklist , 0 , 0 , 1 , 2 )
self . radioButtonWhitelist = QtGui . QRadioButton ( self . blackwhitelist )
self . radioButtonWhitelist . setObjectName ( _fromUtf8 ( " radioButtonWhitelist " ) )
self . gridLayout_6 . addWidget ( self . radioButtonWhitelist , 1 , 0 , 1 , 2 )
self . pushButtonAddBlacklist = QtGui . QPushButton ( self . blackwhitelist )
self . pushButtonAddBlacklist . setObjectName ( _fromUtf8 ( " pushButtonAddBlacklist " ) )
self . gridLayout_6 . addWidget ( self . pushButtonAddBlacklist , 2 , 0 , 1 , 1 )
2015-03-03 18:17:56 +01:00
spacerItem = QtGui . QSpacerItem ( 689 , 20 , QtGui . QSizePolicy . Expanding , QtGui . QSizePolicy . Minimum )
self . gridLayout_6 . addItem ( spacerItem , 2 , 1 , 1 , 1 )
2012-11-19 20:45:05 +01:00
self . tableWidgetBlacklist = QtGui . QTableWidget ( self . blackwhitelist )
self . tableWidgetBlacklist . setAlternatingRowColors ( True )
self . tableWidgetBlacklist . setSelectionMode ( QtGui . QAbstractItemView . SingleSelection )
self . tableWidgetBlacklist . setSelectionBehavior ( QtGui . QAbstractItemView . SelectRows )
self . tableWidgetBlacklist . setObjectName ( _fromUtf8 ( " tableWidgetBlacklist " ) )
self . tableWidgetBlacklist . setColumnCount ( 2 )
self . tableWidgetBlacklist . setRowCount ( 0 )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetBlacklist . setHorizontalHeaderItem ( 0 , item )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetBlacklist . setHorizontalHeaderItem ( 1 , item )
self . tableWidgetBlacklist . horizontalHeader ( ) . setCascadingSectionResizes ( True )
self . tableWidgetBlacklist . horizontalHeader ( ) . setDefaultSectionSize ( 400 )
self . tableWidgetBlacklist . horizontalHeader ( ) . setHighlightSections ( False )
self . tableWidgetBlacklist . horizontalHeader ( ) . setSortIndicatorShown ( False )
self . tableWidgetBlacklist . horizontalHeader ( ) . setStretchLastSection ( True )
self . tableWidgetBlacklist . verticalHeader ( ) . setVisible ( False )
self . gridLayout_6 . addWidget ( self . tableWidgetBlacklist , 3 , 0 , 1 , 2 )
2015-03-03 18:17:56 +01:00
icon8 = QtGui . QIcon ( )
icon8 . addPixmap ( QtGui . QPixmap ( _fromUtf8 ( " :/newPrefix/images/blacklist.png " ) ) , QtGui . QIcon . Normal , QtGui . QIcon . Off )
self . tabWidget . addTab ( self . blackwhitelist , icon8 , _fromUtf8 ( " " ) )
2012-11-19 20:45:05 +01:00
self . networkstatus = QtGui . QWidget ( )
self . networkstatus . setObjectName ( _fromUtf8 ( " networkstatus " ) )
self . pushButtonStatusIcon = QtGui . QPushButton ( self . networkstatus )
self . pushButtonStatusIcon . setGeometry ( QtCore . QRect ( 680 , 440 , 21 , 23 ) )
self . pushButtonStatusIcon . setText ( _fromUtf8 ( " " ) )
2015-03-03 18:17:56 +01:00
icon9 = QtGui . QIcon ( )
icon9 . addPixmap ( QtGui . QPixmap ( _fromUtf8 ( " :/newPrefix/images/redicon.png " ) ) , QtGui . QIcon . Normal , QtGui . QIcon . Off )
self . pushButtonStatusIcon . setIcon ( icon9 )
2012-11-19 20:45:05 +01:00
self . pushButtonStatusIcon . setFlat ( True )
self . pushButtonStatusIcon . setObjectName ( _fromUtf8 ( " pushButtonStatusIcon " ) )
self . tableWidgetConnectionCount = QtGui . QTableWidget ( self . networkstatus )
self . tableWidgetConnectionCount . setGeometry ( QtCore . QRect ( 20 , 70 , 241 , 241 ) )
palette = QtGui . QPalette ( )
brush = QtGui . QBrush ( QtGui . QColor ( 212 , 208 , 200 ) )
brush . setStyle ( QtCore . Qt . SolidPattern )
palette . setBrush ( QtGui . QPalette . Active , QtGui . QPalette . Base , brush )
brush = QtGui . QBrush ( QtGui . QColor ( 212 , 208 , 200 ) )
brush . setStyle ( QtCore . Qt . SolidPattern )
palette . setBrush ( QtGui . QPalette . Inactive , QtGui . QPalette . Base , brush )
brush = QtGui . QBrush ( QtGui . QColor ( 212 , 208 , 200 ) )
brush . setStyle ( QtCore . Qt . SolidPattern )
palette . setBrush ( QtGui . QPalette . Disabled , QtGui . QPalette . Base , brush )
self . tableWidgetConnectionCount . setPalette ( palette )
self . tableWidgetConnectionCount . setFrameShape ( QtGui . QFrame . Box )
self . tableWidgetConnectionCount . setFrameShadow ( QtGui . QFrame . Plain )
self . tableWidgetConnectionCount . setProperty ( " showDropIndicator " , False )
self . tableWidgetConnectionCount . setAlternatingRowColors ( True )
self . tableWidgetConnectionCount . setSelectionMode ( QtGui . QAbstractItemView . NoSelection )
self . tableWidgetConnectionCount . setObjectName ( _fromUtf8 ( " tableWidgetConnectionCount " ) )
self . tableWidgetConnectionCount . setColumnCount ( 2 )
self . tableWidgetConnectionCount . setRowCount ( 0 )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetConnectionCount . setHorizontalHeaderItem ( 0 , item )
item = QtGui . QTableWidgetItem ( )
self . tableWidgetConnectionCount . setHorizontalHeaderItem ( 1 , item )
self . tableWidgetConnectionCount . horizontalHeader ( ) . setCascadingSectionResizes ( True )
self . tableWidgetConnectionCount . horizontalHeader ( ) . setHighlightSections ( False )
self . tableWidgetConnectionCount . horizontalHeader ( ) . setStretchLastSection ( True )
self . tableWidgetConnectionCount . verticalHeader ( ) . setVisible ( False )
self . labelTotalConnections = QtGui . QLabel ( self . networkstatus )
self . labelTotalConnections . setGeometry ( QtCore . QRect ( 20 , 30 , 401 , 16 ) )
self . labelTotalConnections . setObjectName ( _fromUtf8 ( " labelTotalConnections " ) )
self . labelStartupTime = QtGui . QLabel ( self . networkstatus )
self . labelStartupTime . setGeometry ( QtCore . QRect ( 320 , 110 , 331 , 20 ) )
self . labelStartupTime . setObjectName ( _fromUtf8 ( " labelStartupTime " ) )
self . labelMessageCount = QtGui . QLabel ( self . networkstatus )
2012-12-18 20:37:37 +01:00
self . labelMessageCount . setGeometry ( QtCore . QRect ( 350 , 130 , 361 , 16 ) )
2012-11-19 20:45:05 +01:00
self . labelMessageCount . setObjectName ( _fromUtf8 ( " labelMessageCount " ) )
self . labelPubkeyCount = QtGui . QLabel ( self . networkstatus )
self . labelPubkeyCount . setGeometry ( QtCore . QRect ( 350 , 170 , 331 , 16 ) )
self . labelPubkeyCount . setObjectName ( _fromUtf8 ( " labelPubkeyCount " ) )
self . labelBroadcastCount = QtGui . QLabel ( self . networkstatus )
2012-12-18 20:37:37 +01:00
self . labelBroadcastCount . setGeometry ( QtCore . QRect ( 350 , 150 , 351 , 16 ) )
2012-11-19 20:45:05 +01:00
self . labelBroadcastCount . setObjectName ( _fromUtf8 ( " labelBroadcastCount " ) )
2013-09-04 00:08:29 +02:00
self . labelLookupsPerSecond = QtGui . QLabel ( self . networkstatus )
2014-08-01 22:35:48 +02:00
self . labelLookupsPerSecond . setGeometry ( QtCore . QRect ( 320 , 250 , 291 , 16 ) )
2013-09-04 00:08:29 +02:00
self . labelLookupsPerSecond . setObjectName ( _fromUtf8 ( " labelLookupsPerSecond " ) )
2014-07-07 22:30:23 +02:00
self . labelBytesRecvCount = QtGui . QLabel ( self . networkstatus )
2014-08-01 22:35:48 +02:00
self . labelBytesRecvCount . setGeometry ( QtCore . QRect ( 350 , 210 , 251 , 16 ) )
2014-07-07 22:30:23 +02:00
self . labelBytesRecvCount . setObjectName ( _fromUtf8 ( " labelBytesRecvCount " ) )
self . labelBytesSentCount = QtGui . QLabel ( self . networkstatus )
2014-08-01 22:35:48 +02:00
self . labelBytesSentCount . setGeometry ( QtCore . QRect ( 350 , 230 , 251 , 16 ) )
2014-07-07 22:30:23 +02:00
self . labelBytesSentCount . setObjectName ( _fromUtf8 ( " labelBytesSentCount " ) )
2015-03-03 18:17:56 +01:00
icon10 = QtGui . QIcon ( )
icon10 . addPixmap ( QtGui . QPixmap ( _fromUtf8 ( " :/newPrefix/images/networkstatus.png " ) ) , QtGui . QIcon . Normal , QtGui . QIcon . Off )
self . tabWidget . addTab ( self . networkstatus , icon10 , _fromUtf8 ( " " ) )
self . gridLayout_10 . addWidget ( self . tabWidget , 0 , 0 , 1 , 1 )
2012-11-19 20:45:05 +01:00
MainWindow . setCentralWidget ( self . centralwidget )
self . menubar = QtGui . QMenuBar ( MainWindow )
2015-03-03 18:17:56 +01:00
self . menubar . setGeometry ( QtCore . QRect ( 0 , 0 , 885 , 27 ) )
2012-11-19 20:45:05 +01:00
self . menubar . setObjectName ( _fromUtf8 ( " menubar " ) )
self . menuFile = QtGui . QMenu ( self . menubar )
self . menuFile . setObjectName ( _fromUtf8 ( " menuFile " ) )
self . menuSettings = QtGui . QMenu ( self . menubar )
self . menuSettings . setObjectName ( _fromUtf8 ( " menuSettings " ) )
self . menuHelp = QtGui . QMenu ( self . menubar )
self . menuHelp . setObjectName ( _fromUtf8 ( " menuHelp " ) )
MainWindow . setMenuBar ( self . menubar )
self . statusbar = QtGui . QStatusBar ( MainWindow )
self . statusbar . setMaximumSize ( QtCore . QSize ( 16777215 , 22 ) )
self . statusbar . setObjectName ( _fromUtf8 ( " statusbar " ) )
MainWindow . setStatusBar ( self . statusbar )
self . actionImport_keys = QtGui . QAction ( MainWindow )
self . actionImport_keys . setObjectName ( _fromUtf8 ( " actionImport_keys " ) )
self . actionManageKeys = QtGui . QAction ( MainWindow )
self . actionManageKeys . setCheckable ( False )
self . actionManageKeys . setEnabled ( True )
2013-08-01 07:26:46 +02:00
icon = QtGui . QIcon . fromTheme ( _fromUtf8 ( " dialog-password " ) )
self . actionManageKeys . setIcon ( icon )
2012-11-19 20:45:05 +01:00
self . actionManageKeys . setObjectName ( _fromUtf8 ( " actionManageKeys " ) )
self . actionExit = QtGui . QAction ( MainWindow )
2013-08-01 07:26:46 +02:00
icon = QtGui . QIcon . fromTheme ( _fromUtf8 ( " application-exit " ) )
self . actionExit . setIcon ( icon )
2012-11-19 20:45:05 +01:00
self . actionExit . setObjectName ( _fromUtf8 ( " actionExit " ) )
self . actionHelp = QtGui . QAction ( MainWindow )
2013-08-01 07:26:46 +02:00
icon = QtGui . QIcon . fromTheme ( _fromUtf8 ( " help-contents " ) )
self . actionHelp . setIcon ( icon )
2012-11-19 20:45:05 +01:00
self . actionHelp . setObjectName ( _fromUtf8 ( " actionHelp " ) )
self . actionAbout = QtGui . QAction ( MainWindow )
2013-08-01 07:26:46 +02:00
icon = QtGui . QIcon . fromTheme ( _fromUtf8 ( " help-about " ) )
self . actionAbout . setIcon ( icon )
2012-11-19 20:45:05 +01:00
self . actionAbout . setObjectName ( _fromUtf8 ( " actionAbout " ) )
self . actionSettings = QtGui . QAction ( MainWindow )
2013-08-01 07:26:46 +02:00
icon = QtGui . QIcon . fromTheme ( _fromUtf8 ( " document-properties " ) )
self . actionSettings . setIcon ( icon )
2012-11-19 20:45:05 +01:00
self . actionSettings . setObjectName ( _fromUtf8 ( " actionSettings " ) )
2013-01-24 22:07:24 +01:00
self . actionRegenerateDeterministicAddresses = QtGui . QAction ( MainWindow )
2013-08-01 07:26:46 +02:00
icon = QtGui . QIcon . fromTheme ( _fromUtf8 ( " view-refresh " ) )
self . actionRegenerateDeterministicAddresses . setIcon ( icon )
2013-01-24 22:07:24 +01:00
self . actionRegenerateDeterministicAddresses . setObjectName ( _fromUtf8 ( " actionRegenerateDeterministicAddresses " ) )
2013-05-28 22:50:09 +02:00
self . actionDeleteAllTrashedMessages = QtGui . QAction ( MainWindow )
2013-08-01 07:26:46 +02:00
icon = QtGui . QIcon . fromTheme ( _fromUtf8 ( " user-trash " ) )
self . actionDeleteAllTrashedMessages . setIcon ( icon )
2013-05-28 22:50:09 +02:00
self . actionDeleteAllTrashedMessages . setObjectName ( _fromUtf8 ( " actionDeleteAllTrashedMessages " ) )
2013-07-22 07:10:22 +02:00
self . actionJoinChan = QtGui . QAction ( MainWindow )
2013-08-01 07:26:46 +02:00
icon = QtGui . QIcon . fromTheme ( _fromUtf8 ( " contact-new " ) )
self . actionJoinChan . setIcon ( icon )
2013-07-22 07:10:22 +02:00
self . actionJoinChan . setObjectName ( _fromUtf8 ( " actionJoinChan " ) )
2012-11-19 20:45:05 +01:00
self . menuFile . addAction ( self . actionManageKeys )
2013-05-28 22:50:09 +02:00
self . menuFile . addAction ( self . actionDeleteAllTrashedMessages )
2013-01-24 22:07:24 +01:00
self . menuFile . addAction ( self . actionRegenerateDeterministicAddresses )
2012-11-19 20:45:05 +01:00
self . menuFile . addAction ( self . actionExit )
self . menuSettings . addAction ( self . actionSettings )
self . menuHelp . addAction ( self . actionHelp )
self . menuHelp . addAction ( self . actionAbout )
self . menubar . addAction ( self . menuFile . menuAction ( ) )
self . menubar . addAction ( self . menuSettings . menuAction ( ) )
self . menubar . addAction ( self . menuHelp . menuAction ( ) )
self . retranslateUi ( MainWindow )
2013-01-29 22:21:49 +01:00
self . tabWidget . setCurrentIndex ( 0 )
2015-03-03 18:17:56 +01:00
self . tabWidget_2 . setCurrentIndex ( 0 )
2012-11-19 20:45:05 +01:00
QtCore . QMetaObject . connectSlotsByName ( MainWindow )
2013-05-21 20:10:48 +02:00
MainWindow . setTabOrder ( self . tableWidgetInbox , self . textEditInboxMessage )
2015-03-03 18:17:56 +01:00
MainWindow . setTabOrder ( self . textEditInboxMessage , self . comboBoxSendFrom )
2013-05-21 20:10:48 +02:00
MainWindow . setTabOrder ( self . comboBoxSendFrom , self . lineEditTo )
2015-03-03 18:17:56 +01:00
MainWindow . setTabOrder ( self . lineEditTo , self . lineEditSubject )
2013-05-21 20:10:48 +02:00
MainWindow . setTabOrder ( self . lineEditSubject , self . textEditMessage )
MainWindow . setTabOrder ( self . textEditMessage , self . pushButtonSend )
2015-03-03 18:17:56 +01:00
MainWindow . setTabOrder ( self . pushButtonSend , self . pushButtonAddSubscription )
MainWindow . setTabOrder ( self . pushButtonAddSubscription , self . radioButtonBlacklist )
2013-05-21 20:10:48 +02:00
MainWindow . setTabOrder ( self . radioButtonBlacklist , self . radioButtonWhitelist )
MainWindow . setTabOrder ( self . radioButtonWhitelist , self . pushButtonAddBlacklist )
MainWindow . setTabOrder ( self . pushButtonAddBlacklist , self . tableWidgetBlacklist )
MainWindow . setTabOrder ( self . tableWidgetBlacklist , self . tableWidgetConnectionCount )
MainWindow . setTabOrder ( self . tableWidgetConnectionCount , self . pushButtonStatusIcon )
2012-11-19 20:45:05 +01:00
def retranslateUi ( self , MainWindow ) :
2015-03-19 18:25:50 +01:00
MainWindow . setWindowTitle ( _translate ( " MainWindow " , " Bitmessage " , None ) )
2015-03-03 18:17:56 +01:00
self . treeWidgetYourIdentities . headerItem ( ) . setText ( 0 , _translate ( " MainWindow " , " Identities " , None ) )
self . pushButtonNewAddress . setText ( _translate ( " MainWindow " , " New Indentitiy " , None ) )
2013-07-14 02:35:06 +02:00
self . inboxSearchLineEdit . setPlaceholderText ( _translate ( " MainWindow " , " Search " , None ) )
2012-11-19 20:45:05 +01:00
self . tableWidgetInbox . setSortingEnabled ( True )
item = self . tableWidgetInbox . horizontalHeaderItem ( 0 )
2013-06-13 01:11:01 +02:00
item . setText ( _translate ( " MainWindow " , " To " , None ) )
2012-11-19 20:45:05 +01:00
item = self . tableWidgetInbox . horizontalHeaderItem ( 1 )
2013-06-13 01:11:01 +02:00
item . setText ( _translate ( " MainWindow " , " From " , None ) )
2012-11-19 20:45:05 +01:00
item = self . tableWidgetInbox . horizontalHeaderItem ( 2 )
2013-06-13 01:11:01 +02:00
item . setText ( _translate ( " MainWindow " , " Subject " , None ) )
2012-11-19 20:45:05 +01:00
item = self . tableWidgetInbox . horizontalHeaderItem ( 3 )
2013-06-13 01:11:01 +02:00
item . setText ( _translate ( " MainWindow " , " Received " , None ) )
2015-03-03 18:17:56 +01:00
self . tabWidget . setTabText ( self . tabWidget . indexOf ( self . inbox ) , _translate ( " MainWindow " , " Received " , None ) )
self . tableWidgetAddressBook . setSortingEnabled ( True )
item = self . tableWidgetAddressBook . horizontalHeaderItem ( 0 )
item . setText ( _translate ( " MainWindow " , " Name " , None ) )
item = self . tableWidgetAddressBook . horizontalHeaderItem ( 1 )
item . setText ( _translate ( " MainWindow " , " Address " , None ) )
self . pushButtonAddAddressBook . setText ( _translate ( " MainWindow " , " Add Contact " , None ) )
2015-03-03 20:04:12 +01:00
self . label . setText ( _translate ( " MainWindow " , " To: " , None ) )
2015-03-03 18:17:56 +01:00
self . label_3 . setText ( _translate ( " MainWindow " , " Subject: " , None ) )
2015-03-03 20:04:12 +01:00
self . label_2 . setText ( _translate ( " MainWindow " , " From: " , None ) )
2013-06-13 01:11:01 +02:00
self . textEditMessage . setHtml ( _translate ( " MainWindow " , " <!DOCTYPE HTML PUBLIC \" -//W3C//DTD HTML 4.0//EN \" \" http://www.w3.org/TR/REC-html40/strict.dtd \" > \n "
2012-11-19 20:45:05 +01:00
" <html><head><meta name= \" qrichtext \" content= \" 1 \" /><style type= \" text/css \" > \n "
" p, li { white-space: pre-wrap; } \n "
2015-03-03 18:17:56 +01:00
" </style></head><body style= \" font-family: \' Droid Sans \' ; font-size:9pt; font-weight:400; font-style:normal; \" > \n "
" <p style= \" -qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family: \' MS Shell Dlg 2 \' ; \" ><br /></p></body></html> " , None ) )
self . pushButtonSend . setText ( _translate ( " MainWindow " , " Send " , None ) )
self . tabWidget_2 . setTabText ( self . tabWidget_2 . indexOf ( self . tab ) , _translate ( " MainWindow " , " Send ordinary Message " , None ) )
self . label_8 . setText ( _translate ( " MainWindow " , " From: " , None ) )
self . label_7 . setText ( _translate ( " MainWindow " , " Subject: " , None ) )
self . textEditMessage_2 . setHtml ( _translate ( " MainWindow " , " <!DOCTYPE HTML PUBLIC \" -//W3C//DTD HTML 4.0//EN \" \" http://www.w3.org/TR/REC-html40/strict.dtd \" > \n "
" <html><head><meta name= \" qrichtext \" content= \" 1 \" /><style type= \" text/css \" > \n "
" p, li { white-space: pre-wrap; } \n "
" </style></head><body style= \" font-family: \' Droid Sans \' ; font-size:9pt; font-weight:400; font-style:normal; \" > \n "
" <p style= \" -qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family: \' MS Shell Dlg 2 \' ; \" ><br /></p></body></html> " , None ) )
self . pushButtonSend_3 . setText ( _translate ( " MainWindow " , " Send " , None ) )
self . tabWidget_2 . setTabText ( self . tabWidget_2 . indexOf ( self . tab_2 ) , _translate ( " MainWindow " , " Send Message to your Subscribers " , None ) )
2013-06-13 01:11:01 +02:00
self . tabWidget . setTabText ( self . tabWidget . indexOf ( self . send ) , _translate ( " MainWindow " , " Send " , None ) )
2015-03-03 18:17:56 +01:00
self . tableWidgetSubscriptions . setSortingEnabled ( True )
item = self . tableWidgetSubscriptions . horizontalHeaderItem ( 0 )
item . setText ( _translate ( " MainWindow " , " Name " , None ) )
item = self . tableWidgetSubscriptions . horizontalHeaderItem ( 1 )
item . setText ( _translate ( " MainWindow " , " Address " , None ) )
self . pushButtonAddSubscription . setText ( _translate ( " MainWindow " , " Add new Subscription " , None ) )
self . inboxSearchLineSubscriptions . setPlaceholderText ( _translate ( " MainWindow " , " Search " , None ) )
self . tableWidgetInboxSubscriptions . setSortingEnabled ( True )
item = self . tableWidgetInboxSubscriptions . horizontalHeaderItem ( 0 )
2013-06-13 01:11:01 +02:00
item . setText ( _translate ( " MainWindow " , " To " , None ) )
2015-03-03 18:17:56 +01:00
item = self . tableWidgetInboxSubscriptions . horizontalHeaderItem ( 1 )
2013-06-13 01:11:01 +02:00
item . setText ( _translate ( " MainWindow " , " From " , None ) )
2015-03-03 18:17:56 +01:00
item = self . tableWidgetInboxSubscriptions . horizontalHeaderItem ( 2 )
2013-06-13 01:11:01 +02:00
item . setText ( _translate ( " MainWindow " , " Subject " , None ) )
2015-03-03 18:17:56 +01:00
item = self . tableWidgetInboxSubscriptions . horizontalHeaderItem ( 3 )
item . setText ( _translate ( " MainWindow " , " Received " , None ) )
self . tabWidget . setTabText ( self . tabWidget . indexOf ( self . subscriptions ) , _translate ( " MainWindow " , " Subscriptions " , None ) )
2012-11-19 20:45:05 +01:00
self . tableWidgetYourIdentities . setSortingEnabled ( True )
item = self . tableWidgetYourIdentities . horizontalHeaderItem ( 0 )
2015-03-03 18:17:56 +01:00
item . setText ( _translate ( " MainWindow " , " Name " , None ) )
2012-11-19 20:45:05 +01:00
item = self . tableWidgetYourIdentities . horizontalHeaderItem ( 1 )
2013-06-13 01:11:01 +02:00
item . setText ( _translate ( " MainWindow " , " Address " , None ) )
2012-11-19 20:45:05 +01:00
item = self . tableWidgetYourIdentities . horizontalHeaderItem ( 2 )
2013-06-13 01:11:01 +02:00
item . setText ( _translate ( " MainWindow " , " Stream " , None ) )
2015-03-03 18:17:56 +01:00
self . pushButtonAddChanel . setText ( _translate ( " MainWindow " , " Add Chanel " , None ) )
self . inboxSearchLineEdit_2 . setPlaceholderText ( _translate ( " MainWindow " , " Search " , None ) )
self . tableWidgetInbox_2 . setSortingEnabled ( True )
item = self . tableWidgetInbox_2 . horizontalHeaderItem ( 0 )
item . setText ( _translate ( " MainWindow " , " To " , None ) )
item = self . tableWidgetInbox_2 . horizontalHeaderItem ( 1 )
item . setText ( _translate ( " MainWindow " , " From " , None ) )
item = self . tableWidgetInbox_2 . horizontalHeaderItem ( 2 )
item . setText ( _translate ( " MainWindow " , " Subject " , None ) )
item = self . tableWidgetInbox_2 . horizontalHeaderItem ( 3 )
item . setText ( _translate ( " MainWindow " , " Received " , None ) )
self . tabWidget . setTabText ( self . tabWidget . indexOf ( self . tab_3 ) , _translate ( " MainWindow " , " Chanels " , None ) )
2013-06-13 01:11:01 +02:00
self . radioButtonBlacklist . setText ( _translate ( " MainWindow " , " Use a Blacklist (Allow all incoming messages except those on the Blacklist) " , None ) )
self . radioButtonWhitelist . setText ( _translate ( " MainWindow " , " Use a Whitelist (Block all incoming messages except those on the Whitelist) " , None ) )
self . pushButtonAddBlacklist . setText ( _translate ( " MainWindow " , " Add new entry " , None ) )
2012-11-19 20:45:05 +01:00
self . tableWidgetBlacklist . setSortingEnabled ( True )
item = self . tableWidgetBlacklist . horizontalHeaderItem ( 0 )
2013-06-13 01:11:01 +02:00
item . setText ( _translate ( " MainWindow " , " Name or Label " , None ) )
2012-11-19 20:45:05 +01:00
item = self . tableWidgetBlacklist . horizontalHeaderItem ( 1 )
2013-06-13 01:11:01 +02:00
item . setText ( _translate ( " MainWindow " , " Address " , None ) )
self . tabWidget . setTabText ( self . tabWidget . indexOf ( self . blackwhitelist ) , _translate ( " MainWindow " , " Blacklist " , None ) )
2012-11-19 20:45:05 +01:00
item = self . tableWidgetConnectionCount . horizontalHeaderItem ( 0 )
2013-06-24 14:56:30 +02:00
item . setText ( _translate ( " MainWindow " , " Stream # " , None ) )
2012-11-19 20:45:05 +01:00
item = self . tableWidgetConnectionCount . horizontalHeaderItem ( 1 )
2013-06-24 14:56:30 +02:00
item . setText ( _translate ( " MainWindow " , " Connections " , None ) )
2015-01-08 23:08:35 +01:00
self . labelTotalConnections . setText ( _translate ( " MainWindow " , " Total connections: " , None ) )
self . labelStartupTime . setText ( _translate ( " MainWindow " , " Since startup: " , None ) )
self . labelMessageCount . setText ( _translate ( " MainWindow " , " Processed 0 person-to-person messages. " , None ) )
self . labelPubkeyCount . setText ( _translate ( " MainWindow " , " Processed 0 public keys. " , None ) )
self . labelBroadcastCount . setText ( _translate ( " MainWindow " , " Processed 0 broadcasts. " , None ) )
2013-09-04 00:08:29 +02:00
self . labelLookupsPerSecond . setText ( _translate ( " MainWindow " , " Inventory lookups per second: 0 " , None ) )
2014-08-01 22:35:48 +02:00
self . labelBytesRecvCount . setText ( _translate ( " MainWindow " , " Down: 0 KB/s " , None ) )
self . labelBytesSentCount . setText ( _translate ( " MainWindow " , " Up: 0 KB/s " , None ) )
2013-06-13 01:11:01 +02:00
self . tabWidget . setTabText ( self . tabWidget . indexOf ( self . networkstatus ) , _translate ( " MainWindow " , " Network Status " , None ) )
self . menuFile . setTitle ( _translate ( " MainWindow " , " File " , None ) )
self . menuSettings . setTitle ( _translate ( " MainWindow " , " Settings " , None ) )
self . menuHelp . setTitle ( _translate ( " MainWindow " , " Help " , None ) )
self . actionImport_keys . setText ( _translate ( " MainWindow " , " Import keys " , None ) )
self . actionManageKeys . setText ( _translate ( " MainWindow " , " Manage keys " , None ) )
self . actionExit . setText ( _translate ( " MainWindow " , " Quit " , None ) )
2013-08-01 07:26:46 +02:00
self . actionExit . setShortcut ( _translate ( " MainWindow " , " Ctrl+Q " , None ) )
2013-06-13 01:11:01 +02:00
self . actionHelp . setText ( _translate ( " MainWindow " , " Help " , None ) )
2013-08-01 07:26:46 +02:00
self . actionHelp . setShortcut ( _translate ( " MainWindow " , " F1 " , None ) )
2013-06-13 01:11:01 +02:00
self . actionAbout . setText ( _translate ( " MainWindow " , " About " , None ) )
self . actionSettings . setText ( _translate ( " MainWindow " , " Settings " , None ) )
self . actionRegenerateDeterministicAddresses . setText ( _translate ( " MainWindow " , " Regenerate deterministic addresses " , None ) )
self . actionDeleteAllTrashedMessages . setText ( _translate ( " MainWindow " , " Delete all trashed messages " , None ) )
2013-07-22 07:10:22 +02:00
self . actionJoinChan . setText ( _translate ( " MainWindow " , " Join / Create chan " , None ) )
2012-11-19 20:45:05 +01:00
import bitmessage_icons_rc
2015-03-03 18:17:56 +01:00
if __name__ == " __main__ " :
import sys
app = QtGui . QApplication ( sys . argv )
MainWindow = QtGui . QMainWindow ( )
ui = Ui_MainWindow ( )
ui . setupUi ( MainWindow )
MainWindow . show ( )
sys . exit ( app . exec_ ( ) )