New operation "toolbox" widget
This MR adds new Qt classes that present registered operations in a "tool palette":
-
qtOperationAction – a QWidgetAction for operation-type that emits
acceptDefaults()
(i.e., run with defaults) when clicked andeditParameters()
(i.e., prompt user with an operation editor) when long-clicked. - qtOperationTypeModel – a QAbstractListModel for operation-types. It provides a qtOperationAction for each operation class in an operation manager.
- qtOperationTypeView – a QScrollArea populated with QToolButtons tied to the qtOperationAction instances from the model.
Edited by David Thompson