~phill-ridout/openlp/bug1209515

« back to all changes in this revision

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

  • Committer: Tim Bentley
  • Date: 2013-07-15 19:33:50 UTC
  • mfrom: (2250.1.24 general)
  • Revision ID: tim.bentley@gmail.com-20130715193350-npygrmen3xxbhphh
rename new url from live to main
fix display constraints
fix missing image test
add tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
        self.monitor_layout.addWidget(self.custom_width_label, 3, 3)
94
94
        self.custom_width_value_edit = QtGui.QSpinBox(self.monitor_group_box)
95
95
        self.custom_width_value_edit.setObjectName(u'custom_width_value_edit')
96
 
        self.custom_width_value_edit.setMaximum(9999)
 
96
        self.custom_width_value_edit.setRange(1, 9999)
97
97
        self.monitor_layout.addWidget(self.custom_width_value_edit, 4, 3)
98
98
        self.custom_height_label = QtGui.QLabel(self.monitor_group_box)
99
99
        self.custom_height_label.setObjectName(u'custom_height_label')
100
100
        self.monitor_layout.addWidget(self.custom_height_label, 3, 4)
101
101
        self.custom_height_value_edit = QtGui.QSpinBox(self.monitor_group_box)
102
102
        self.custom_height_value_edit.setObjectName(u'custom_height_value_edit')
103
 
        self.custom_height_value_edit.setMaximum(9999)
 
103
        self.custom_height_value_edit.setRange(1, 9999)
104
104
        self.monitor_layout.addWidget(self.custom_height_value_edit, 4, 4)
105
105
        self.display_on_monitor_check = QtGui.QCheckBox(self.monitor_group_box)
106
106
        self.display_on_monitor_check.setObjectName(u'monitor_combo_box')