VR-Forces 4.0.4 Class Documentation
include/entityEditorImpl/autoFormationLayoutDialog.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2008 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: autoFormationLayoutDialog.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DTAUTOFORMATIONLAYOUTDIALOG_H_
00013 #define DTAUTOFORMATIONLAYOUTDIALOG_H_
00014 
00015 #include "entityEditorImpl/entityEditorImplDefines.h"
00016 #include <QtGui/QDialog>
00017 #include <QtGui/QValidator>
00018 
00019 #include <matrix/vlVector.h>
00020 
00021 class DtFormationAutoLayoutFactory;
00022 class QLineEdit;
00023 class QComboBox;
00024 class DtVrfSubObjectParameterList;
00025 class DtAggregateObjectParameters;
00026 
00027 class DT_DLL_entityeditorimpl DtAutoFormationLayoutDialog : public QDialog
00028 {
00029    Q_OBJECT
00030 
00031 public:
00032    DtAutoFormationLayoutDialog(QWidget* p = NULL);
00033    virtual ~DtAutoFormationLayoutDialog();
00034 
00035    virtual void init(DtFormationAutoLayoutFactory*, const DtVrfSubObjectParameterList* l);
00036 
00037    virtual QString autoLayoutName() const;
00038    virtual double spacing() const;
00039 
00040 protected:
00042    virtual double defaultSpacing(const DtVrfSubObjectParameterList*) const;
00043 
00044    virtual DtVector aggregateExtent(DtAggregateObjectParameters*) const;
00045 
00046 protected:
00047    QLineEdit*     mySpacing;
00048    QComboBox*     myAutoLayoutFormations;
00049    QDoubleValidator  myValidator;
00050 };
00051 
00052 #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)