![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2007 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: uiBooleanElement.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DTUIBOOLEANELEMENT_H_ 00013 #define DTUIBOOLEANELEMENT_H_ 00014 00015 #include "entityEditorImpl/uiElement.h" 00016 00017 class QCheckBox; 00018 00019 #include "entityEditorImpl/entityEditorImplDefines.h" 00020 00021 class DT_DLL_entityeditorimpl DtUiBooleanElement : public DtUiElement 00022 { 00023 public: 00024 00026 DtUiBooleanElement 00027 ( 00028 const DtString& name, 00029 DtReaderWriterRegistry* const parentRegistry = NULL 00030 ); 00031 00033 virtual ~DtUiBooleanElement(); 00034 00036 DtUiBooleanElement(const DtUiBooleanElement& orig); 00037 00039 DtUiBooleanElement& operator=(const DtUiBooleanElement& orig); 00040 00041 protected: 00042 virtual QWidget* createLabelWidget(QWidget* parent) {return 0;}; 00043 virtual QWidget* createControls(QWidget*); 00044 virtual void setFromParameters(DtReaderWriter* parentRw); 00045 virtual void elementChanged(); 00046 virtual void decorateElement(); 00047 00048 protected: 00049 virtual DtUiElement* clone(); 00050 00051 protected: 00052 QCheckBox* myCheckBox; 00053 }; 00054 00055 #endif