QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
qgsprojecttrustdialog.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsprojecttrustdialog.h
3 -------------------
4 begin : October 2025
5 copyright : (C) 2025 by Mathieu Pellerin
6 email : mathieu at opengis dot ch
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17#ifndef QGSPROJECTTRUSTDIALOG_H
18#define QGSPROJECTTRUSTDIALOG_H
19
20#include "ui_qgsprojecttrustdialog.h"
21
22#include "qgis_gui.h"
23#include "qgsguiutils.h"
24#include "qgsobjectvisitor.h"
25#include "qgsproject.h"
26
32class GUI_EXPORT QgsProjectTrustDialog : public QDialog, private Ui::QgsProjectTrustDialog
33{
34 Q_OBJECT
35 public:
37 QgsProjectTrustDialog( QgsProject *project, QWidget *parent SIP_TRANSFERTHIS = nullptr, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
38
39 private slots:
40 void buttonBoxClicked( QAbstractButton *button );
41 void showHelp();
42
43 private:
44 bool mProjectIsFile = true;
45 QString mProjectAbsoluteFilePath;
46 QString mProjectAbsolutePath;
47
48 QgsEmbeddedScriptVisitor mEmbeddedScriptsVisitor;
49};
50
51#endif
An object entity visitor to collect embedded scripts wthin a project and its layers.
QgsProjectTrustDialog(QgsProject *project, QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
Constructor for QgsProjectTrustDialog using the specified project instance.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Definition qgsproject.h:109
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53