class documentation
CheckForUpdates_Dialog class.
| Static Method | parse |
Extracts and parses the version number from the raw Version.py contents. |
| Static Method | remote |
Gets the contents of a remote file. |
| Method | __init__ |
Initializes the dialog. |
| Method | check |
Checks for updates. |
Inherited from QDialog2:
| Method | show |
Shows this dialog. |
| Method | show |
Gets called when the dialog is opened. |
| Instance Variable | user |
Undocumented |
Inherited from QLayouted (via QDialog2):
| Method | add |
Adds buttons. |
| Method | add |
Adds layout. |
| Method | add |
Adds spacing. |
| Method | add |
Adds widget. |
| Method | install |
Installs this layout in the parent. |
| Instance Variable | _layout |
Undocumented |
Extracts and parses the version number from the raw Version.py contents.
| Parameters | |
contents:str | Contents |
| Returns | |
str | None | Version string if successful, None otherwise |
Gets the contents of a remote file.
| Parameters | |
url:str | URL |
timeout:int | Timeout (s) |
| Returns | |
str | None | Contents if successful, None otherwise |