VR-Forces 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 
14 
16 class DtReaderWriter;
17 
18 namespace makVrf
19 {
20  namespace makVrfGuiObjectInformationQt
21  {
22 
25  {
26  public:
29 
30  virtual ~DtExtendedPropertyItem() override;
31 
32  virtual QVariant value(int col, int role, DtSimObjectReference) const override;
33 
34  virtual void setPropertyItem(const DtPropertyInterface*);
36  {
37  return myPropertyItem;
38  }
39 
40  virtual bool parentIsList() const;
41 
42  static std::string creatorName();
43  virtual void activate(DtSimObjectReference) override;
44 
45  virtual const QString& title() const;
46 
47  protected:
48  virtual void setupPageItems(DtSimObjectReference);
49  virtual DtString internalValueFor(const DtReaderWriter* value, const DtReaderWriter* parameters) const;
50 
51  protected:
53  QString myTitle;
54  mutable bool myCheckedForBase = false;
55  mutable const DtReaderWriter* myBaseRW = nullptr;
56  std::vector<DtInformationTreeWidgetItem*> myItems;
57  };
58 
62  {
63  public:
66 
67  virtual ~DtAllExtendedProperties() override;
68 
69  virtual QVariant value(int col, int role, DtSimObjectReference) const override;
70  virtual void activate(DtSimObjectReference) override;
71 
72  static std::string creatorName();
73  };
74 
77  }
78 }
DtItemUpdateFunctionCreator< DtAllExtendedProperties > DtAllExtendedPropertiesCreator
Definition: extendedPropertiesPageItems.h:75
This class will simply iterate over all the items in the data registry creating a data item for each ...
Definition: extendedPropertiesPageItems.h:61
DtReaderWriter * propertyItem()
Definition: extendedPropertiesPageItems.h:35
Definition: readerWriter.h:85
std::vector< DtInformationTreeWidgetItem * > myItems
Definition: extendedPropertiesPageItems.h:56
Interface class used to define minimal interface for a property. The DtPropertyInterface class provid...
Definition: propertyInterface.h:53
Contains makVrv::DtInformationDialogPage class.
DtReaderWriter * myPropertyItem
Definition: extendedPropertiesPageItems.h:52
QString myTitle
Definition: extendedPropertiesPageItems.h:53
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:24
DtItemUpdateFunctionCreator< DtExtendedPropertyItem > DtExtendedPropertyItemCreator
Definition: extendedPropertiesPageItems.h:76
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:76
Instance of a property. For list property items this will also contain the children of that list...
Definition: extendedPropertiesPageItems.h:24

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)