QGIS API Documentation
4.3.0-Master (0ad0cdb9438)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
auth
qgsautheditorwidgets.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsautheditorwidgets.h
3
---------------------
4
begin : April 26, 2015
5
copyright : (C) 2015 by Boundless Spatial, Inc. USA
6
author : Larry Shaffer
7
email : lshaffer at boundlessgeo dot com
8
***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
17
#ifndef QGSAUTHEDITORWIDGETS_H
18
#define QGSAUTHEDITORWIDGETS_H
19
20
#include "ui_qgsautheditorwidgets.h"
21
#include "ui_qgsauthmethodplugins.h"
22
23
#include "qgis_gui.h"
24
#include "
qgis_sip.h
"
25
26
#include <QWidget>
27
32
class
GUI_EXPORT
QgsAuthMethodPlugins
:
public
QDialog,
private
Ui::QgsAuthMethodPlugins
33
{
34
Q_OBJECT
35
36
public
:
41
explicit
QgsAuthMethodPlugins
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
42
43
private
slots:
44
void
populateTable();
45
46
private
:
47
void
setupTable();
48
49
QVBoxLayout *mAuthNotifyLayout =
nullptr
;
50
QLabel *mAuthNotify =
nullptr
;
51
};
52
53
58
class
GUI_EXPORT
QgsAuthEditorWidgets
:
public
QWidget,
private
Ui::QgsAuthEditors
59
{
60
Q_OBJECT
61
62
public
:
67
explicit
QgsAuthEditorWidgets
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
68
69
private
slots:
70
void
btnCertManager_clicked();
71
void
btnAuthPlugins_clicked();
72
74
void
importAuthenticationConfigs();
75
77
void
exportSelectedAuthenticationConfigs();
78
80
void
setMasterPassword();
81
83
void
clearCachedMasterPassword();
84
86
void
resetMasterPassword();
87
89
void
clearCachedAuthenticationConfigs();
90
92
void
removeAuthenticationConfigs();
93
95
void
eraseAuthenticationDatabase();
96
98
void
authMessageLog(
const
QString &message,
const
QString &authtag,
Qgis::MessageLevel
level );
99
101
void
passwordHelperDelete();
102
104
void
passwordHelperEnableTriggered();
105
107
void
passwordHelperLoggingEnableTriggered();
108
109
private
:
110
void
setupUtilitiesMenu();
111
112
QgsMessageBar
*messageBar();
113
114
QMenu *mAuthUtilitiesMenu =
nullptr
;
115
QAction *mActionExportSelectedAuthenticationConfigs =
nullptr
;
116
QAction *mActionImportAuthenticationConfigs =
nullptr
;
117
QAction *mActionSetMasterPassword =
nullptr
;
118
QAction *mActionClearCachedMasterPassword =
nullptr
;
119
QAction *mActionResetMasterPassword =
nullptr
;
120
QAction *mActionClearCachedAuthConfigs =
nullptr
;
121
QAction *mActionRemoveAuthConfigs =
nullptr
;
122
QAction *mActionEraseAuthDatabase =
nullptr
;
123
QAction *mActionPasswordHelperDelete =
nullptr
;
124
QAction *mActionPasswordHelperEnable =
nullptr
;
125
QAction *mActionPasswordHelperLoggingEnable =
nullptr
;
126
QAction *mActionClearAccessCacheNow =
nullptr
;
127
QAction *mActionAutoClearAccessCache =
nullptr
;
128
};
129
130
#endif
// QGSAUTHEDITORWIDGETS_H
Qgis::MessageLevel
MessageLevel
Level for messages This will be used both for message log and message bar in application.
Definition
qgis.h:160
QgsAuthEditorWidgets::QgsAuthEditorWidgets
QgsAuthEditorWidgets(QWidget *parent=nullptr)
Construct a widget to contain various authentication editors.
Definition
qgsautheditorwidgets.cpp:114
QgsAuthMethodPlugins::QgsAuthMethodPlugins
QgsAuthMethodPlugins(QWidget *parent=nullptr)
Construct a dialog for viewing available authentication method plugins.
Definition
qgsautheditorwidgets.cpp:40
QgsMessageBar
A bar for displaying non-blocking messages to the user.
Definition
qgsmessagebar.h:61
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:52
Generated on
for QGIS API Documentation by
1.17.0