VR-Forces 4.0.4 Class Documentation
include/entityEditorImpl/uiArtPartElement.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2007 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: uiArtPartElement.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef uiArtPartElement_h
00015 #define uiArtPartElement_h
00016 
00017 #include "entityEditorImpl/uiElement.h"
00018 
00019 class DtArtPartManager;
00020 class QLabel;
00021 
00025 
00026 #include "entityEditorImpl/entityEditorImplDefines.h"
00027 
00028 class DT_DLL_entityeditorimpl DtUiArtPartElement : public DtUiElement
00029 {
00030 public:
00031 
00033    DtUiArtPartElement(const DtString& name,
00034       DtReaderWriterRegistry* const parentRegistry = NULL);
00035 
00037    virtual ~DtUiArtPartElement();
00038 
00040    DtUiArtPartElement(const DtUiArtPartElement& orig);
00041 
00043    DtUiArtPartElement& operator=(const DtUiArtPartElement& orig);
00044 
00045    virtual DtString artPartCategory() const;
00046    virtual void setArtPartCategory(const DtString& cat);
00047 
00048    virtual int artPartNumber() const;
00049    virtual void setArtPartNumber(int num);
00050 
00051    virtual void setFromSystemParameterData(const DtSystemParameterData* data);
00052 
00053 protected:
00054    virtual QWidget* createDataEntryElement(QWidget*);
00055 
00056 protected:
00057    virtual DtUiElement* clone();
00058    virtual void setFromParameters(DtReaderWriter* parentRw);
00059 
00060 protected:
00061    DtString myArtPartCategory;
00062    QLabel*  myPartLabel;
00063 
00064    static DtArtPartManager* theArtPartManager;
00065 };
00066 
00067 #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)