Public Member Functions | |
QGraph (const vector< FotoSHOCKcore::ImageOperationDescriptor * > &operations, QWidget *parent=0) | |
void | addContextMenu (QMenu *menu) |
Add context menu to the scene. More... | |
virtual void | contextMenuEvent (QContextMenuEvent *event) |
void | serialize (QString fileName) |
void | deserialize (QString fileName) |
void QGraph::addContextMenu | ( | QMenu * | menu) |
Add context menu to the scene.
The function does NOT reparent the menu.
void QGraph::serialize | ( | QString | fileName) |
First create DOM tree
cleanup