Skip to main content

grants.qt.auto_login

ShouldWeSaveThisAsDefault Objects

class ShouldWeSaveThisAsDefault(QtWidgets.QDialog)

A dialog that asks the user if they want to save the user as the default user.

__init__

def __init__(stored: StoredUser, *args, **kwargs) -> None

Creates a new ShouldWeSaveThisAsDefault dialog

AutoLoginWidget Objects

class AutoLoginWidget(QtWidgets.QWidget)

A Qt widget for auto login.

This widget can be used by the AutoLoginGrant to show the login widget and ask the user if they want to save the user.

__init__

def __init__(*args, **kwargs) -> None

Creates a new AutoLoginWidget

ashould_we_save

async def ashould_we_save(store: StoredUser) -> bool

Should ask the user if we should save the user