src/eric7/Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
equal deleted inserted replaced
9412:45e7bb09c120 9413:80c06d472826
18 QMenu, 18 QMenu,
19 QHeaderView, 19 QHeaderView,
20 QTreeWidgetItem, 20 QTreeWidgetItem,
21 ) 21 )
22 22
23 from EricWidgets.EricApplication import ericApp 23 from eric7.EricWidgets.EricApplication import ericApp
24 from EricWidgets import EricMessageBox 24 from eric7.EricWidgets import EricMessageBox
25 25
26 from .Ui_HgStatusDialog import Ui_HgStatusDialog 26 from .Ui_HgStatusDialog import Ui_HgStatusDialog
27 27
28 from .HgDiffHighlighter import HgDiffHighlighter 28 from .HgDiffHighlighter import HgDiffHighlighter
29 from .HgDiffGenerator import HgDiffGenerator 29 from .HgDiffGenerator import HgDiffGenerator
30 30
31 import Preferences 31 from eric7 import Preferences
32 import UI.PixmapCache 32 from eric7.EricGui import EricPixmapCache
33 33
34 34
35 class HgStatusDialog(QWidget, Ui_HgStatusDialog): 35 class HgStatusDialog(QWidget, Ui_HgStatusDialog):
36 """ 36 """
37 Class implementing a dialog to show the output of the hg status command 37 Class implementing a dialog to show the output of the hg status command
215 act = self.__actionsMenu.addAction( 215 act = self.__actionsMenu.addAction(
216 self.tr("Adjust column sizes"), self.__resizeColumns 216 self.tr("Adjust column sizes"), self.__resizeColumns
217 ) 217 )
218 act.setToolTip(self.tr("Adjusts the width of all columns to their contents")) 218 act.setToolTip(self.tr("Adjusts the width of all columns to their contents"))
219 219
220 self.actionsButton.setIcon(UI.PixmapCache.getIcon("actionsToolButton")) 220 self.actionsButton.setIcon(EricPixmapCache.getIcon("actionsToolButton"))
221 self.actionsButton.setMenu(self.__actionsMenu) 221 self.actionsButton.setMenu(self.__actionsMenu)
222 222
223 def closeEvent(self, e): 223 def closeEvent(self, e):
224 """ 224 """
225 Protected slot implementing a close event handler. 225 Protected slot implementing a close event handler.

eric ide

mercurial