fomClassListView.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00008 
00009 #if DtHLA
00010 
00011 #ifndef fomClassListView_H_
00012 #define fomClassListView_H_
00013 
00014 #include "lgrSimGui.h"
00015 #include <lgrCheckableTreeView.h>
00016 
00017 class DtString;
00018 
00019 namespace MAKLogger
00020 {
00021    class DtBaseFomDesc;
00022    class DtBaseObjClassDesc;
00023    class DtBaseInterClassDesc;
00024 
00031    class DT_DLL_LGRSIMGUI DtFomClassListView : public DtLgrCheckableTreeView
00032    {
00033       Q_OBJECT
00034 
00035    public:
00037       DtFomClassListView(QWidget* parent,bool forObjects = false );
00038 
00040       virtual ~DtFomClassListView();
00041 
00043       virtual void setFom(const DtBaseFomDesc* myFomDesc);
00044 
00046       virtual bool isClassFiltered( const DtString& name) const;
00047 
00048    protected slots:
00049 
00050       void checkCallback( QTreeWidgetItem* item,int column );
00051 
00052    protected:
00053 
00054       void addObjectClass( const DtBaseObjClassDesc& desc );
00055       void addInteractionClass( const DtBaseInterClassDesc& desc );
00057           
00059       QTreeWidgetItem* findParent(const DtBaseObjClassDesc& desc );
00060 
00062       QTreeWidgetItem* findParent(const DtBaseInterClassDesc& desc );
00063 
00065       QTreeWidgetItem* findChild( QTreeWidgetItem* parent, const DtString& name);
00066 
00068       QString buildFullClassName(QTreeWidgetItem* item,QString childName);
00069 
00070    protected:
00071 
00072       bool myObjectFlag;
00073       bool myFilterChildren;
00074       DtBaseFomDesc* myFom;
00075    };
00076 
00077 }
00078 
00079 #endif   //! DtHLA
00080 #endif   //! DtFomClassListView_H_

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)