VR-Forces 4.0.4 Class Documentation
include/tmqt/echViewOptions.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2002 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: echViewOptions.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtEchelonViewOptions_H_
00013 #define DtEchelonViewOptions_H_
00014 
00015 #include <QtCore/QObject>
00016 
00018 #include "tmqt/tmqtDefines.h"
00019 class DT_DLL_tmqt DtEchelonViewOptions : public QObject
00020 {
00021    Q_OBJECT
00022 public:
00023 
00025    DtEchelonViewOptions(QObject *parent = NULL);   
00026 
00028    virtual ~DtEchelonViewOptions();
00029 
00031    virtual int nestingLevel() const;
00032 
00034    virtual bool ghostNestedComponents() const;
00035 
00037    virtual int displayLevel() const;
00038 
00039    virtual bool displayEchelonIdColumn() const;
00040 
00041 public:
00042 
00044    static DtEchelonViewOptions* create(QObject *parent);
00045 
00046 signals:
00047 
00049    void changed();
00050 
00051    void nestingLevelChanged(int);
00052    void ghostNestedComponentsChanged(bool);
00053    void displayLevelChanged(int);
00054    void displayEchelonIdColumnChanged(bool);
00055 
00056 public slots:
00057 
00058    virtual void setNestingLevel(int);
00059    virtual void setGhostNestedComponents(bool);
00060    virtual void setDisplayLevel(int);
00061    virtual void setDisplayEchelonIdColumn(bool);
00062 
00063 protected:
00065    DtEchelonViewOptions(const DtEchelonViewOptions& orig);
00066 
00068    DtEchelonViewOptions& operator=(const DtEchelonViewOptions& rhs);
00069 
00070 public:
00071    static const int theDefaultNestingLevel;
00072    static const bool theDefaultGhostNestedComponents;
00073    static const int theDefaultDisplayLevel;
00074    static const bool theDefaultDisplayEchelonIdColumn;
00075 
00076 protected:
00077    int myNestingLevel;
00078    bool myGhostNestedComponents;
00079    int myDisplayLevel;
00080    bool myDisplayEchelonIdColumn;
00081 };
00082 
00083 #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)