src/eric7/DataViews/PyProfileDialog.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9623:9c1f429cb56b 9624:b47dfa7a137d
19 QHeaderView, 19 QHeaderView,
20 QMenu, 20 QMenu,
21 QTreeWidgetItem, 21 QTreeWidgetItem,
22 ) 22 )
23 23
24 from eric7 import Utilities
25 from eric7.EricWidgets import EricMessageBox 24 from eric7.EricWidgets import EricMessageBox
25 from eric7.SystemUtilities import PythonUtilities
26 26
27 from .Ui_PyProfileDialog import Ui_PyProfileDialog 27 from .Ui_PyProfileDialog import Ui_PyProfileDialog
28 28
29 29
30 class ProfileTreeWidgetItem(QTreeWidgetItem): 30 class ProfileTreeWidgetItem(QTreeWidgetItem):
78 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setDefault(True) 78 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setDefault(True)
79 79
80 self.cancelled = False 80 self.cancelled = False
81 self.exclude = True 81 self.exclude = True
82 self.ericpath = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 82 self.ericpath = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
83 self.pyLibPath = Utilities.getPythonLibPath() 83 self.pyLibPath = PythonUtilities.getPythonLibPath()
84 84
85 self.summaryList.headerItem().setText(self.summaryList.columnCount(), "") 85 self.summaryList.headerItem().setText(self.summaryList.columnCount(), "")
86 self.resultList.headerItem().setText(self.resultList.columnCount(), "") 86 self.resultList.headerItem().setText(self.resultList.columnCount(), "")
87 self.resultList.header().setSortIndicator(0, Qt.SortOrder.DescendingOrder) 87 self.resultList.header().setSortIndicator(0, Qt.SortOrder.DescendingOrder)
88 88

eric ide

mercurial