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
@@ -57,6 +56,7 @@ def _translate(context, text, disambig,
5756
5857
5958class Ui_MainWindow (object ):
59+ # pylint: disable=attribute-defined-outside-init
6060 def setupUi (self , MainWindow ):
6161 MainWindow .setObjectName (_fromUtf8 ("MainWindow" ))
6262 MainWindow .resize (885 , 580 )
@@ -182,7 +182,8 @@ def setupUi(self, MainWindow):
182182 self .horizontalSplitter_3 .setCollapsible (1 , False )
183183 self .gridLayout .addWidget (self .horizontalSplitter_3 )
184184 icon2 = QtGui .QIcon ()
185- icon2 .addPixmap (QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/inbox.png" )), QtGui .QIcon .Normal , QtGui .QIcon .Off )
185+ icon2 .addPixmap (QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/inbox.png" )),
186+ QtGui .QIcon .Normal , QtGui .QIcon .Off )
186187 self .tabWidget .addTab (self .inbox , icon2 , _fromUtf8 ("" ))
187188 self .send = QtGui .QWidget ()
188189 self .send .setObjectName (_fromUtf8 ("send" ))
@@ -204,7 +205,8 @@ def setupUi(self, MainWindow):
204205 item = QtGui .QTableWidgetItem ()
205206 icon3 = QtGui .QIcon ()
206207 icon3 .addPixmap (
207- QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/addressbook.png" )), QtGui .QIcon .Selected , QtGui .QIcon .Off
208+ QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/addressbook.png" )),
209+ QtGui .QIcon .Selected , QtGui .QIcon .Off
208210 )
209211 item .setIcon (icon3 )
210212 self .tableWidgetAddressBook .setHorizontalHeaderItem (0 , item )
@@ -366,7 +368,8 @@ def setupUi(self, MainWindow):
366368 self .labelHumanFriendlyTTLDescription .setSizePolicy (sizePolicy )
367369 self .labelHumanFriendlyTTLDescription .setMinimumSize (QtCore .QSize (45 , 0 ))
368370 self .labelHumanFriendlyTTLDescription .setObjectName (_fromUtf8 ("labelHumanFriendlyTTLDescription" ))
369- self .horizontalLayout_5 .addWidget (self .labelHumanFriendlyTTLDescription , 1 , QtCore .Qt .AlignLeft )
371+ self .horizontalLayout_5 .addWidget (self .labelHumanFriendlyTTLDescription ,
372+ 1 , QtCore .Qt .AlignLeft )
370373 self .pushButtonClear = QtGui .QPushButton (self .send )
371374 self .pushButtonClear .setObjectName (_fromUtf8 ("pushButtonClear" ))
372375 self .horizontalLayout_5 .addWidget (self .pushButtonClear , 0 , QtCore .Qt .AlignRight )
@@ -388,7 +391,8 @@ def setupUi(self, MainWindow):
388391 self .horizontalSplitter .setCollapsible (1 , False )
389392 self .gridLayout_7 .addWidget (self .horizontalSplitter , 0 , 0 , 1 , 1 )
390393 icon4 = QtGui .QIcon ()
391- icon4 .addPixmap (QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/send.png" )), QtGui .QIcon .Normal , QtGui .QIcon .Off )
394+ icon4 .addPixmap (QtGui .QPixmap (_fromUtf8 (":/newPrefix/images/send.png" )),
395+ QtGui .QIcon .Normal , QtGui .QIcon .Off )
392396 self .tabWidget .addTab (self .send , icon4 , _fromUtf8 ("" ))
393397 self .subscriptions = QtGui .QWidget ()
394398 self .subscriptions .setObjectName (_fromUtf8 ("subscriptions" ))
@@ -691,7 +695,6 @@ def setupUi(self, MainWindow):
691695 MainWindow .setTabOrder (self .textEditMessage , self .pushButtonAddSubscription )
692696
693697 # Popup menu actions container for the Sent page
694- # pylint: disable=attribute-defined-outside-init
695698 self .sentContextMenuToolbar = QtGui .QToolBar ()
696699 # Popup menu actions container for chans tree
697700 self .addressContextMenuToolbar = QtGui .QToolBar ()
0 commit comments