~raoul-snyman/openlp/pyro-impress

« back to all changes in this revision

Viewing changes to openlp/core/widgets/dialogs.py

  • Committer: Raoul Snyman
  • Date: 2019-06-05 04:53:18 UTC
  • mfrom: (2700.2.174 openlp)
  • Revision ID: raoul@snyman.info-20190605045318-bd2hsvmgrf7f5qew
HEAD

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
        :type parent: QtWidgets.QWidget | None
35
35
        :type caption: str
36
 
        :type directory: openlp.core.common.path.Path
 
36
        :type directory: pathlib.Path
37
37
        :type options: QtWidgets.QFileDialog.Options
38
 
        :rtype: openlp.core.common.path.Path
 
38
        :rtype: pathlib.Path
39
39
        """
40
40
        args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),))
41
41
 
52
52
 
53
53
        :type parent: QtWidgets.QWidget | None
54
54
        :type caption: str
55
 
        :type directory: openlp.core.common.path.Path
 
55
        :type directory: pathlib.Path
56
56
        :type filter: str
57
57
        :type initialFilter: str
58
58
        :type options: QtWidgets.QFileDialog.Options
59
 
        :rtype: tuple[openlp.core.common.path.Path, str]
 
59
        :rtype: tuple[pathlib.Path, str]
60
60
        """
61
61
        args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),))
62
62
 
73
73
 
74
74
        :type parent: QtWidgets.QWidget | None
75
75
        :type caption: str
76
 
        :type directory: openlp.core.common.path.Path
 
76
        :type directory: pathlib.Path
77
77
        :type filter: str
78
78
        :type initialFilter: str
79
79
        :type options: QtWidgets.QFileDialog.Options
80
 
        :rtype: tuple[list[openlp.core.common.path.Path], str]
 
80
        :rtype: tuple[list[pathlib.Path], str]
81
81
        """
82
82
        args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),))
83
83
 
95
95
 
96
96
        :type parent: QtWidgets.QWidget | None
97
97
        :type caption: str
98
 
        :type directory: openlp.core.common.path.Path
 
98
        :type directory: pathlib.Path
99
99
        :type filter: str
100
100
        :type initialFilter: str
101
101
        :type options: QtWidgets.QFileDialog.Options
102
 
        :rtype: tuple[openlp.core.common.path.Path | None, str]
 
102
        :rtype: tuple[pathlib.Path | None, str]
103
103
        """
104
104
        args, kwargs = replace_params(args, kwargs, ((2, 'directory', path_to_str),))
105
105