VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtBaseConditionalExpressionDialog.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtBaseConditionalExpressionDialog.h,v $ $Revision: 1.1 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00013 
00014 #pragma once
00015 
00016 #include <vrvUtil/signalslib.h>
00017 #include <vrfGuiCoreQt/DtConditionalExpressionInterface.h>
00018 #include <vrfGuiCoreQt/DtConditionalDialogInterface.h>
00019 
00020 class QVBoxLayout;
00021 class QPushButton;
00022 class QHBoxLayout;
00023 class QBoxLayout;
00024 
00025 namespace makVrf
00026 {
00027    class DT_DLL_VRFGUICOREQT DtBaseConditionalExpressionDialog : public DtConditionalExpressionInterface
00028    {
00029       Q_OBJECT
00030 
00031    public:
00032       //CTOR
00033       DtBaseConditionalExpressionDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
00034 
00035       //DTOR
00036       virtual ~DtBaseConditionalExpressionDialog();
00037 
00038       virtual void setOKEnabled(bool);
00039 
00040    protected:
00042       virtual void run(DtConditionalExpressionViewInterface*, const std::vector<makVrv::DtSimEntry*>& data);
00043       virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
00044       virtual QWidget* contents() = 0;
00045 
00046       virtual bool isComplete() const;
00047 
00048       virtual void postGuiSetup(const std::vector<makVrv::DtSimEntry*>& data);
00049 
00050    protected slots:
00051       virtual void accept();
00052       virtual void cancel();
00053 
00054    public:
00055       QVBoxLayout*   myMainLayout;
00056       QPushButton*   myOKButton;
00057       QPushButton*   myCancelButton;
00058       QHBoxLayout*   myButtonLayout;
00059    };
00060 }

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)