77#
88# WARNING! All changes made in this file will be lost!
99
10- # pylint: disable=attribute-defined-outside-init
1110from PyQt4 import QtCore , QtGui # pylint: disable=import-error
1211from bmconfigparser import config
1312from foldertree import AddressBookCompleter
@@ -56,7 +55,7 @@ def _translate(context, text, disambig,
5655 n )
5756
5857
59- class Ui_MainWindow (object ):
58+ class Ui_MainWindow (object ): # pylint: disable=attribute-defined-outside-init
6059 def setupUi (self , MainWindow ):
6160 MainWindow .setObjectName (_fromUtf8 ("MainWindow" ))
6261 MainWindow .resize (885 , 580 )
@@ -182,7 +181,8 @@ def setupUi(self, MainWindow):
182181 self .horizontalSplitter_3 .setCollapsible (1 , False )
183182 self .gridLayout .addWidget (self .horizontalSplitter_3 )
184183 icon2 = QtGui .QIcon ()
185- icon2 .addPixmap (QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/inbox.png" )), QtGui .QIcon .Normal , QtGui .QIcon .Off )
184+ icon2 .addPixmap (QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/inbox.png" )),
185+ QtGui .QIcon .Normal , QtGui .QIcon .Off )
186186 self .tabWidget .addTab (self .inbox , icon2 , _fromUtf8 ("" ))
187187 self .send = QtGui .QWidget ()
188188 self .send .setObjectName (_fromUtf8 ("send" ))
@@ -204,7 +204,8 @@ def setupUi(self, MainWindow):
204204 item = QtGui .QTableWidgetItem ()
205205 icon3 = QtGui .QIcon ()
206206 icon3 .addPixmap (
207- QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/addressbook.png" )), QtGui .QIcon .Selected , QtGui .QIcon .Off
207+ QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/addressbook.png" )),
208+ QtGui .QIcon .Selected , QtGui .QIcon .Off
208209 )
209210 item .setIcon (icon3 )
210211 self .tableWidgetAddressBook .setHorizontalHeaderItem (0 , item )
@@ -366,7 +367,8 @@ def setupUi(self, MainWindow):
366367 self .labelHumanFriendlyTTLDescription .setSizePolicy (sizePolicy )
367368 self .labelHumanFriendlyTTLDescription .setMinimumSize (QtCore .QSize (45 , 0 ))
368369 self .labelHumanFriendlyTTLDescription .setObjectName (_fromUtf8 ("labelHumanFriendlyTTLDescription" ))
369- self .horizontalLayout_5 .addWidget (self .labelHumanFriendlyTTLDescription , 1 , QtCore .Qt .AlignLeft )
370+ self .horizontalLayout_5 .addWidget (self .labelHumanFriendlyTTLDescription ,
371+ 1 , QtCore .Qt .AlignLeft )
370372 self .pushButtonClear = QtGui .QPushButton (self .send )
371373 self .pushButtonClear .setObjectName (_fromUtf8 ("pushButtonClear" ))
372374 self .horizontalLayout_5 .addWidget (self .pushButtonClear , 0 , QtCore .Qt .AlignRight )
@@ -388,7 +390,8 @@ def setupUi(self, MainWindow):
388390 self .horizontalSplitter .setCollapsible (1 , False )
389391 self .gridLayout_7 .addWidget (self .horizontalSplitter , 0 , 0 , 1 , 1 )
390392 icon4 = QtGui .QIcon ()
391- icon4 .addPixmap (QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/send.png" )), QtGui .QIcon .Normal , QtGui .QIcon .Off )
393+ icon4 .addPixmap (QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/send.png" )),
394+ QtGui .QIcon .Normal , QtGui .QIcon .Off )
392395 self .tabWidget .addTab (self .send , icon4 , _fromUtf8 ("" ))
393396 self .subscriptions = QtGui .QWidget ()
394397 self .subscriptions .setObjectName (_fromUtf8 ("subscriptions" ))
@@ -691,7 +694,6 @@ def setupUi(self, MainWindow):
691694 MainWindow .setTabOrder (self .textEditMessage , self .pushButtonAddSubscription )
692695
693696 # Popup menu actions container for the Sent page
694- # pylint: disable=attribute-defined-outside-init
695697 self .sentContextMenuToolbar = QtGui .QToolBar ()
696698 # Popup menu actions container for chans tree
697699 self .addressContextMenuToolbar = QtGui .QToolBar ()
0 commit comments