Interactive dragging of plot items ( like being implemented in the itemeditor example ) can be supported by a class like QwtPlotItemPositioner. The itemeditor example would make use of it and one of the examples should show how to move a legend item.