VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateSubordinatesPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
15 
16 class QTabWidget;
17 
18 namespace makVrf
19 {
20  namespace makVrfGuiObjectInformationQt
21  {
23  {
24  public:
25  DtAggregateSubordinatesTab(makVrv::DtDe&, QWidget* parent);
26 
27  virtual ~DtAggregateSubordinatesTab();
28 
29  bool isSame(const std::vector<std::string>&) const;
31  {
32  return myTree;
33  }
34 
35  void setSubordinates(const std::vector<std::string>& s)
36  {
37  mySubordinates = s;
38  }
39 
40  protected:
41  std::vector<std::string> mySubordinates;
43  };
44 
46  {
47  Q_OBJECT
48 
49  public:
50 
52  DtAggregateSubordinatesPage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow);
53 
55  virtual ~DtAggregateSubordinatesPage();
57  virtual QIcon icon();
58 
61  virtual makVrv::DtQIconConfigurations qIconConfigurations() const;
62 
64  virtual QString title();
65 
67  virtual const std::string& pageClassName() const;
68 
70  static const std::string& thePageClassName();
71 
72  virtual DtInformationDialogPageLogic* createLogic();
73 
75  {
76  return myEntities;
77  }
78 
80  {
81  return myAggregates;
82  }
83 
84  protected:
85  virtual void activate();
86  virtual void deactivate();
87  virtual QWidget* createPageContents(ShowStatus&);
88 
89  virtual QWidget* createEntitiesTab();
90  virtual QWidget* createAggregatesTab();
91 
92  protected slots:
93  virtual void onSubordinateDoubleClicked(QTreeWidgetItem*, int);
94 
95  protected:
97 
100  };
101 
104  }
105 }
void setSubordinates(const std::vector< std::string > &s)
Definition: aggregateSubordinatesPage.h:35
makVrv::DtPageCreatorTemplate< DtAggregateSubordinatesPage > DtAggregateSubordinatesPageCreator
Definition: aggregateSubordinatesPage.h:103
std::vector< std::string > mySubordinates
Definition: aggregateSubordinatesPage.h:41
DtAggregateSubordinatesTab * myAggregates
Definition: aggregateSubordinatesPage.h:99
DtVrfTreeWidget * myTree
Definition: aggregateSubordinatesPage.h:42
DtAggregateSubordinatesTab * aggregates()
Definition: aggregateSubordinatesPage.h:79
Definition: DtPage.h:150
DtVrfTreeWidget * tree()
Definition: aggregateSubordinatesPage.h:30
Contains makVrv::DtInformationDialogPage class.
Definition: vrfTreeWidget.h:26
DtAggregateSubordinatesTab * entities()
Definition: aggregateSubordinatesPage.h:74
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:24
QTabWidget * myTabWidget
Definition: aggregateSubordinatesPage.h:96
DtAggregateSubordinatesTab * myEntities
Definition: aggregateSubordinatesPage.h:98
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:131

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)