VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
propertyResourceList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 #include <vrvUtil/signalslib.h>
9 
10 #include "propertyRWList.h"
11 
12 class DtSimResourceList;
13 class DtSimResource;
15 
17 {
18  Q_OBJECT
19 
20 public:
21  DtPropertyResourceList(makVrv::DtDe&, DtPropertySheet*, const QString& title,
22  DtReaderWriter* var, DtReaderWriter* backup);
24  DtReaderWriter* var, DtReaderWriter* backup);
25 
26  static DtPropertyItem* create(makVrv::DtDe&, DtPropertySheet*, DtPropertyItem*, const QString& title,
27  DtReaderWriter* var, DtReaderWriter* backup);
28 
29  virtual void init();
30 
31  void setCanDeleteItem(bool);
32 
33 protected:
34  virtual bool canCreateItem() const;
37 
38 protected:
39  virtual bool canDeleteItem() const;
40 
41  // Dynamically casts resource value to set correct amount (full and current)
43  virtual QString addToolTip() const;
44 
45 protected:
47 };
48 
50 {
51  myCanDeleteItem = b;
52 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)