eric6/Plugins/VcsPlugins/vcsGit/GitLogBrowserDialog.py

changeset 7533
88261c96484b
parent 7493
1696e91a5393
child 7771
787a6b3f8c9f
equal deleted inserted replaced
7532:1358e9d67a1c 7533:88261c96484b
85 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) 85 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)
86 86
87 self.filesTree.headerItem().setText(self.filesTree.columnCount(), "") 87 self.filesTree.headerItem().setText(self.filesTree.columnCount(), "")
88 self.filesTree.header().setSortIndicator(1, Qt.AscendingOrder) 88 self.filesTree.header().setSortIndicator(1, Qt.AscendingOrder)
89 89
90 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png")) 90 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow"))
91 self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow.png")) 91 self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow"))
92 92
93 self.refreshButton = self.buttonBox.addButton( 93 self.refreshButton = self.buttonBox.addButton(
94 self.tr("&Refresh"), QDialogButtonBox.ActionRole) 94 self.tr("&Refresh"), QDialogButtonBox.ActionRole)
95 self.refreshButton.setToolTip( 95 self.refreshButton.setToolTip(
96 self.tr("Press to refresh the list of commits")) 96 self.tr("Press to refresh the list of commits"))
97 self.refreshButton.setEnabled(False) 97 self.refreshButton.setEnabled(False)
98 98
99 self.findPrevButton.setIcon(UI.PixmapCache.getIcon("1leftarrow.png")) 99 self.findPrevButton.setIcon(UI.PixmapCache.getIcon("1leftarrow"))
100 self.findNextButton.setIcon(UI.PixmapCache.getIcon("1rightarrow.png")) 100 self.findNextButton.setIcon(UI.PixmapCache.getIcon("1rightarrow"))
101 self.__findBackwards = False 101 self.__findBackwards = False
102 102
103 self.modeComboBox.addItem(self.tr("Find"), "find") 103 self.modeComboBox.addItem(self.tr("Find"), "find")
104 self.modeComboBox.addItem(self.tr("Filter"), "filter") 104 self.modeComboBox.addItem(self.tr("Filter"), "filter")
105 105
348 self.tr("Describe"), self.__describeActTriggered) 348 self.tr("Describe"), self.__describeActTriggered)
349 self.__describeAct.setToolTip(self.tr( 349 self.__describeAct.setToolTip(self.tr(
350 "Show the most recent tag reachable from a commit")) 350 "Show the most recent tag reachable from a commit"))
351 351
352 self.actionsButton.setIcon( 352 self.actionsButton.setIcon(
353 UI.PixmapCache.getIcon("actionsToolButton.png")) 353 UI.PixmapCache.getIcon("actionsToolButton"))
354 self.actionsButton.setMenu(self.__actionsMenu) 354 self.actionsButton.setMenu(self.__actionsMenu)
355 355
356 def __initData(self): 356 def __initData(self):
357 """ 357 """
358 Private method to (re-)initialize some data. 358 Private method to (re-)initialize some data.

eric ide

mercurial