Module implementing a dialog to edit the history modification plan.
None |
HgHisteditPlanActionComboBox | Class implementing a combo box to select the action in the plan tree. |
HgHisteditPlanEditor | Class implementing a dialog to edit the history modification plan. |
None |
Class implementing a combo box to select the action in the plan tree.
None |
None |
HgHisteditPlanActionComboBox | Constructor |
__changeItem | Private slot to handle the selection of a plan action. |
showPopup | Public method to show the list of items of the combo box. |
None |
Constructor
Private slot to handle the selection of a plan action.
This method sets the text of the associated item for the specified cell in order to be able to retrieve it with a call of the text() method of the item.
Public method to show the list of items of the combo box.
This is reimplemented in order to set the associated item as the current item of the tree widget.
Class implementing a dialog to edit the history modification plan.
None |
None |
HgHisteditPlanEditor | Constructor |
__addActionCombo | Private method to add an edit action combo to an item. |
__assembleEditPlan | Private method to assemble the edit plan into text suitable for the histedit file. |
__createPlanItem | Private method to create an edit plan tree item. |
__readFile | Private method to read the file containing the edit plan and populate the dialog. |
__resizeSections | Private method to resize the tree widget sections. |
__updateButtons | Private method to set the enabled state of the up and down buttons. |
on_buttonBox_accepted | Private slot called by the buttonBox accepted signal. |
on_buttonBox_rejected | Private slot called by the buttonBox rejected signal. |
on_downButton_clicked | Private slot to move the current entry down one line. |
on_planTreeWidget_currentItemChanged | Private slot handling the change of the current edit plan item. |
on_upButton_clicked | Private slot to move the current entry up one line. |
None |
Constructor
Private method to add an edit action combo to an item.
Private method to assemble the edit plan into text suitable for the histedit file.
Private method to create an edit plan tree item.
Private method to read the file containing the edit plan and populate the dialog.
Private method to resize the tree widget sections.
Private method to set the enabled state of the up and down buttons.
Private slot called by the buttonBox accepted signal.
Private slot called by the buttonBox rejected signal.
Private slot to move the current entry down one line.
Private slot handling the change of the current edit plan item.
Private slot to move the current entry up one line.