VR-Forces 4.0.4 Class Documentation
include/entityEditorImpl/newFormationDialog.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2008 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: newFormationDialog.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DTNEWFORMATIONDIALOG_H_
00013 #define DTNEWFORMATIONDIALOG_H_
00014 
00015 #include "entityEditorImpl/entityEditorImplDefines.h"
00016 #include <QtGui/QDialog>
00017 
00018 class DtFormationTable;
00019 class QLineEdit;
00020 class QComboBox;
00021 class QLabel;
00022 
00023 class DT_DLL_entityeditorimpl DtNewFormationDialog : public QDialog
00024 {
00025    Q_OBJECT
00026 
00027 public:
00028    DtNewFormationDialog(QWidget* p = NULL);
00029    virtual ~DtNewFormationDialog();
00030 
00031    virtual void init(const DtFormationTable*, const QString& curFormation = "", bool allowNameEntry = true);
00032 
00033    virtual QString formationName() const;
00034    virtual QString basedOnFormation() const;
00035 
00036    QLabel* formationLabel() { return myFormationLabel; };
00037 
00038 protected:
00039    virtual void accept();
00040 
00041 protected:
00042    QLineEdit*     myFormationName;
00043    QComboBox*     myExistingFormations;
00044    QLabel*        myFormationLabel;
00045    const DtFormationTable* myFormationTable;
00046 };
00047 
00048 #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)