QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Namespaces | Functions | Variables
qgisgui.h File Reference
#include <Qt>
#include <QPair>
#include <QWidget>
#include <QStringList>
Include dependency graph for qgisgui.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 /namespace QgisGui The QgisGui namespace contains constants and helper functions used throughout the QGIS GUI.


QString QgisGui::createFileFilter_ (QString const &longName, QString const &glob)
 Convenience function for readily creating file filters. More...
QString QgisGui::createFileFilter_ (QString const &format)
 Create file filters suitable for use with QFileDialog. More...
QFont QgisGui::getFont (bool &ok, const QFont &initial, const QString &title=QString())
 Show font selection dialog. More...
QPair< QString, QString > GUI_EXPORT QgisGui::getSaveAsImageName (QWidget *theParent, const QString &theMessage, const QString &defaultFilename=QString::null)
 A helper function to get an image name from the user. More...
bool GUI_EXPORT QgisGui::openFilesRememberingFilter (QString const &filterName, QString const &filters, QStringList &selectedFiles, QString &enc, QString &title, bool cancelAll=false)
 Open files, preferring to have the default file selector be the last one used, if any; also, prefer to start in the last directory associated with filterName. More...


static const double QgisGui::CANVAS_MAGNIFICATION_MAX = 16.0
 Maximum magnification level allowed in map canvases. More...
static const double QgisGui::CANVAS_MAGNIFICATION_MIN = 0.1
 Minimum magnification level allowed in map canvases. More...
static const Qt::WindowFlags QgisGui::ModalDialogFlags = nullptr