VR-Forces 4.0.4 Class Documentation
include/entityEditorImpl/uiStringElement.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2007 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: uiStringElement.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DTUISTRINGELEMENT_H_
00013 #define DTUISTRINGELEMENT_H_
00014 
00015 #include "entityEditorImpl/uiElement.h"
00016 #include "vrfutil/rwInt.h"
00017 
00018 class QLineEdit;
00019 
00020 #include "entityEditorImpl/entityEditorImplDefines.h"
00021 
00022 class DT_DLL_entityeditorimpl DtUiStringElement : public DtUiElement
00023 {
00024 public:
00025 
00027    DtUiStringElement
00028    (
00029       const DtString& name,
00030       DtReaderWriterRegistry* const parentRegistry = NULL
00031    );
00032 
00034    virtual ~DtUiStringElement();
00035 
00037    DtUiStringElement(const DtUiStringElement& orig);
00038 
00040    DtUiStringElement& operator=(const DtUiStringElement& orig);
00041 
00042 protected:
00043    virtual QWidget* createDataEntryElement(QWidget*);
00044 
00045 protected:
00046    virtual DtUiElement* clone();
00047    virtual void setFromParameters(DtReaderWriter* parentRw);
00048 
00049    virtual void elementChanged();
00050 
00051 protected:
00052    DtRwInt  myMaxLength;
00053    QLineEdit*  myLineEdit;
00054 };
00055 
00056 #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)