VR-Forces 4.1 Class Documentation
addObjectToHierarchy.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #ifndef DTADDOBJECTTOHIERARCHY_H_
10 #define DTADDOBJECTTOHIERARCHY_H_
11 
12 #include <QtGui/QDialog>
14 
15 class DtModelSetEntry;
16 class DtEntityEditorList;
17 class DtObjectType;
18 class QPushButton;
19 class QTreeWidgetItem;
20 
22 {
23  Q_OBJECT
24 
25 public:
27 
28  virtual ~DtAddObjectToHierarchy();
29 
30  virtual void init (DtModelSetEntry* useAsFilter, DtModelSetEntry* select);
31 
32  virtual DtModelSetEntry* selectedModel();
33 
36  void setAddOnce(bool);
37 
39  virtual DtObjectType selectedObject();
40 
41  virtual void setDragEnabled(bool);
42 
43 protected:
44  virtual void accept();
45  virtual void closeEvent(QCloseEvent*);
46 
47 signals:
48  void addObjectToHierarchy(const DtObjectType&);
49  void closing();
50 
51 protected slots:
52  virtual void itemSelectionChanged();
53  virtual void updateItemDragState(const QVector<QTreeWidgetItem*>& = QVector<QTreeWidgetItem*>());
54 
55 protected:
59  bool myAddOnce;
60 };
61 
63 {
64  myAddOnce = b;
65 }
66 
67 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)