Short Description: Qt4 Accounting View: Obj Region context submenu: Add Acct Bug Number: n/a Release notes (y/n): no, not yet. For Release Nums: 6.1 Implemented "Add Account" submenu to the SimObj Region Context Menu (in the Qt4 Accounting View). Of the four Account types, only those supported on the particular object / object type are shown (as submenu items). In RiverWare Viewer or scenario baseline modes, those submenu items are not enabled. Add Account >> Storage Account... >> Diversion Account... >> PassThrough Account... >> InstreamFlow Account... ----------------------------- QtUtils/WorkspaceGfxScene.hpp QtUtils/WorkspaceGfxScene.cpp ----------------------------- New data members: QAction* _newStorageAcctAction; QAction* _newDivAcctAction; QAction* _newPassThruAcctAction; QAction* _newInstFlowAcctAction; New methods: QAction* newStorageAcctAction() const { return _newStorageAcctAction; } QAction* newDivAcctAction() const { return _newDivAcctAction; } QAction* newPassThruAcctAction() const { return _newPassThruAcctAction; } QAction* newInstFlowAcctAction() const { return _newInstFlowAcctAction; } void newAccountOfType (const QString& accountType); void newStorageAcct(); // Qt slot void newDivAcct(); // Qt slot void newPassThruAcct(); // Qt slot void newInstFlowAcct(); // Qt slot ------------------------- QtUtils/SimObjGfxItem.cpp ------------------------- See additions to method: void SimObjGfxItem::showSimObjContextMenu (const QPoint& evtScreenPos) ---