VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/propCreatePaletteLogic.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2008 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 /****************************************************************************** 
00006 ** $RCSfile: DtPropCreatePaletteLogic.h,v $ $Revision: 1.1.2.1 $ $State: Exp $ 
00007 ******************************************************************************/ 
00008 
00011 
00013 
00014 #pragma once
00015 
00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00017 #include <vlpi/entityType.h>
00018 #include <QtCore/QString>
00019 
00020 namespace makVrv
00021 {
00022    class DtDe;
00023 }
00024 
00025 namespace makVrf
00026 {
00027    class DtPointObjectDefinitionDialog;
00028    class DtPropCreatePaletteInterface;
00029    class DtVrfTerrainPropListRecord;
00030 
00034    class DT_DLL_VRFGUICOREQT DtPropCreatePaletteLogic
00035    {
00036 
00037    public: 
00038 
00040       static DtPropCreatePaletteLogic* create(makVrv::DtDe& de, DtPropCreatePaletteInterface* iFace );
00041 
00043       virtual ~DtPropCreatePaletteLogic();
00044 
00045    protected:
00046 
00048       void enablePalette(int terrainPatchOffset = 0);
00049 
00051       DtPropCreatePaletteLogic(makVrv::DtDe& de, DtPropCreatePaletteInterface* iFace );
00052 
00054       virtual void slot_itemSelected(const std::string& type, const std::string& modelDef);
00055 
00057       virtual void slot_postInitialize(makVrv::DtDe& de);
00058 
00060       virtual void slot_terrainPatchAdded();
00061 
00063       virtual void slot_terrainPatchToBeDeleted();
00064 
00066       virtual void populateGuiWithPropData();
00067 
00072       virtual std::string findCategory(const std::string& itemName, const DtVrfTerrainPropListRecord& categoryList,
00073          std::string& category) const;
00074 
00077       virtual std::string makeReadableName(const std::string& modelDefName) const;
00078 
00079    protected:
00080 
00081       makVrv::DtDe& myDe;
00082       DtPropCreatePaletteInterface* myInterface;
00083       DtPointObjectDefinitionDialog* myObjectPropertiesDlg;
00084    };
00085 }

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)