VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
extendedPropertiesPageItems.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
17 #include <vrvCore/DtStateView.h>
18 
20 class DtReaderWriter;
21 
22 namespace makVrf
23 {
24  namespace makVrfGuiObjectInformationQt
25  {
26 
29  {
30  public:
33 
34  virtual ~DtExtendedPropertyItem();
35 
36  virtual QVariant value(int col, int role, const QTreeWidgetItem*,
38  virtual bool valueNeedsUpdate(int col, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
39 
40  virtual void setPropertyItem(const DtPropertyInterface*);
42  {
43  return myPropertyItem;
44  }
45 
46  virtual bool parentIsList() const;
47 
48  static std::string creatorName();
50 
51  virtual const QString& title() const;
52 
53  protected:
54  virtual void setupPageItems();
55  virtual DtString internalValueFor(const DtReaderWriter* value, const DtReaderWriter* parameters) const;
56 
57  virtual DtReaderWriterRegistryData* findMe() const;
58 
59  protected:
61  QString myTitle;
64  std::vector<DtInformationTreeWidgetItem*> myItems;
65  };
66 
70  {
71  public:
74 
75  virtual ~DtAllExtendedProperties();
76 
77  virtual QVariant value(int col, int role, const QTreeWidgetItem*,
80 
81  virtual bool valueNeedsUpdate(int col, makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
82 
83  static std::string creatorName();
84  };
85 
88  }
89 }
DtItemUpdateFunctionCreator< DtAllExtendedProperties > DtAllExtendedPropertiesCreator
Definition: extendedPropertiesPageItems.h:86
This class will simply iterate over all the items in the data registry creating a data item for each ...
Definition: extendedPropertiesPageItems.h:69
Definition: readerWriterRegistryData.h:25
Contains makVrv::DtStateView class.
DtReaderWriter * propertyItem()
Definition: extendedPropertiesPageItems.h:41
const makVrv::DtStateView< DtVrfObjectDataState > * myEntityState
Definition: extendedPropertiesPageItems.h:63
Definition: readerWriter.h:85
std::vector< DtInformationTreeWidgetItem * > myItems
Definition: extendedPropertiesPageItems.h:64
Interface class used to define minimal interface for a property. The DtPropertyInterface class provid...
Definition: propertyInterface.h:48
Contains makVrv::DtInformationDialogPage class.
DtReaderWriter * myPropertyItem
Definition: extendedPropertiesPageItems.h:60
QString myTitle
Definition: extendedPropertiesPageItems.h:61
const makVrv::DtStateView< DtVrlinkSimulatedAggregateState > * myAggregateState
Definition: extendedPropertiesPageItems.h:62
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:24
DtItemUpdateFunctionCreator< DtExtendedPropertyItem > DtExtendedPropertyItemCreator
Definition: extendedPropertiesPageItems.h:87
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:70
Instance of a property. For list property items this will also contain the children of that list...
Definition: extendedPropertiesPageItems.h:28

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)