

def setupUi(self):
    self.setWindowTitle('Opentumblr-qt Dashboard')
    icon.resize(341, 418)
    icon = QtGui.QIcon()
    icon.addPixmap(QtGui.QPixmap('/usr/share/pixmaps/opentumblr-qt/dashboard/opentumblr_icon.jpg'), QtGui.QIcon.Normal, QtGui.QIcon.Off)
    self.setWindowIcon(icon)
    grid = QtGui.QGridLayout()
    self.bt_text = self.CreateButton(self.CreateIcon('text.png'))
    self.bt_photo = self.CreateButton(self.CreateIcon('photo.png'))
    self.bt_audio = self.CreateButton(self.CreateIcon('audio.png'))
    self.bt_url = self.CreateButton(self.CreateIcon('link.png'))
    self.bt_quote = self.CreateButton(self.CreateIcon('quote.png'))
    self.bt_chat = self.CreateButton(self.CreateIcon('chat.png'))
    self.bt_video = self.CreateButton(self.CreateIcon('video.png'))
    self.bt_logout = QtGui.QPushButton('Log Out')
    sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
    self.bt_logout.setMaximumSize(QtCore.QSize(16777215, 58))
    self.bt_logout.setSizePolicy(sizePolicy)
    grid.addWidget(self.bt_text, 1, 1)
    grid.addWidget(self.bt_photo, 1, 2)
    grid.addWidget(self.bt_quote, 1, 3)
    grid.addWidget(self.bt_url, 2, 1)
    grid.addWidget(self.bt_chat, 2, 2)
    grid.addWidget(self.bt_audio, 2, 3)
    grid.addWidget(self.bt_video, 3, 2)
    grid.addWidget(self.bt_logout, 4, 1, 1, 3)
    self.setLayout(grid)

dataset/ETHPy150Open ialex/opentumblr-qt/opentumblrqt/gui/dashboard_ui.py Dashboard_widget.setupUi/VarMisuse@17/30 `self`->`icon`