~raoul-snyman/openlp/dont-test-uno-on-macos

« back to all changes in this revision

Viewing changes to openlp/plugins/songusage/forms/songusagedetaildialog.py

  • Committer: Raoul Snyman
  • Date: 2017-10-25 21:18:38 UTC
  • mfrom: (2780.1.2 refactorings-3)
  • Revision ID: raoul@snyman.info-20171025211838-be4wutkihlytvkk3
Merge in refactorings-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from openlp.core.common.i18n import translate
25
25
from openlp.core.lib import build_icon
26
26
from openlp.core.lib.ui import create_button_box
27
 
from openlp.core.ui.lib import PathEdit, PathType
 
27
from openlp.core.widgets.edits import PathEdit
 
28
from openlp.core.widgets.enums import PathEditType
28
29
 
29
30
 
30
31
class Ui_SongUsageDetailDialog(object):
68
69
        self.file_horizontal_layout.setSpacing(8)
69
70
        self.file_horizontal_layout.setContentsMargins(8, 8, 8, 8)
70
71
        self.file_horizontal_layout.setObjectName('file_horizontal_layout')
71
 
        self.report_path_edit = PathEdit(self.file_group_box, path_type=PathType.Directories, show_revert=False)
 
72
        self.report_path_edit = PathEdit(self.file_group_box, path_type=PathEditType.Directories, show_revert=False)
72
73
        self.file_horizontal_layout.addWidget(self.report_path_edit)
73
74
        self.vertical_layout.addWidget(self.file_group_box)
74
75
        self.button_box = create_button_box(song_usage_detail_dialog, 'button_box', ['cancel', 'ok'])