VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
addObjectToHierarchy.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 
12 #include <QtGui/QDialog>
13 
14 class DtModelSetEntry;
15 class DtEntityEditorList;
16 class DtObjectType;
17 class QPushButton;
18 class QTreeWidgetItem;
19 
21 {
22  Q_OBJECT
23 
24 public:
26 
27  virtual ~DtAddObjectToHierarchy();
28 
29  virtual void init (DtModelSetEntry* useAsFilter, DtModelSetEntry* select);
30 
31  virtual DtModelSetEntry* selectedModel();
32 
35  void setAddOnce(bool);
36 
38  virtual DtObjectType selectedObject();
39 
40  virtual void setDragEnabled(bool);
41 
42 protected:
43  virtual void accept();
44  virtual void closeEvent(QCloseEvent*);
45 
46 signals:
47  void addObjectToHierarchy(const DtObjectType&);
48  void closing();
49 
50 protected slots:
51  virtual void itemSelectionChanged();
52  virtual void updateItemDragState(const QVector<QTreeWidgetItem*>& = QVector<QTreeWidgetItem*>());
53 
54 protected:
58  bool myAddOnce;
60 };
61 
63 {
64  myAddOnce = b;
65 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)