QGIS API Documentation 3.41.0-Master (af5edcb665c)
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:
41 QgsExpressionAddFunctionFileDialog( bool enableProjectFunctions, QWidget *parent );
42
46 bool createProjectFunctions() const;
47
51 QString fileName();
52
53 private slots:
54 void cboFileOptions_currentIndexChanged( int );
55
56 private:
57 void updateOkButtonStatus();
58};
59
60#endif // QGSEXPRESSIONADDFUNCTIONFILEDIALOG_H
A dialog to select whether to create a function file or project functions.