MAK RTIspy API Documentation for HLA 1516
genericConfigDialog.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2006 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: genericConfigDialog.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *********************************************************************/
00008 
00009 #ifndef genericConfigDialog_H_
00010 #define genericConfigDialog_H_
00011 
00012 #include <rtiMsConfig.h>
00013 #include <QtGui/QDialog>
00014 #include "commonWidgets/propertyEditView.h"
00015 
00016 class Ui_genericConfigDialogUi;
00017 using MAKCommonWidgets::DtProperty;
00018 
00019 
00024 class DT_DLL_ASSISTANTAPP DtGenericConfigDialog : public QDialog
00025 {
00026    Q_OBJECT
00027 
00028 public:
00029 
00031    DtGenericConfigDialog(bool viewOnly, QWidget* parent = 0);
00032 
00034    ~DtGenericConfigDialog();
00035 
00037    void addProperty(const DtProperty& p);
00038 
00040    void addToProperty( const DtProperty& p );
00041 
00042    void setProperty(QString prop, int value);
00043    void setProperty(QString prop, QString value);
00044    void setProperty(QString prop, bool value);
00045    void setProperty(QString prop, double value);
00046    void setProperty(QString prop, const QStringList& value);
00047 
00048    virtual bool property(QString name,int& value) const;
00049    virtual bool property(QString name,QString& value) const;
00050    virtual bool property(QString name,double& value) const;
00051    virtual bool property(QString name,bool& value) const;
00052    virtual bool property(QString name,QStringList& value) const;
00053    virtual bool property(QString name) const;
00054 
00056    MAKCommonWidgets::DtPropertyEditView* propertyEditView();
00057    const MAKCommonWidgets::DtPropertyEditView* propertyEditView() const;
00058 
00059 
00060 protected:
00061    MAKCommonWidgets::DtPropertyEditView* myPropertyEditView;
00062    bool myViewOnly;
00063 
00065    virtual void init();
00066 
00067    Ui_genericConfigDialogUi* myImpl;
00068 };
00069 
00070 #endif

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)