VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtSetWeaponStateDialog.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtSetWeaponStateDialog.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00013 
00014 #pragma once
00015 
00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00017 #include <vrfGuiCoreQt/DtBaseYesNoTaskSetDialog.h>
00018 
00019 class QHBoxLayout;
00020 class QComboBox;
00021 class QLabel;
00022 
00023 namespace makVrf
00024 {
00025    class DT_DLL_VRFGUICOREQT DtSetWeaponStateDialog : public DtBaseYesNoTaskSetDialog
00026    {
00027       Q_OBJECT
00028    public:
00029       //CTOR
00030       DtSetWeaponStateDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
00031 
00032       //DTOR
00033       virtual ~DtSetWeaponStateDialog();
00034 
00035       virtual void setWeaponState(int d);
00036       virtual int weaponState() const;
00037 
00038    protected:
00039       virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
00040 
00041       virtual void sendRequest();
00042 
00043    protected:
00044       virtual void setupStatement(const DtSimStatement*);
00045       virtual void initializeItems(const std::vector<makVrv::DtSimEntry*>& data);
00046    };
00047 
00048    class DT_DLL_VRFGUICOREQT DtSetWeaponStateDialogCreator : public DtVrfTaskSetDialogCreator
00049    {
00050    public:
00051       virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
00052       bool supportsType(int, const DtSimStatement*) const;
00053    };
00054 }

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)