-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
853 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,45 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/auth/qgsauthauthoritieseditor.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
class QgsAuthAuthoritiesEditor : QWidget | ||
{ | ||
%Docstring | ||
Widget for viewing and editing authentication identities database | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include <qgsauthauthoritieseditor.h> | ||
#include "qgsauthauthoritieseditor.h" | ||
%End | ||
public: | ||
|
||
explicit QgsAuthAuthoritiesEditor( QWidget *parent /TransferThis/ = 0 ); | ||
~QgsAuthAuthoritiesEditor(); | ||
%Docstring | ||
Widget for viewing and editing certificate authorities directly in database | ||
\param parent Parent widget | ||
%End | ||
|
||
protected: | ||
virtual void showEvent( QShowEvent *e ); | ||
|
||
%Docstring | ||
Overridden show event of base widget | ||
%End | ||
|
||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/auth/qgsauthauthoritieseditor.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,83 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/auth/qgsauthcertificateinfo.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
|
||
class QgsAuthCertInfo : QWidget | ||
{ | ||
%Docstring | ||
Widget for viewing detailed info on a certificate and its hierarchical trust chain | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include <qgsauthcertificateinfo.h> | ||
#include "qgsauthcertificateinfo.h" | ||
%End | ||
public: | ||
explicit QgsAuthCertInfo( const QSslCertificate& cert, | ||
explicit QgsAuthCertInfo( const QSslCertificate &cert, | ||
bool manageCertTrust = false, | ||
QWidget *parent /TransferThis/ = 0, | ||
const QList<QSslCertificate> &connectionCAs = QList<QSslCertificate>() ); | ||
~QgsAuthCertInfo(); | ||
|
||
bool trustCacheRebuilt(); | ||
%Docstring | ||
:rtype: bool | ||
%End | ||
|
||
}; | ||
|
||
//////////////// Embed in dialog /////////////////// | ||
|
||
class QgsAuthCertInfoDialog : QDialog | ||
{ | ||
%TypeHeaderCode | ||
#include <qgsauthcertificateinfo.h> | ||
%Docstring | ||
Dialog wrapper for widget displaying detailed info on a certificate and its hierarchical trust chain | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsauthcertificateinfo.h" | ||
%End | ||
public: | ||
explicit QgsAuthCertInfoDialog( const QSslCertificate& cert, | ||
|
||
explicit QgsAuthCertInfoDialog( const QSslCertificate &cert, | ||
bool manageCertTrust, | ||
QWidget *parent /TransferThis/ = 0, | ||
const QList<QSslCertificate> &connectionCAs = QList<QSslCertificate>() ); | ||
~QgsAuthCertInfoDialog(); | ||
%Docstring | ||
Construct a dialog displaying detailed info on a certificate and its hierarchical trust chain | ||
\param cert Certificate object | ||
\param manageCertTrust Whether to show widgets to manage the trust policy of certs in hierarchy | ||
\param parent Parent widget | ||
\param connectionCAs List of hierarchical certificates in a connection | ||
%End | ||
|
||
QgsAuthCertInfo *certInfoWidget(); | ||
%Docstring | ||
Get access to embedded info widget | ||
:rtype: QgsAuthCertInfo | ||
%End | ||
|
||
bool trustCacheRebuilt(); | ||
%Docstring | ||
Whether the trust cache has been rebuilt | ||
.. note:: | ||
|
||
This happens when a trust policy has been adjusted for any cert in the hierarchy | ||
:rtype: bool | ||
%End | ||
|
||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/auth/qgsauthcertificateinfo.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,65 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/auth/qgsauthcertificatemanager.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
class QgsAuthCertEditors : QWidget | ||
{ | ||
%TypeHeaderCode | ||
#include <qgsauthcertificatemanager.h> | ||
%Docstring | ||
Wrapper widget to manage available certificate editors | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsauthcertificatemanager.h" | ||
%End | ||
public: | ||
|
||
explicit QgsAuthCertEditors( QWidget *parent /TransferThis/ = 0 ); | ||
%Docstring | ||
Construct a widget to contain various certificate editors | ||
\param parent Parent widget | ||
%End | ||
|
||
~QgsAuthCertEditors(); | ||
}; | ||
|
||
|
||
|
||
class QgsAuthCertManager : QDialog | ||
{ | ||
%TypeHeaderCode | ||
#include <qgsauthcertificatemanager.h> | ||
%Docstring | ||
Dialog wrapper for widget to manage available certificate editors | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsauthcertificatemanager.h" | ||
%End | ||
public: | ||
explicit QgsAuthCertManager( QWidget *parent /TransferThis/ = 0 ); | ||
|
||
~QgsAuthCertManager(); | ||
explicit QgsAuthCertManager( QWidget *parent /TransferThis/ = 0 ); | ||
%Docstring | ||
Construct a dialog wrapper for widget to manage available certificate editors | ||
\param parent Parent widget | ||
%End | ||
|
||
QgsAuthCertEditors *certEditorsWidget(); | ||
%Docstring | ||
Get access to embedded editors widget | ||
:rtype: QgsAuthCertEditors | ||
%End | ||
|
||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/auth/qgsauthcertificatemanager.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,64 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/auth/qgsauthcerttrustpolicycombobox.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
class QgsAuthCertTrustPolicyComboBox : QComboBox | ||
{ | ||
%TypeHeaderCode | ||
#include <qgsauthcerttrustpolicycombobox.h> | ||
%Docstring | ||
Widget for editing the trust policy associated with a Certificate (Intermediate) Authority | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsauthcerttrustpolicycombobox.h" | ||
%End | ||
public: | ||
|
||
explicit QgsAuthCertTrustPolicyComboBox( | ||
QWidget *parent /TransferThis/ = 0, | ||
QgsAuthCertUtils::CertTrustPolicy policy = QgsAuthCertUtils::DefaultTrust, | ||
QgsAuthCertUtils::CertTrustPolicy defaultpolicy = QgsAuthCertUtils::DefaultTrust ); | ||
~QgsAuthCertTrustPolicyComboBox(); | ||
QWidget *parent /TransferThis/ = 0, | ||
QgsAuthCertUtils::CertTrustPolicy policy = QgsAuthCertUtils::DefaultTrust, | ||
QgsAuthCertUtils::CertTrustPolicy defaultpolicy = QgsAuthCertUtils::DefaultTrust ); | ||
%Docstring | ||
Construct a combo box for defining certificate trust policy | ||
\param parent Parent widget | ||
\param policy Defined trust policy | ||
\param defaultpolicy Default trust policy | ||
%End | ||
|
||
QgsAuthCertUtils::CertTrustPolicy trustPolicy(); | ||
%Docstring | ||
Get currently set trust policy | ||
:rtype: QgsAuthCertUtils.CertTrustPolicy | ||
%End | ||
|
||
QgsAuthCertUtils::CertTrustPolicy trustPolicyForIndex( int indx ); | ||
%Docstring | ||
Get trust policy for a given index of combobox | ||
:rtype: QgsAuthCertUtils.CertTrustPolicy | ||
%End | ||
|
||
public slots: | ||
void setTrustPolicy( QgsAuthCertUtils::CertTrustPolicy policy ); | ||
%Docstring | ||
Set current trust policy | ||
%End | ||
|
||
void setDefaultTrustPolicy( QgsAuthCertUtils::CertTrustPolicy defaultpolicy ); | ||
%Docstring | ||
Set default trust policy | ||
%End | ||
|
||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/auth/qgsauthcerttrustpolicycombobox.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,56 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/auth/qgsauthconfigeditor.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
class QgsAuthConfigEditor : QWidget | ||
{ | ||
%TypeHeaderCode | ||
#include <qgsauthconfigeditor.h> | ||
%Docstring | ||
Widget for editing authentication configuration database | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsauthconfigeditor.h" | ||
%End | ||
public: | ||
|
||
explicit QgsAuthConfigEditor( QWidget *parent /TransferThis/ = 0, bool showUtilities = true, bool relayMessages = true ); | ||
~QgsAuthConfigEditor(); | ||
%Docstring | ||
Widget for editing authentication configurations directly in database | ||
\param parent Parent widget | ||
\param showUtilities Whether to show the widget's utilities button | ||
\param relayMessages Whether to relay auth manager messages to internal message bar | ||
%End | ||
|
||
void toggleTitleVisibility( bool visible ); | ||
%Docstring | ||
Hide the widget's title, e.g. when embedding | ||
%End | ||
|
||
public slots: | ||
|
||
void setShowUtilitiesButton( bool show = true ); | ||
%Docstring | ||
Set whether to show the widget's utilities button, e.g. when embedding | ||
%End | ||
|
||
void setRelayMessages( bool relay = true ); | ||
%Docstring | ||
Set whether to relay auth manager messages to internal message bar, e.g. when embedding | ||
%End | ||
|
||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/gui/auth/qgsauthconfigeditor.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
Oops, something went wrong.