adsfolio.gui.token_dialog
Desktop token setup using the existing per-user configuration.
- class adsfolio.gui.token_dialog.TokenDialog(parent=None)[source]
Bases:
PySide6.QtWidgets.QDialogSave an ADS token and optionally test it with one ADS search.
Saving makes no network request. Test Token sends one search request to ADS with the pasted token, or with the active token when the field is empty.
- Parameters:
parent (QWidget, optional) – Parent window. Cancel leaves the existing token unchanged.
- done(result)[source]
Abort a running token test when the dialog closes.
- Parameters:
result (int)
- Return type:
None
- staticMetaObject = PySide6.QtCore.QMetaObject("TokenDialog" inherits "QDialog": Methods: #41 type=Slot, signature=test_token() #42 type=Slot, signature=_test_finished() )