QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
auth
qgsauthmasterpassresetdialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsauthmasterpassresetdialog.h
3
---------------------
4
begin : September 10, 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 QGSAUTHMASTERPASSWORDRESETDIALOG_H
18
#define QGSAUTHMASTERPASSWORDRESETDIALOG_H
19
20
#include "ui_qgsauthmasterpassresetdialog.h"
21
22
#include "qgis_gui.h"
23
24
#include <QDialog>
25
26
#define SIP_NO_FILE
27
28
class
QLabel;
29
class
QVBoxLayout;
30
class
QgsMessageBar
;
31
32
39
class
GUI_EXPORT
QgsMasterPasswordResetDialog
:
public
QDialog,
private
Ui::QgsMasterPasswordResetDialog
40
{
41
Q_OBJECT
42
43
public
:
44
explicit
QgsMasterPasswordResetDialog
( QWidget *parent =
nullptr
);
45
49
QgsPasswordLineEdit
*
oldPasswordLineEdit
();
50
51
bool
requestMasterPasswordReset
( QString *newpass, QString *oldpass,
bool
*keepbackup );
52
53
private
slots:
54
void
validatePasswords();
55
56
private
:
57
QVBoxLayout *mAuthNotifyLayout =
nullptr
;
58
QLabel *mAuthNotify =
nullptr
;
59
};
60
61
#endif
// QGSAUTHMASTERPASSWORDRESETDIALOG_H
QgsMasterPasswordResetDialog::QgsMasterPasswordResetDialog
QgsMasterPasswordResetDialog(QWidget *parent=nullptr)
Definition
qgsauthmasterpassresetdialog.cpp:32
QgsMasterPasswordResetDialog::requestMasterPasswordReset
bool requestMasterPasswordReset(QString *newpass, QString *oldpass, bool *keepbackup)
Definition
qgsauthmasterpassresetdialog.cpp:70
QgsMasterPasswordResetDialog::oldPasswordLineEdit
QgsPasswordLineEdit * oldPasswordLineEdit()
Returns the old password line edit widget.
Definition
qgsauthmasterpassresetdialog.cpp:65
QgsMessageBar
A bar for displaying non-blocking messages to the user.
Definition
qgsmessagebar.h:61
QgsPasswordLineEdit
QLineEdit subclass with built in support for showing/hiding the entered password.
Definition
qgspasswordlineedit.h:33
Generated on
for QGIS API Documentation by
1.17.0