VR-Forces 4.0.4 Class Documentation
include/entityEditorImpl/uiItemRadio.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2007 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: uiItemRadio.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DTUIITEMRADIO_H_
00013 #define DTUIITEMRADIO_H_
00014 
00015 #include "entityEditorImpl/uiElement.h"
00016 #include "vrfobjparam/vrfRadioDescriptorList.h"
00017 #include <vrfutil/rwString.h>
00018 #include <vrfutil/rwBoolean.h>
00019 
00020 class DtComponentDescriptorList;
00021 class DtVrfObjectParameters;
00022 class QCheckBox;
00023 
00024 #include "entityEditorImpl/entityEditorImplDefines.h"
00025 
00026 class DT_DLL_entityeditorimpl DtUiItemRadio : public DtUiElement
00027 {
00028 public:
00029 
00031    DtUiItemRadio
00032    (
00033       const DtString& name,
00034       DtReaderWriterRegistry* const parentRegistry = NULL
00035    );
00036 
00038    virtual ~DtUiItemRadio();
00039 
00041    DtUiItemRadio(const DtUiItemRadio& orig);
00042 
00044    DtUiItemRadio& operator=(const DtUiItemRadio& orig);
00045 
00046 protected:
00047    virtual QWidget* createLabelWidget(QWidget* parent) {return 0;};
00048    virtual QWidget* createControls(QWidget*);
00049    virtual void setFromParameters(DtReaderWriter* parentRw);
00050    virtual void elementChanged();
00051    virtual DtVrfRadioDescriptor* addRadioDescriptor(DtVrfObjectParameters* params);
00052    virtual const DtVrfRadioDescriptor* radio() const;
00053 
00054    virtual bool isModified() const;
00055 
00056 protected:
00057    virtual DtUiElement* clone();
00058 
00059 protected:
00060    QCheckBox*  myCheckBox;
00061    DtVrfObjectParameters* myParameters;
00062    DtRwBoolean myAutomaticallyAdd;
00063    DtRadioDescriptorList   myRadio;
00064 };
00065 
00066 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)