ICS

QicsTable Documentation Set

QicsColumnHeader.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 _QicsColumnHeader_H
00011 #define _QicsColumnHeader_H
00012 
00013 #include <QicsHeader.h>
00014 
00015 #ifdef CREATE_OBJS_WITH_QICSTABLE
00016 class QicsTable;
00017 #endif
00018 
00020 
00061 
00062 
00065 
00066 
00067 class QICS_EXPORT QicsColumnHeader: public QicsHeader {
00068 Q_OBJECT
00069 
00070     friend class QicsTableCommon;
00071 
00072 public:
00073 
00083     int numRows;
00085 
00086 public:
00087 #ifdef CREATE_OBJS_WITH_QICSTABLE
00088 
00095     QicsColumnHeader(QicsTable *table);
00096 #endif
00097 
00101     virtual ~QicsColumnHeader();
00102 
00106     int numRows(void) const;
00107 
00112     void setDefaultRowHeightInPixels(int height);
00113 
00118     void setDefaultRowHeightInChars(int height);
00119 
00124     void setDefaultColumnWidthInPixels(int width);
00125 
00130     void setDefaultColumnWidthInChars(int width);
00131 
00132 
00133 public slots:
00137     void setNumRows(int num);
00138 
00139 protected:
00143     QicsColumnHeader(QicsGridInfo *info, QObject *parent = 0,
00144              bool forward_signals = false);
00145 
00146 private:
00147 #ifdef Q_DISABLE_COPY
00148     QicsColumnHeader(const QicsColumnHeader& ch);
00149     QicsColumnHeader &operator=(const QicsColumnHeader& ch);
00150 #endif
00151 };
00152 
00153 #endif /* _QicsColumnHeader_H --- Do not add anything past this line */
00154  

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