qtable1.h

Ir a la documentación de este archivo.
00001 /***************************************************************************
00002                           qtable1.h  -  description
00003                              -------------------
00004     begin                : Mon Jan 13 2003
00005     copyright            : (C) 2003 by Tomeu Borrás Riera
00006     email                : tborras@conetxia.com
00007  ***************************************************************************/
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef QTABLE1_H
00018 #define QTABLE1_H
00019 
00020 #include <qtable.h>
00021 
00025 class QTableItem1 : public QTableItem {
00026 public:
00027    int modo;
00028 public:
00029 QTableItem1(QTable *table ,EditType et ,const QString &text, int mode): QTableItem(table, et, text) {modo=mode;}
00030 void paint( QPainter *p, const QColorGroup &cg, const QRect &cr, bool selected );
00031 };
00032 
00033 
00034 
00035 class QTable1 : public QTable{
00036   Q_OBJECT
00037 public:
00038    int modo; // Indica el modo de dibujo.
00039 public:
00040   QTable1(QWidget * parent = 0, const char * name = 0 );
00041   void sortColumn ( int col, bool ascending = TRUE, bool wholeRows = TRUE );
00042   QWidget *beginEdit (int, int, bool);
00043    virtual bool eventFilter( QObject *obj, QEvent *event );
00044    virtual void setItem(int, int, QTableItem *);
00045    void  paintCell ( QPainter * , int , int , const QRect &, bool  );
00046 signals:
00047    void pulsadomas(int, int, int);  
00048 };
00049 
00050 #endif
00051 

Generado el Sat May 21 00:04:45 2005 para BulmaGes por  doxygen 1.4.2