~alisonken1/openlp/pjlink2-f

« back to all changes in this revision

Viewing changes to openlp/core/ui/printservicedialog.py

  • Committer: Tim Bentley
  • Author(s): Tomas Groth
  • Date: 2017-05-17 20:30:47 UTC
  • mfrom: (2587.3.78 chords)
  • Revision ID: tim.bentley@gmail.com-20170517203047-o11dl9bfu3re2tu0
Added support for chords in Chord Pro format (using brackets), with support for chord transposing and 3 different notations.
Added support for import of song in ChordPro file format
Added support for importing chords and verseorder from songbeamer.
Add support for export and import of chords in openlyrics
Added support for importing chords from opensong.
Added support for importing chords from videopsalm.
Added support for printing chords.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        self.main_layout.addWidget(self.preview_widget)
96
96
        self.options_widget = QtWidgets.QWidget(print_service_dialog)
97
97
        self.options_widget.hide()
98
 
        self.options_widget.resize(400, 300)
 
98
        self.options_widget.resize(400, 350)
99
99
        self.options_widget.setAutoFillBackground(True)
100
100
        self.options_layout = QtWidgets.QVBoxLayout(self.options_widget)
101
101
        self.options_layout.setContentsMargins(8, 8, 8, 8)
121
121
        self.group_layout.addWidget(self.notes_check_box)
122
122
        self.meta_data_check_box = QtWidgets.QCheckBox()
123
123
        self.group_layout.addWidget(self.meta_data_check_box)
 
124
        self.show_chords_check_box = QtWidgets.QCheckBox()
 
125
        self.group_layout.addWidget(self.show_chords_check_box)
124
126
        self.group_layout.addStretch(1)
125
127
        self.options_group_box.setLayout(self.group_layout)
126
128
        self.options_layout.addWidget(self.options_group_box)
144
146
        self.page_break_after_text.setText(translate('OpenLP.PrintServiceForm', 'Add page break before each text item'))
145
147
        self.notes_check_box.setText(translate('OpenLP.PrintServiceForm', 'Include service item notes'))
146
148
        self.meta_data_check_box.setText(translate('OpenLP.PrintServiceForm', 'Include play length of media items'))
 
149
        self.show_chords_check_box.setText(translate('OpenLP.PrintServiceForm', 'Show chords'))
147
150
        self.title_line_edit.setText(translate('OpenLP.PrintServiceForm', 'Service Sheet'))
148
151
        # Do not change the order.
149
152
        self.zoom_combo_box.addItems([