Offers user input to an auto merge process, such as choosing to ignore a merge or (to be implemented) choose which workflow to choose in case of conflict.
#include <Tools/Widgets/modifymergeddifferenceswidget.h>
◆ ModifyMergedDifferencesWidget()
◆ ~ModifyMergedDifferencesWidget()
◆ actionsChanged
◆ clear()
◆ onActionChanged
◆ onApplyClicked
◆ onChangeSelection
void onChangeSelection |
( |
const QUuid & |
id | ) |
|
|
slot |
◆ onResetClicked
◆ progressWidget()
◆ selectionChanged
void selectionChanged |
( |
const QUuid & |
id | ) |
|
|
signal |
◆ updateData()
This function is called whenever the widget requests to update data via the requestUpdateData() function. Its job is to assign data from the widget to the various inputs of the attached Operation.
- Note
- This is the only function in which updates to the operation can take place. Assigning data to the operation in any other location is unsafe and will result in undefined behaviour. For this reason, never directly call updateData() - instead, call requestUpdateData()
Implements OperationConnectionWidget.
◆ updateWidget()
This function is called whenever the widget is requested to be updated via a call to requestUpdateWidget(). Its job is to update the widget when the operation's data has changed. Workspace will make sure to invoke this function as needed.
- Note
- This is the only function in which operation data should be accessed in order to update the widget. Accessing operation data at other times is not safe and will result in undefined behaviour.
Implements OperationConnectionWidget.
◆ widgetUpdated
Example slot. Connect your UI widgets to a slot like this when you need to update the operation based on changes in the UI.