28 @param item reference to the item |
28 @param item reference to the item |
29 @type QTreeWidgetItem |
29 @type QTreeWidgetItem |
30 @param column column number inside the tree widget item |
30 @param column column number inside the tree widget item |
31 @type int |
31 @type int |
32 """ |
32 """ |
33 super(HgHisteditPlanActionComboBox, self).__init__() |
33 super().__init__() |
34 |
34 |
35 self.__item = item |
35 self.__item = item |
36 self.__column = column |
36 self.__column = column |
37 |
37 |
38 self.addItems(["pick", "drop", "mess", "fold", "roll", "edit"]) |
38 self.addItems(["pick", "drop", "mess", "fold", "roll", "edit"]) |
64 |
64 |
65 This is reimplemented in order to set the associated item as the |
65 This is reimplemented in order to set the associated item as the |
66 current item of the tree widget. |
66 current item of the tree widget. |
67 """ |
67 """ |
68 self.__item.treeWidget().setCurrentItem(self.__item) |
68 self.__item.treeWidget().setCurrentItem(self.__item) |
69 super(HgHisteditPlanActionComboBox, self).showPopup() |
69 super().showPopup() |
70 |
70 |
71 |
71 |
72 class HgHisteditPlanEditor(QDialog, Ui_HgHisteditPlanEditor): |
72 class HgHisteditPlanEditor(QDialog, Ui_HgHisteditPlanEditor): |
73 """ |
73 """ |
74 Class implementing a dialog to edit the history modification plan. |
74 Class implementing a dialog to edit the history modification plan. |