BaseWidget

Overview

The BaseWidget class is the base class of all pyforms applications.

API

class pyforms_terminal.basewidget.BaseWidget(*args, **kwargs)[source]

Bases: object

set_margin(margin)[source]
init_form(parse=True)[source]
execute()[source]
start_progress(total=100)[source]
update_progress()[source]
end_progress()[source]
message(msg, title=None, msg_type=None)[source]
success(msg, title=None)[source]
info(msg, title=None)[source]
warning(msg, title=None)[source]
alert(msg, title=None)[source]
critical(msg, title=None)[source]
about(msg, title=None)[source]
aboutQt(msg, title=None)[source]
executeCommand(cmd, cwd=None, env=None)[source]
exec_terminal_cmd(args, **kwargs)[source]
controls

Return all the form controls from the the module