QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
qgsexpressionaddfunctionfiledialog.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsexpressionaddfunctionfiledialog.h
3 ---------------------
4 begin : May 2024
5 copyright : (C) 2024 by Germán Carrillo
6 email : german at opengis dot ch
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSEXPRESSIONADDFUNCTIONFILEDIALOG_H
17#define QGSEXPRESSIONADDFUNCTIONFILEDIALOG_H
18#define SIP_NO_FILE
19
20#include "ui_qgsexpressionaddfunctionfiledialogbase.h"
21
22#include "qgis_gui.h"
23
24#include <QDialog>
25
31class GUI_EXPORT QgsExpressionAddFunctionFileDialog : public QDialog, private Ui::QgsExpressionAddFunctionFileDialogBase
32{
33 Q_OBJECT
34 public:
43 QgsExpressionAddFunctionFileDialog( bool enableProjectFunctions, QWidget *parent );
44
48 bool createProjectFunctions() const;
49
53 QString fileName();
54
55 private slots:
56 void cboFileOptions_currentIndexChanged( int );
57
58 private:
59 void updateOkButtonStatus();
60};
61
62#endif // QGSEXPRESSIONADDFUNCTIONFILEDIALOG_H
QgsExpressionAddFunctionFileDialog(bool enableProjectFunctions, QWidget *parent)
Creates a QgsExpressionAddFunctionFileDialog to create function files or to set the current project a...
bool createProjectFunctions() const
Returns whether user has selected to create project functions.