Skip to content
Permalink
Browse files

sipify gui auth classes

  • Loading branch information
3nids committed May 31, 2017
1 parent 77cd7af commit 7e52f06ad28f8e8dab425dfe2d1bc3f94be5ab3b
@@ -187,22 +187,6 @@ gui/attributetable/qgsfeatureselectionmodel.sip
gui/attributetable/qgsfieldconditionalformatwidget.sip
gui/attributetable/qgsifeatureselectionmanager.sip
gui/attributetable/qgsorganizetablecolumnsdialog.sip
gui/auth/qgsauthauthoritieseditor.sip
gui/auth/qgsauthcertificateinfo.sip
gui/auth/qgsauthcertificatemanager.sip
gui/auth/qgsauthcerttrustpolicycombobox.sip
gui/auth/qgsauthconfigeditor.sip
gui/auth/qgsauthconfigselect.sip
gui/auth/qgsautheditorwidgets.sip
gui/auth/qgsauthidentitieseditor.sip
gui/auth/qgsauthimportcertdialog.sip
gui/auth/qgsauthimportidentitydialog.sip
gui/auth/qgsauthmethodedit.sip
gui/auth/qgsauthserverseditor.sip
gui/auth/qgsauthsslconfigwidget.sip
gui/auth/qgsauthsslerrorsdialog.sip
gui/auth/qgsauthsslimportdialog.sip
gui/auth/qgsauthtrustedcasdialog.sip
gui/layertree/qgscustomlayerorderwidget.sip
gui/layertree/qgslayertreeembeddedconfigwidget.sip
gui/layertree/qgslayertreeembeddedwidgetregistry.sip
@@ -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 *
************************************************************************/
@@ -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 *
************************************************************************/
@@ -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 *
************************************************************************/
@@ -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 *
************************************************************************/
@@ -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 *
************************************************************************/

0 comments on commit 7e52f06

Please sign in to comment.
You can’t perform that action at this time.