QGIS API Documentation 3.41.0-Master (45a0abf3bec)
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 "qgis_gui.h"
21#include <QDialog>
22#include "ui_qgsexpressionaddfunctionfiledialogbase.h"
23
29class GUI_EXPORT QgsExpressionAddFunctionFileDialog : public QDialog, private Ui::QgsExpressionAddFunctionFileDialogBase
30{
31 Q_OBJECT
32 public:
33
42 QgsExpressionAddFunctionFileDialog( bool enableProjectFunctions, QWidget *parent );
43
47 bool createProjectFunctions() const;
48
52 QString fileName();
53
54 private slots:
55 void cboFileOptions_currentIndexChanged( int );
56
57 private:
58 void updateOkButtonStatus();
59};
60
61#endif // QGSEXPRESSIONADDFUNCTIONFILEDIALOG_H
A dialog to select whether to create a function file or project functions.