VR-Forces 4.2 Class Documentation
DtAggregateAsDialogLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtAggregateAsDialogLogic.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
11 
13 
14 #pragma once
15 
18 
19 #include <vrvCore/DtSelectionManager.h>
20 
21 #include <vrfExtProtocol/objType.h>
22 
23 #include <QtCore/QVector>
24 
25 namespace makVrv
26 {
27  class DtDe;
28 }
29 
30 class DtModelSet;
31 
32 namespace makVrf
33 {
34  class DtVrfSelectionFilter;
35  class DtAggregateAsDialogInterface;
36 
38  {
39  public:
40  //CTOR
42 
43  //DTOR
44  virtual ~DtAggregateAsDialogLogic();
45 
46  public:
47  virtual void setupGui(const makVrv::DtSelectionManager::IdSet&);
48 
50  virtual void setupAggregateTypeAndIcon();
51  virtual void changeAggregateType();
52 
53  virtual void moveSelectedEntity(const makVrv::DtVrlinkSimulatedBaseState*, int iDir);
54 
55  virtual void sort();
56 
57  virtual void aggregate();
58 
59  protected:
60  virtual void initAggregatesCombo(const DtModelSet*);
61  virtual DtObjectType validObjectTypeFor(const DtObjectType&) const;
62 
63  virtual const makVrv::DtVrlinkSimulatedBaseState* leader() const;
64  virtual void slot_onObjectAboutToBeRemoved(const makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>& s);
65 
66  protected:
67  makVrv::DtDe& myDe;
68 
70  QVector<DtObjectType> myObjectTypes;
72  };
73 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)