QGIS API Documentation 3.99.0-Master (7d2ca374f2d)
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
19#include "ui_qgsexpressionaddfunctionfiledialogbase.h"
20
21#include "qgis_gui.h"
22
23#include <QDialog>
24
25#define SIP_NO_FILE
26
32class GUI_EXPORT QgsExpressionAddFunctionFileDialog : public QDialog, private Ui::QgsExpressionAddFunctionFileDialogBase
33{
34 Q_OBJECT
35 public:
44 QgsExpressionAddFunctionFileDialog( bool enableProjectFunctions, QWidget *parent );
45
49 bool createProjectFunctions() const;
50
54 QString fileName();
55
56 private slots:
57 void cboFileOptions_currentIndexChanged( int );
58
59 private:
60 void updateOkButtonStatus();
61};
62
63#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.