VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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:
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 
60  virtual QString title();
61 
63  virtual const std::string& pageClassName() const;
64 
66  static const std::string& thePageClassName();
67 
68  virtual DtInformationDialogPageLogic* createLogic();
69 
71  {
72  return myEntities;
73  }
74 
76  {
77  return myAggregates;
78  }
79 
80  protected:
81  virtual void activate();
82  virtual void deactivate();
83  virtual QWidget* createPageContents(ShowStatus&);
84 
85  virtual QWidget* createEntitiesTab();
86  virtual QWidget* createAggregatesTab();
87 
88  protected slots:
89  virtual void onSubordinateDoubleClicked(QTreeWidgetItem*, int);
90 
91  protected:
93 
96  };
97 
100  }
101 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)