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

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)