Quantum GIS API Documentation
1.7.4
|
00001 /*************************************************************************** 00002 qgisgui.h - Constants used throughout the QGIS GUI. 00003 -------------------------------------- 00004 Date : 11-Jan-2006 00005 Copyright : (C) 2006 by Tom Elwertowski 00006 Email : telwertowski at users dot sourceforge dot net 00007 *************************************************************************** 00008 * * 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; either version 2 of the License, or * 00012 * (at your option) any later version. * 00013 * * 00014 ***************************************************************************/ 00015 /* $Id$ */ 00016 #ifndef QGISGUI_H 00017 #define QGISGUI_H 00018 00019 #include <Qt> 00020 #include <QPair> 00021 00022 class QStringList; 00023 00028 namespace QgisGui 00029 { 00030 00048 static const Qt::WFlags ModalDialogFlags = 0; 00049 00075 bool GUI_EXPORT openFilesRememberingFilter( QString const &filterName, 00076 QString const &filters, QStringList & selectedFiles, QString& enc, QString &title, 00077 bool cancelAll = false ); 00078 00087 QPair<QString, QString> GUI_EXPORT getSaveAsImageName( QWidget * theParent, QString theMessage ); 00088 00100 QString createFileFilter_( QString const &longName, QString const &glob ); 00101 } 00102 00103 #endif