src/eric7/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditPlanEditor.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
equal deleted inserted replaced
9412:45e7bb09c120 9413:80c06d472826
8 """ 8 """
9 9
10 from PyQt6.QtCore import pyqtSlot, QCoreApplication 10 from PyQt6.QtCore import pyqtSlot, QCoreApplication
11 from PyQt6.QtWidgets import QDialog, QTreeWidgetItem, QComboBox 11 from PyQt6.QtWidgets import QDialog, QTreeWidgetItem, QComboBox
12 12
13 from EricWidgets import EricMessageBox 13 from eric7.EricWidgets import EricMessageBox
14 14
15 from Ui_HgHisteditPlanEditor import Ui_HgHisteditPlanEditor 15 from eric7.UI_HgHisteditPlanEditor import Ui_HgHisteditPlanEditor
16 16
17 import UI.PixmapCache 17 from eric7.EricGui import EricPixmapCache
18 18
19 19
20 class HgHisteditPlanActionComboBox(QComboBox): 20 class HgHisteditPlanActionComboBox(QComboBox):
21 """ 21 """
22 Class implementing a combo box to select the action in the plan tree. 22 Class implementing a combo box to select the action in the plan tree.
86 @type QWidget 86 @type QWidget
87 """ 87 """
88 super().__init__(parent) 88 super().__init__(parent)
89 self.setupUi(self) 89 self.setupUi(self)
90 90
91 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow")) 91 self.upButton.setIcon(EricPixmapCache.getIcon("1uparrow"))
92 self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow")) 92 self.downButton.setIcon(EricPixmapCache.getIcon("1downarrow"))
93 93
94 self.planTreeWidget.headerItem().setText(self.planTreeWidget.columnCount(), "") 94 self.planTreeWidget.headerItem().setText(self.planTreeWidget.columnCount(), "")
95 95
96 self.__fileName = fileName 96 self.__fileName = fileName
97 self.__readFile() 97 self.__readFile()

eric ide

mercurial