6
6
# --------------------------------------------------------------------------- #
7
7
# Copyright (c) 2008-2012 Raoul Snyman #
8
8
# Portions copyright (c) 2008-2012 Tim Bentley, Gerald Britton, Jonathan #
9
# Corwin, Michael Gorven, Scott Guerrieri, Matthias Hub, Meinert Jordan, #
10
# Armin Köhler, Joshua Miller, Stevan Pettit, Andreas Preikschat, Mattias #
11
# Põldaru, Christian Richter, Philip Ridout, Simon Scudder, Jeffrey Smith, #
12
# Maikel Stuivenberg, Martin Thompson, Jon Tibble, Frode Woldsund #
9
# Corwin, Samuel Findlay, Michael Gorven, Scott Guerrieri, Matthias Hub, #
10
# Meinert Jordan, Armin Köhler, Edwin Lunando, Joshua Miller, Stevan Pettit, #
11
# Andreas Preikschat, Mattias Põldaru, Christian Richter, Philip Ridout, #
12
# Simon Scudder, Jeffrey Smith, Maikel Stuivenberg, Martin Thompson, Jon #
13
# Tibble, Dave Warnock, Frode Woldsund #
13
14
# --------------------------------------------------------------------------- #
14
15
# This program is free software; you can redistribute it and/or modify it #
15
16
# under the terms of the GNU General Public License as published by the Free #
65
67
self.monitorComboBox = QtGui.QComboBox(self.monitorGroupBox)
66
68
self.monitorComboBox.setObjectName(u'monitorComboBox')
67
69
self.monitorLayout.addWidget(self.monitorComboBox, 1, 1, 1, 4)
68
self.displayOnMonitorCheck = QtGui.QCheckBox(self.monitorGroupBox)
69
self.displayOnMonitorCheck.setObjectName(u'monitorComboBox')
70
self.monitorLayout.addWidget(self.displayOnMonitorCheck, 2, 1, 1, 4)
72
71
self.overrideRadioButton = QtGui.QRadioButton(self.monitorGroupBox)
73
72
self.overrideRadioButton.setObjectName(u'overrideRadioButton')
74
self.monitorLayout.addWidget(self.overrideRadioButton, 3, 0, 1, 5)
73
self.monitorLayout.addWidget(self.overrideRadioButton, 2, 0, 1, 5)
76
75
self.customXLabel = QtGui.QLabel(self.monitorGroupBox)
77
76
self.customXLabel.setObjectName(u'customXLabel')
78
self.monitorLayout.addWidget(self.customXLabel, 4, 1)
77
self.monitorLayout.addWidget(self.customXLabel, 3, 1)
79
78
self.customXValueEdit = QtGui.QSpinBox(self.monitorGroupBox)
80
79
self.customXValueEdit.setObjectName(u'customXValueEdit')
81
80
self.customXValueEdit.setRange(-9999, 9999)
82
self.monitorLayout.addWidget(self.customXValueEdit, 5, 1)
81
self.monitorLayout.addWidget(self.customXValueEdit, 4, 1)
83
82
self.customYLabel = QtGui.QLabel(self.monitorGroupBox)
84
83
self.customYLabel.setObjectName(u'customYLabel')
85
self.monitorLayout.addWidget(self.customYLabel, 4, 2)
84
self.monitorLayout.addWidget(self.customYLabel, 3, 2)
86
85
self.customYValueEdit = QtGui.QSpinBox(self.monitorGroupBox)
87
86
self.customYValueEdit.setObjectName(u'customYValueEdit')
88
87
self.customYValueEdit.setRange(-9999, 9999)
89
self.monitorLayout.addWidget(self.customYValueEdit, 5, 2)
88
self.monitorLayout.addWidget(self.customYValueEdit, 4, 2)
90
89
self.customWidthLabel = QtGui.QLabel(self.monitorGroupBox)
91
90
self.customWidthLabel.setObjectName(u'customWidthLabel')
92
self.monitorLayout.addWidget(self.customWidthLabel, 4, 3)
91
self.monitorLayout.addWidget(self.customWidthLabel, 3, 3)
93
92
self.customWidthValueEdit = QtGui.QSpinBox(self.monitorGroupBox)
94
93
self.customWidthValueEdit.setObjectName(u'customWidthValueEdit')
95
94
self.customWidthValueEdit.setMaximum(9999)
96
self.monitorLayout.addWidget(self.customWidthValueEdit, 5, 3)
95
self.monitorLayout.addWidget(self.customWidthValueEdit, 4, 3)
97
96
self.customHeightLabel = QtGui.QLabel(self.monitorGroupBox)
98
97
self.customHeightLabel.setObjectName(u'customHeightLabel')
99
self.monitorLayout.addWidget(self.customHeightLabel, 4, 4)
98
self.monitorLayout.addWidget(self.customHeightLabel, 3, 4)
100
99
self.customHeightValueEdit = QtGui.QSpinBox(self.monitorGroupBox)
101
100
self.customHeightValueEdit.setObjectName(u'customHeightValueEdit')
102
101
self.customHeightValueEdit.setMaximum(9999)
103
self.monitorLayout.addWidget(self.customHeightValueEdit, 5, 4)
102
self.monitorLayout.addWidget(self.customHeightValueEdit, 4, 4)
103
self.displayOnMonitorCheck = QtGui.QCheckBox(self.monitorGroupBox)
104
self.displayOnMonitorCheck.setObjectName(u'monitorComboBox')
105
self.monitorLayout.addWidget(self.displayOnMonitorCheck, 5, 0, 1, 5)
104
106
# Set up the stretchiness of each column, so that the first column
105
107
# less stretchy (and therefore smaller) than the others
106
108
self.monitorLayout.setColumnStretch(0, 1)