VR-Forces 4.0.4 Class Documentation
include/entityEditorImpl/forcesEditor.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2007 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: forcesEditor.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtForcesEditor_H_
00013 #define DtForcesEditor_H_
00014 
00015 #include <QtGui/QDialog>
00016 
00017 class QPushButton;
00018 class QListWidget;
00019 class DtModelSet;
00020 
00021 #include "entityEditorImpl/entityEditorImplDefines.h"
00022 
00023 class DT_DLL_entityeditorimpl DtForcesEditor : public QDialog
00024 {
00025    Q_OBJECT
00026 
00027 public:
00028    DtForcesEditor(QWidget* parent, const Qt::WindowFlags& flags = 0);
00029    virtual ~DtForcesEditor();
00030 
00031    virtual void init();
00032 
00033    static DtForcesEditor* create(QWidget* p = NULL);
00034 
00035 protected:
00036    virtual void keyPressEvent(QKeyEvent *e);
00037    virtual bool eventFilter(QObject*, QEvent*);
00038 
00039 protected slots:
00040    virtual void itemSelectionChanged();
00041    virtual void addForce();
00042    virtual void editForce();
00043    virtual void removeForce();
00044 
00045 signals:
00046    void entryModified();
00047    void forcesModified();
00048 
00049 protected:
00050    QListWidget* myForces;
00051    QPushButton* myAddForce;
00052    QPushButton* myEditForce;
00053    QPushButton* myRemoveForce;
00054 };
00055 
00056 #endif
00057 

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)