qmm.common module¶
-
qmm.common.settings_are_set()[source]¶ Returns False if either ‘local_repository’ or ‘game_folder’ isn’t set.
-
qmm.common.timestamp_to_string(timestamp)[source]¶ Takes a UNIX timestamp and return a vernacular date.
-
qmm.common.valid_suffixes(output_format='qfiledialog') → Union[List[str], Tuple[str, str, str], bool][source]¶ Properly format a list of filters for QFileDialog.
Parameters: output_format – Accepts either ‘qfiledialog’ or ‘pathlib’. ‘pathlib’ returns a simple list of suffixes, whereas ‘qfiledialog’ format the output to be an acceptable filter for QFileDialog. Returns: list