ICS

QicsTable Documentation Set

QicsRepeatingCellStyle.h

Go to the documentation of this file.
00001 /*********************************************************************
00002 **
00003 ** Copyright (C) 2002-2006 Integrated Computer Solutions, Inc
00004 ** All rights reserved.
00005 **
00006 ** This file is part of the QicsTable Product.
00007 **
00008 **********************************************************************/
00009 
00010 #ifndef _QicsRepeatingCellStyle_H
00011 #define _QicsRepeatingCellStyle_H
00012 
00013 #include <QicsCellStyle.h>
00014 #include <QVector>
00015 class QicsTable;
00016 #include <QDomElement>
00018 
00021 
00022 class QicsRepeatingCellStyle : public QicsCellStyle
00023 {
00024 public:
00025     QicsRepeatingCellStyle(QicsIndexType type, int start,
00026                unsigned int interval);
00027 
00028     inline QicsIndexType type(void) const
00029     { return myType; };
00030 
00031     inline int start(void) const
00032     { return myStart; }
00033 
00034     inline unsigned int interval(void) const
00035     { return myInterval; }
00036 
00037    virtual QDomElement toDomXml(QString tag, QDomDocument* doc) const;
00038 
00039    virtual void configureFromDomXml(const QDomElement&, QicsTable *table);
00040 
00041 protected:
00042     QicsIndexType myType;
00043     int myStart;
00044     unsigned int myInterval;
00045 };
00046 
00047 typedef QVector<QicsRepeatingCellStyle *> QicsRepeatingCellStylePV;
00048 
00049 #endif /* _QicsRepeatingCellStyle_H */

All trademarks and copyrights on this page are properties of their respective owners.
The rest is copyright 1999-2006 Integrated Computer Solutions, Inc.