VR-Forces 4.1.1 Class Documentation
uiDIGuyElement.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: uiDIGuyElement.h,v $ $Revision: 1.3 $ $State: Exp $
7 ** Created: 5/5/08 MEM
8 *********************************************************************/
9 
12 
13 #ifndef uiDIGuyElement_H_
14 #define uiDIGuyElement_H
15 
17 
19 class QLabel;
21 
23 
25 {
26 public:
27 
30  (
31  const DtString& name,
32  DtReaderWriterRegistry* const parentRegistry = NULL
33  );
34 
36  virtual ~DtUiDIGuyElement();
37 
40 
43 
44 public:
45  virtual QWidget* createLabelWidget(QWidget* parent) {return 0;};
46  virtual QWidget* createControls(QWidget*);
47 
48  virtual void processUiEvent(const DtUiElementEvent& e);
49 
50 protected:
51  virtual DtUiElement* clone();
52  virtual void decorateElement();
53  virtual void setFromParameters(DtReaderWriter* parentRw);
54  virtual void elementChanged();
55  virtual void setModified(QLabel*, bool);
56  virtual bool isModified() const;
57 
60  virtual void updateRandomAppearanceList(bool useRandom);
61  virtual void updateAppearance(bool useRandom);
62 
63 protected:
67 
68 };
69 
70 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)