src/app/qgsaddattrdialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                          qgsaddattrdialog.h  -  description
00003                              -------------------
00004     begin                : January 2005
00005     copyright            : (C) 2005 by Marco Hugentobler
00006     email                : marco.hugentobler@autoform.ch
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef QGSADDATTRDIALOG_H
00019 #define QGSADDATTRDIALOG_H
00020 
00021 #include "ui_qgsaddattrdialogbase.h"
00022 #include "qgisgui.h"
00023 
00024 class QgsVectorDataProvider;
00025 
00026 class QgsAddAttrDialog: public QDialog, private Ui::QgsAddAttrDialogBase
00027 {
00028     Q_OBJECT
00029   public:
00030     QgsAddAttrDialog( QgsVectorDataProvider* provider,
00031                       QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
00032     QgsAddAttrDialog( const std::list<QString>& typelist,
00033                       QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
00034     QString name() const;
00035     QString type() const;
00036   protected:
00037     QgsVectorDataProvider* mDataProvider;
00038 };
00039 
00040 #endif

Generated on Tue Oct 28 16:51:25 2008 for Quantum GIS API Documentation by  doxygen 1.5.1