QTimeSeries Homepage

Main Page   Alphabetical List   Compound List   File List   Compound Members  

qts_tableview.h

00001 /*****************************************************************************
00002 **  $Id: qts_tableview.h,v 1.2 2002/10/01 18:07:13 andrew23 Exp $
00003 **
00004 **  This is part of the QCad GUI
00005 **  Copyright (C) 2001 Andrew Mustun
00006 **
00007 **  This program is free software; you can redistribute it and/or modify
00008 **  it under the terms of the GNU General Public License (version 2) as
00009 **  published by the Free Software Foundation.
00010 **
00011 **  This program is distributed in the hope that it will be useful,
00012 **  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 **  GNU General Public License for more details.
00015 **
00016 **  You should have received a copy of the GNU General Public License
00017 **  along with this program; if not, write to the Free Software
00018 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019 ******************************************************************************/
00020 
00021 #ifndef QTS_TABLEVIEW_H
00022 #define QTS_TABLEVIEW_H
00023 
00024 #include "qts_defines.h"
00025 
00026 #ifndef QTS_NO_TABLEVIEW
00027 
00028 #include <qtable.h>
00029 
00030 #include "qts_document.h"
00031 
00035 class QTS_TableView : public QTable {
00036     Q_OBJECT
00037 
00038 public:
00039     QTS_TableView(QTS_Document* document, QWidget* parent=0);
00040     virtual ~QTS_TableView();
00041 
00042     void updateFromDocument();
00043 
00044 private slots:
00045         void slotValueChanged(int row, int col);
00046 
00047 signals:
00048         void recordChanged(QTS_Record*);
00049 
00050 private:
00051     QTS_Document* document;
00052 };
00053 
00054 #endif
00055 
00056 #endif
00057 

Copyright © 2002, Andrew Mustun <andrew@mustun.com>. All rights reserved.
System documentation was generated using doxygen.