forked from openlp/openlp
pep8 fixes
This commit is contained in:
parent
ad55a8d254
commit
1dc0b0a4b5
@ -46,16 +46,16 @@ class PathEdit(QtWidgets.QWidget):
|
|||||||
|
|
||||||
:param parent: The parent of the widget. This is just passed to the super method.
|
:param parent: The parent of the widget. This is just passed to the super method.
|
||||||
:type parent: QWidget or None
|
:type parent: QWidget or None
|
||||||
|
|
||||||
:param dialog_caption: Used to customise the caption in the QFileDialog.
|
:param dialog_caption: Used to customise the caption in the QFileDialog.
|
||||||
:param dialog_caption: str
|
:param dialog_caption: str
|
||||||
|
|
||||||
:param default_path: The default path. This is set as the path when the revert button is clicked
|
:param default_path: The default path. This is set as the path when the revert button is clicked
|
||||||
:type default_path: str
|
:type default_path: str
|
||||||
|
|
||||||
:param show_revert: Used to determin if the 'revert button' should be visible.
|
:param show_revert: Used to determin if the 'revert button' should be visible.
|
||||||
:type show_revert: bool
|
:type show_revert: bool
|
||||||
|
|
||||||
:return: None
|
:return: None
|
||||||
:rtype: None
|
:rtype: None
|
||||||
"""
|
"""
|
||||||
@ -72,7 +72,7 @@ class PathEdit(QtWidgets.QWidget):
|
|||||||
Set up the widget
|
Set up the widget
|
||||||
:param show_revert: Show or hide the revert button
|
:param show_revert: Show or hide the revert button
|
||||||
:type show_revert: bool
|
:type show_revert: bool
|
||||||
|
|
||||||
:return: None
|
:return: None
|
||||||
:rtype: None
|
:rtype: None
|
||||||
"""
|
"""
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
|
# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -69,7 +69,7 @@ class Ui_SongUsageDetailDialog(object):
|
|||||||
self.file_horizontal_layout.setSpacing(8)
|
self.file_horizontal_layout.setSpacing(8)
|
||||||
self.file_horizontal_layout.setContentsMargins(8, 8, 8, 8)
|
self.file_horizontal_layout.setContentsMargins(8, 8, 8, 8)
|
||||||
self.file_horizontal_layout.setObjectName('file_horizontal_layout')
|
self.file_horizontal_layout.setObjectName('file_horizontal_layout')
|
||||||
self.report_path_edit = PathEdit(self.file_group_box, path_type = PathType.Directories, show_revert=False)
|
self.report_path_edit = PathEdit(self.file_group_box, path_type=PathType.Directories, show_revert=False)
|
||||||
self.file_horizontal_layout.addWidget(self.report_path_edit)
|
self.file_horizontal_layout.addWidget(self.report_path_edit)
|
||||||
self.vertical_layout.addWidget(self.file_group_box)
|
self.vertical_layout.addWidget(self.file_group_box)
|
||||||
self.button_box = create_button_box(song_usage_detail_dialog, 'button_box', ['cancel', 'ok'])
|
self.button_box = create_button_box(song_usage_detail_dialog, 'button_box', ['cancel', 'ok'])
|
||||||
|
Loading…
Reference in New Issue
Block a user