Quantum GIS API Documentation
1.8
|
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 #ifndef QGISGUI_H 00016 #define QGISGUI_H 00017 00018 #include <Qt> 00019 #include <QPair> 00020 00021 class QStringList; 00022 00027 namespace QgisGui 00028 { 00029 00047 static const Qt::WFlags ModalDialogFlags = 0; 00048 00074 bool GUI_EXPORT openFilesRememberingFilter( QString const &filterName, 00075 QString const &filters, QStringList & selectedFiles, QString& enc, QString &title, 00076 bool cancelAll = false ); 00077 00086 QPair<QString, QString> GUI_EXPORT getSaveAsImageName( QWidget * theParent, QString theMessage ); 00087 00099 QString createFileFilter_( QString const &longName, QString const &glob ); 00100 } 00101 00102 #endif