VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
formationHierarchyView.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
13 
14 class QMenu;
15 class DtUiAggregateCompositionSignalHandler;
17 class DtModelSetEntry;
19 
21 {
22  Q_OBJECT
23 
24 public:
26  virtual ~DtFormationHierarchyView();
27 
28  virtual QTreeWidgetItem* addHierarchyItem(const DtObjectType&, QTreeWidgetItem* parent = NULL);
29 
30  void setParent(DtUiAggregateCompositionEditor* p) { myParent = p; };
31 
32  virtual void init();
33 
35  virtual void selectPath(const QString&, bool signal = false);
36 
37  virtual void expandPath(const QStringList& path, bool expand, bool signal = false);
38 
39  virtual QString selectionPath(QTreeWidgetItem*) const;
40  virtual QString selectionPath(const QList<QTreeWidgetItem*>&) const;
41 
42  void setModelSetEntry(DtModelSetEntry* e) { myModelSetEntry = e; };
43  DtModelSetEntry* modelSetEntry() { return myModelSetEntry; };
44 
45 protected:
46  virtual void itemRightClicked(QTreeWidgetItem* lvi, QMouseEvent* e);
47  virtual QMenu* createRightClickMenu();
48 
49 protected:
52 };

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)