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