VR-Forces 4.1 Class Documentation
uiItemComponent.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2007 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: uiItemComponent.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DTUIITEMCOMPONENT_H_
13 #define DTUIITEMCOMPONENT_H_
14 
16 
17 #include <vrfutil/rwString.h>
18 #include <vrfutil/rwBoolean.h>
19 
23 class QCheckBox;
24 
26 
28 {
29 public:
30 
33  (
34  const DtString& name,
35  DtReaderWriterRegistry* const parentRegistry = NULL
36  );
37 
39  virtual ~DtUiItemComponent();
40 
43 
46 
47 protected:
48  virtual QWidget* createLabelWidget(QWidget* parent) {return 0;};
49  virtual QWidget* createControls(QWidget*);
50  virtual void setFromParameters(DtReaderWriter* parentRw);
51  virtual void elementChanged();
52  virtual DtComponentDescriptor* addComponentDescriptor(DtVrfObjectParameters* params);
53 
54  virtual DtComponentDescriptorList* getList(DtVrfObjectParameters*) const;
55  virtual bool isModified() const;
56 
58  virtual void processUiEvent(const DtUiElementEvent&);
59 
60 protected:
61  virtual DtUiElement* clone();
62 
63 protected:
70 };
71 
72 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)