Authentication dialog for uploading files to the cloud (via Kloudess API).
More...
Authentication dialog for uploading files to the cloud (via Kloudess API).
◆ __init__()
def pycross.forms.KloudlessAuthDialog.__init__ |
( |
|
self, |
|
|
|
on_gettoken, |
|
|
|
parent = None , |
|
|
|
flags = QtCore.Qt.WindowFlags() |
|
) |
| |
Constructor.
- Parameters
-
on_gettoken | callable callback function to get a valid user token (callback takes no arguments and implies that the user will authorize online and paste the token string from the web browser into the dialog) |
parent | QtWidgets.QWidget parent widget (default = None , i.e. no parent) |
flags | QtCore.Qt.WindowFlags Qt window flags |
◆ addMainLayout()
def pycross.forms.KloudlessAuthDialog.addMainLayout |
( |
|
self | ) |
|
◆ initUI()
def pycross.forms.KloudlessAuthDialog.initUI |
( |
|
self, |
|
|
|
geometry = None , |
|
|
|
title = None , |
|
|
|
icon = None |
|
) |
| |
◆ btn_cancel
pycross.forms.KloudlessAuthDialog.btn_cancel |
◆ btn_gettoken
pycross.forms.KloudlessAuthDialog.btn_gettoken |
◆ btn_OK
pycross.forms.KloudlessAuthDialog.btn_OK |
◆ layout_bottom
pycross.forms.KloudlessAuthDialog.layout_bottom |
◆ layout_controls
pycross.forms.KloudlessAuthDialog.layout_controls |
◆ layout_main
pycross.forms.KloudlessAuthDialog.layout_main |
◆ le_token
pycross.forms.KloudlessAuthDialog.le_token |
◆ on_gettoken
pycross.forms.KloudlessAuthDialog.on_gettoken |
The documentation for this class was generated from the following file: