boris-behav-obs 8.9.16__py3-none-any.whl → 9.7.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of boris-behav-obs might be problematic. Click here for more details.
- boris/__init__.py +1 -1
- boris/__main__.py +1 -1
- boris/about.py +36 -39
- boris/add_modifier.py +122 -109
- boris/add_modifier_ui.py +239 -135
- boris/advanced_event_filtering.py +81 -45
- boris/analysis_plugins/__init__.py +0 -0
- boris/analysis_plugins/_latency.py +59 -0
- boris/analysis_plugins/irr_cohen_kappa.py +109 -0
- boris/analysis_plugins/irr_cohen_kappa_with_modifiers.py +112 -0
- boris/analysis_plugins/irr_weighted_cohen_kappa.py +157 -0
- boris/analysis_plugins/irr_weighted_cohen_kappa_with_modifiers.py +162 -0
- boris/analysis_plugins/list_of_dataframe_columns.py +22 -0
- boris/analysis_plugins/number_of_occurences.py +22 -0
- boris/analysis_plugins/number_of_occurences_by_independent_variable.py +54 -0
- boris/analysis_plugins/time_budget.py +61 -0
- boris/behav_coding_map_creator.py +228 -229
- boris/behavior_binary_table.py +33 -50
- boris/behaviors_coding_map.py +17 -18
- boris/boris_cli.py +6 -25
- boris/cmd_arguments.py +12 -1
- boris/coding_pad.py +42 -49
- boris/config.py +161 -77
- boris/config_file.py +63 -83
- boris/connections.py +112 -57
- boris/converters.py +13 -37
- boris/converters_ui.py +187 -110
- boris/cooccurence.py +250 -0
- boris/core.py +2511 -1824
- boris/core_qrc.py +15895 -10185
- boris/core_ui.py +946 -792
- boris/db_functions.py +21 -41
- boris/dev.py +134 -0
- boris/dialog.py +505 -244
- boris/duration_widget.py +15 -20
- boris/edit_event.py +84 -28
- boris/edit_event_ui.py +214 -78
- boris/event_operations.py +517 -415
- boris/events_cursor.py +25 -17
- boris/events_snapshots.py +36 -82
- boris/exclusion_matrix.py +4 -9
- boris/export_events.py +213 -583
- boris/export_observation.py +98 -611
- boris/external_processes.py +156 -97
- boris/geometric_measurement.py +652 -287
- boris/gui_utilities.py +91 -14
- boris/image_overlay.py +9 -9
- boris/import_observations.py +190 -98
- boris/ipc_mpv.py +325 -0
- boris/irr.py +26 -63
- boris/latency.py +34 -25
- boris/measurement_widget.py +14 -18
- boris/media_file.py +52 -84
- boris/menu_options.py +17 -6
- boris/modifier_coding_map_creator.py +1013 -0
- boris/modifiers_coding_map.py +7 -9
- boris/mpv.py +1 -0
- boris/mpv2.py +732 -705
- boris/observation.py +655 -310
- boris/observation_operations.py +1036 -404
- boris/observation_ui.py +584 -356
- boris/observations_list.py +71 -53
- boris/otx_parser.py +74 -80
- boris/param_panel.py +31 -16
- boris/param_panel_ui.py +254 -138
- boris/player_dock_widget.py +90 -60
- boris/plot_data_module.py +43 -46
- boris/plot_events.py +127 -90
- boris/plot_events_rt.py +17 -31
- boris/plot_spectrogram_rt.py +95 -30
- boris/plot_waveform_rt.py +32 -21
- boris/plugins.py +431 -0
- boris/portion/__init__.py +18 -8
- boris/portion/const.py +35 -18
- boris/portion/dict.py +5 -5
- boris/portion/func.py +2 -2
- boris/portion/interval.py +21 -41
- boris/portion/io.py +41 -32
- boris/preferences.py +306 -83
- boris/preferences_ui.py +685 -228
- boris/project.py +448 -293
- boris/project_functions.py +689 -254
- boris/project_import_export.py +213 -222
- boris/project_ui.py +674 -438
- boris/qrc_boris.py +6 -3
- boris/qrc_boris5.py +6 -3
- boris/select_modifiers.py +74 -48
- boris/select_observations.py +20 -199
- boris/select_subj_behav.py +67 -39
- boris/state_events.py +53 -37
- boris/subjects_pad.py +6 -9
- boris/synthetic_time_budget.py +45 -28
- boris/time_budget_functions.py +171 -171
- boris/time_budget_widget.py +84 -114
- boris/transitions.py +41 -47
- boris/utilities.py +766 -266
- boris/version.py +3 -3
- boris/video_equalizer.py +16 -14
- boris/video_equalizer_ui.py +199 -130
- boris/video_operations.py +125 -28
- boris/view_df.py +104 -0
- boris/view_df_ui.py +75 -0
- boris/write_event.py +538 -0
- boris_behav_obs-9.7.6.dist-info/METADATA +139 -0
- boris_behav_obs-9.7.6.dist-info/RECORD +109 -0
- {boris_behav_obs-8.9.16.dist-info → boris_behav_obs-9.7.6.dist-info}/WHEEL +1 -1
- boris_behav_obs-9.7.6.dist-info/entry_points.txt +2 -0
- boris/README.TXT +0 -22
- boris/add_modifier.ui +0 -323
- boris/boris_ui.py +0 -886
- boris/converters.ui +0 -289
- boris/core.qrc +0 -35
- boris/core.ui +0 -1543
- boris/edit_event.ui +0 -175
- boris/icons/logo_eye.ico +0 -0
- boris/map_creator.py +0 -850
- boris/observation.ui +0 -773
- boris/param_panel.ui +0 -379
- boris/preferences.ui +0 -537
- boris/project.ui +0 -1069
- boris/project_server.py +0 -236
- boris/vlc.py +0 -10343
- boris/vlc_local.py +0 -90
- boris_behav_obs-8.9.16.dist-info/LICENSE.TXT +0 -674
- boris_behav_obs-8.9.16.dist-info/METADATA +0 -129
- boris_behav_obs-8.9.16.dist-info/RECORD +0 -108
- boris_behav_obs-8.9.16.dist-info/entry_points.txt +0 -2
- {boris → boris_behav_obs-9.7.6.dist-info/licenses}/LICENSE.TXT +0 -0
- {boris_behav_obs-8.9.16.dist-info → boris_behav_obs-9.7.6.dist-info}/top_level.txt +0 -0
boris/version.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
BORIS
|
|
3
3
|
Behavioral Observation Research Interactive Software
|
|
4
|
-
Copyright 2012-
|
|
4
|
+
Copyright 2012-2025 Olivier Friard
|
|
5
5
|
|
|
6
6
|
This file is part of BORIS.
|
|
7
7
|
|
|
@@ -20,5 +20,5 @@ This file is part of BORIS.
|
|
|
20
20
|
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
|
-
__version__ = "
|
|
24
|
-
__version_date__ = "
|
|
23
|
+
__version__ = "9.7.6"
|
|
24
|
+
__version_date__ = "2025-11-13"
|
boris/video_equalizer.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
BORIS
|
|
3
3
|
Behavioral Observation Research Interactive Software
|
|
4
|
-
Copyright 2012-
|
|
4
|
+
Copyright 2012-2025 Olivier Friard
|
|
5
5
|
|
|
6
6
|
This file is part of BORIS.
|
|
7
7
|
|
|
@@ -20,8 +20,8 @@ This file is part of BORIS.
|
|
|
20
20
|
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
|
-
from
|
|
24
|
-
from
|
|
23
|
+
from PySide6.QtWidgets import QDialog
|
|
24
|
+
from PySide6.QtCore import Signal, QEvent
|
|
25
25
|
from .video_equalizer_ui import Ui_Equalizer
|
|
26
26
|
|
|
27
27
|
|
|
@@ -30,8 +30,8 @@ class Video_equalizer(QDialog, Ui_Equalizer):
|
|
|
30
30
|
management of video equalizer: brightness, saturation, contrast, gamma and hue
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
|
-
sendEventSignal =
|
|
34
|
-
sendKeyPressSignal =
|
|
33
|
+
sendEventSignal = Signal(int, str, int)
|
|
34
|
+
sendKeyPressSignal = Signal(QEvent)
|
|
35
35
|
|
|
36
36
|
def __init__(self, equalizer, parent=None):
|
|
37
37
|
super().__init__(parent)
|
|
@@ -56,7 +56,7 @@ class Video_equalizer(QDialog, Ui_Equalizer):
|
|
|
56
56
|
|
|
57
57
|
self.initialize(0)
|
|
58
58
|
|
|
59
|
-
def initialize(self, n_player):
|
|
59
|
+
def initialize(self, n_player: int) -> None:
|
|
60
60
|
if n_player not in self.equalizer:
|
|
61
61
|
return
|
|
62
62
|
|
|
@@ -76,7 +76,6 @@ class Video_equalizer(QDialog, Ui_Equalizer):
|
|
|
76
76
|
self.lb_hue.setText(str(self.equalizer[n_player]["hs_hue"]))
|
|
77
77
|
|
|
78
78
|
def player_changed(self, index):
|
|
79
|
-
|
|
80
79
|
self.initialize(index)
|
|
81
80
|
|
|
82
81
|
def reset(self):
|
|
@@ -102,8 +101,11 @@ class Video_equalizer(QDialog, Ui_Equalizer):
|
|
|
102
101
|
"""
|
|
103
102
|
if self.cb_player.currentIndex() not in self.equalizer:
|
|
104
103
|
return
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
|
|
105
|
+
print(type(self.sender().value()))
|
|
106
|
+
|
|
107
|
+
self.equalizer[self.cb_player.currentIndex()][self.sender().objectName()] = round(self.sender().value())
|
|
108
|
+
self.sendEventSignal.emit(self.cb_player.currentIndex(), self.sender().objectName(), round(self.sender().value()))
|
|
107
109
|
|
|
108
110
|
self.initialize(self.cb_player.currentIndex())
|
|
109
111
|
|
|
@@ -142,11 +144,11 @@ def video_equalizer_show(self):
|
|
|
142
144
|
equalizer = {}
|
|
143
145
|
for n_player, _ in enumerate(self.dw_player):
|
|
144
146
|
equalizer[n_player] = {
|
|
145
|
-
"hs_brightness": self.dw_player[n_player].player.brightness,
|
|
146
|
-
"hs_contrast": self.dw_player[n_player].player.contrast,
|
|
147
|
-
"hs_saturation": self.dw_player[n_player].player.saturation,
|
|
148
|
-
"hs_gamma": self.dw_player[n_player].player.gamma,
|
|
149
|
-
"hs_hue": self.dw_player[n_player].player.hue,
|
|
147
|
+
"hs_brightness": round(self.dw_player[n_player].player.brightness),
|
|
148
|
+
"hs_contrast": round(self.dw_player[n_player].player.contrast),
|
|
149
|
+
"hs_saturation": round(self.dw_player[n_player].player.saturation),
|
|
150
|
+
"hs_gamma": round(self.dw_player[n_player].player.gamma),
|
|
151
|
+
"hs_hue": round(self.dw_player[n_player].player.hue),
|
|
150
152
|
}
|
|
151
153
|
|
|
152
154
|
self.video_equalizer_wgt = Video_equalizer(equalizer)
|
boris/video_equalizer_ui.py
CHANGED
|
@@ -1,179 +1,248 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
3
|
+
################################################################################
|
|
4
|
+
## Form generated from reading UI file 'video_equalizer.ui'
|
|
5
|
+
##
|
|
6
|
+
## Created by: Qt User Interface Compiler version 6.8.0
|
|
7
|
+
##
|
|
8
|
+
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
9
|
+
################################################################################
|
|
12
10
|
|
|
11
|
+
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
|
12
|
+
QMetaObject, QObject, QPoint, QRect,
|
|
13
|
+
QSize, QTime, QUrl, Qt)
|
|
14
|
+
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
|
15
|
+
QFont, QFontDatabase, QGradient, QIcon,
|
|
16
|
+
QImage, QKeySequence, QLinearGradient, QPainter,
|
|
17
|
+
QPalette, QPixmap, QRadialGradient, QTransform)
|
|
18
|
+
from PySide6.QtWidgets import (QApplication, QComboBox, QHBoxLayout, QLabel,
|
|
19
|
+
QPushButton, QSizePolicy, QSlider, QSpacerItem,
|
|
20
|
+
QVBoxLayout, QWidget)
|
|
13
21
|
|
|
14
22
|
class Ui_Equalizer(object):
|
|
15
23
|
def setupUi(self, Equalizer):
|
|
16
|
-
Equalizer.
|
|
24
|
+
if not Equalizer.objectName():
|
|
25
|
+
Equalizer.setObjectName(u"Equalizer")
|
|
17
26
|
Equalizer.resize(388, 284)
|
|
18
|
-
self.verticalLayout =
|
|
19
|
-
self.verticalLayout.setObjectName("verticalLayout")
|
|
20
|
-
self.label_6 =
|
|
21
|
-
|
|
27
|
+
self.verticalLayout = QVBoxLayout(Equalizer)
|
|
28
|
+
self.verticalLayout.setObjectName(u"verticalLayout")
|
|
29
|
+
self.label_6 = QLabel(Equalizer)
|
|
30
|
+
self.label_6.setObjectName(u"label_6")
|
|
31
|
+
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
|
22
32
|
sizePolicy.setHorizontalStretch(0)
|
|
23
33
|
sizePolicy.setVerticalStretch(0)
|
|
24
34
|
sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
|
|
25
35
|
self.label_6.setSizePolicy(sizePolicy)
|
|
26
|
-
font =
|
|
36
|
+
font = QFont()
|
|
27
37
|
font.setBold(True)
|
|
28
|
-
font.setWeight(75)
|
|
29
38
|
self.label_6.setFont(font)
|
|
30
|
-
|
|
39
|
+
|
|
31
40
|
self.verticalLayout.addWidget(self.label_6)
|
|
32
|
-
|
|
33
|
-
self.cb_player
|
|
41
|
+
|
|
42
|
+
self.cb_player = QComboBox(Equalizer)
|
|
43
|
+
self.cb_player.setObjectName(u"cb_player")
|
|
44
|
+
|
|
34
45
|
self.verticalLayout.addWidget(self.cb_player)
|
|
35
|
-
|
|
36
|
-
self.horizontalLayout
|
|
37
|
-
self.
|
|
38
|
-
self.label
|
|
39
|
-
self.label.
|
|
40
|
-
self.label.
|
|
46
|
+
|
|
47
|
+
self.horizontalLayout = QHBoxLayout()
|
|
48
|
+
self.horizontalLayout.setObjectName(u"horizontalLayout")
|
|
49
|
+
self.label = QLabel(Equalizer)
|
|
50
|
+
self.label.setObjectName(u"label")
|
|
51
|
+
self.label.setMinimumSize(QSize(70, 0))
|
|
52
|
+
self.label.setMaximumSize(QSize(70, 16777215))
|
|
53
|
+
|
|
41
54
|
self.horizontalLayout.addWidget(self.label)
|
|
42
|
-
|
|
43
|
-
self.hs_brightness
|
|
44
|
-
self.hs_brightness.
|
|
55
|
+
|
|
56
|
+
self.hs_brightness = QSlider(Equalizer)
|
|
57
|
+
self.hs_brightness.setObjectName(u"hs_brightness")
|
|
58
|
+
self.hs_brightness.setMinimumSize(QSize(200, 0))
|
|
59
|
+
self.hs_brightness.setMaximumSize(QSize(200, 16777215))
|
|
45
60
|
self.hs_brightness.setMinimum(-100)
|
|
46
|
-
self.hs_brightness.
|
|
47
|
-
self.hs_brightness.setOrientation(
|
|
48
|
-
|
|
61
|
+
self.hs_brightness.setValue(0)
|
|
62
|
+
self.hs_brightness.setOrientation(Qt.Horizontal)
|
|
63
|
+
|
|
49
64
|
self.horizontalLayout.addWidget(self.hs_brightness)
|
|
50
|
-
|
|
51
|
-
self.lb_brightness
|
|
52
|
-
self.lb_brightness.
|
|
53
|
-
self.lb_brightness.
|
|
65
|
+
|
|
66
|
+
self.lb_brightness = QLabel(Equalizer)
|
|
67
|
+
self.lb_brightness.setObjectName(u"lb_brightness")
|
|
68
|
+
self.lb_brightness.setMinimumSize(QSize(25, 0))
|
|
69
|
+
self.lb_brightness.setMaximumSize(QSize(25, 16777215))
|
|
70
|
+
|
|
54
71
|
self.horizontalLayout.addWidget(self.lb_brightness)
|
|
72
|
+
|
|
73
|
+
|
|
55
74
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
|
56
|
-
|
|
57
|
-
self.horizontalLayout_2
|
|
58
|
-
self.
|
|
59
|
-
self.label_2
|
|
60
|
-
self.label_2.
|
|
61
|
-
self.label_2.
|
|
75
|
+
|
|
76
|
+
self.horizontalLayout_2 = QHBoxLayout()
|
|
77
|
+
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
|
|
78
|
+
self.label_2 = QLabel(Equalizer)
|
|
79
|
+
self.label_2.setObjectName(u"label_2")
|
|
80
|
+
self.label_2.setMinimumSize(QSize(70, 0))
|
|
81
|
+
self.label_2.setMaximumSize(QSize(70, 16777215))
|
|
82
|
+
|
|
62
83
|
self.horizontalLayout_2.addWidget(self.label_2)
|
|
63
|
-
|
|
64
|
-
self.hs_contrast
|
|
65
|
-
self.hs_contrast.
|
|
84
|
+
|
|
85
|
+
self.hs_contrast = QSlider(Equalizer)
|
|
86
|
+
self.hs_contrast.setObjectName(u"hs_contrast")
|
|
87
|
+
self.hs_contrast.setMinimumSize(QSize(200, 0))
|
|
88
|
+
self.hs_contrast.setMaximumSize(QSize(200, 16777215))
|
|
66
89
|
self.hs_contrast.setMinimum(-100)
|
|
67
|
-
self.hs_contrast.
|
|
68
|
-
self.hs_contrast.setOrientation(
|
|
69
|
-
|
|
90
|
+
self.hs_contrast.setValue(0)
|
|
91
|
+
self.hs_contrast.setOrientation(Qt.Horizontal)
|
|
92
|
+
|
|
70
93
|
self.horizontalLayout_2.addWidget(self.hs_contrast)
|
|
71
|
-
|
|
72
|
-
self.lb_contrast
|
|
73
|
-
self.lb_contrast.
|
|
74
|
-
self.lb_contrast.
|
|
94
|
+
|
|
95
|
+
self.lb_contrast = QLabel(Equalizer)
|
|
96
|
+
self.lb_contrast.setObjectName(u"lb_contrast")
|
|
97
|
+
self.lb_contrast.setMinimumSize(QSize(25, 0))
|
|
98
|
+
self.lb_contrast.setMaximumSize(QSize(25, 16777215))
|
|
99
|
+
|
|
75
100
|
self.horizontalLayout_2.addWidget(self.lb_contrast)
|
|
101
|
+
|
|
102
|
+
|
|
76
103
|
self.verticalLayout.addLayout(self.horizontalLayout_2)
|
|
77
|
-
|
|
78
|
-
self.horizontalLayout_3
|
|
79
|
-
self.
|
|
80
|
-
self.label_3
|
|
81
|
-
self.label_3.
|
|
82
|
-
self.label_3.
|
|
104
|
+
|
|
105
|
+
self.horizontalLayout_3 = QHBoxLayout()
|
|
106
|
+
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
|
|
107
|
+
self.label_3 = QLabel(Equalizer)
|
|
108
|
+
self.label_3.setObjectName(u"label_3")
|
|
109
|
+
self.label_3.setMinimumSize(QSize(70, 0))
|
|
110
|
+
self.label_3.setMaximumSize(QSize(70, 16777215))
|
|
111
|
+
|
|
83
112
|
self.horizontalLayout_3.addWidget(self.label_3)
|
|
84
|
-
|
|
85
|
-
self.hs_saturation
|
|
86
|
-
self.hs_saturation.
|
|
113
|
+
|
|
114
|
+
self.hs_saturation = QSlider(Equalizer)
|
|
115
|
+
self.hs_saturation.setObjectName(u"hs_saturation")
|
|
116
|
+
self.hs_saturation.setMinimumSize(QSize(200, 0))
|
|
117
|
+
self.hs_saturation.setMaximumSize(QSize(200, 16777215))
|
|
87
118
|
self.hs_saturation.setMinimum(-100)
|
|
88
|
-
self.hs_saturation.
|
|
89
|
-
self.hs_saturation.setOrientation(
|
|
90
|
-
|
|
119
|
+
self.hs_saturation.setValue(0)
|
|
120
|
+
self.hs_saturation.setOrientation(Qt.Horizontal)
|
|
121
|
+
|
|
91
122
|
self.horizontalLayout_3.addWidget(self.hs_saturation)
|
|
92
|
-
|
|
93
|
-
self.lb_saturation
|
|
94
|
-
self.lb_saturation.
|
|
95
|
-
self.lb_saturation.
|
|
123
|
+
|
|
124
|
+
self.lb_saturation = QLabel(Equalizer)
|
|
125
|
+
self.lb_saturation.setObjectName(u"lb_saturation")
|
|
126
|
+
self.lb_saturation.setMinimumSize(QSize(25, 0))
|
|
127
|
+
self.lb_saturation.setMaximumSize(QSize(25, 16777215))
|
|
128
|
+
|
|
96
129
|
self.horizontalLayout_3.addWidget(self.lb_saturation)
|
|
130
|
+
|
|
131
|
+
|
|
97
132
|
self.verticalLayout.addLayout(self.horizontalLayout_3)
|
|
98
|
-
|
|
99
|
-
self.horizontalLayout_4
|
|
100
|
-
self.
|
|
101
|
-
self.label_4
|
|
102
|
-
self.label_4.
|
|
103
|
-
self.label_4.
|
|
133
|
+
|
|
134
|
+
self.horizontalLayout_4 = QHBoxLayout()
|
|
135
|
+
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
|
|
136
|
+
self.label_4 = QLabel(Equalizer)
|
|
137
|
+
self.label_4.setObjectName(u"label_4")
|
|
138
|
+
self.label_4.setMinimumSize(QSize(70, 0))
|
|
139
|
+
self.label_4.setMaximumSize(QSize(70, 16777215))
|
|
140
|
+
|
|
104
141
|
self.horizontalLayout_4.addWidget(self.label_4)
|
|
105
|
-
|
|
106
|
-
self.hs_gamma
|
|
107
|
-
self.hs_gamma.
|
|
142
|
+
|
|
143
|
+
self.hs_gamma = QSlider(Equalizer)
|
|
144
|
+
self.hs_gamma.setObjectName(u"hs_gamma")
|
|
145
|
+
self.hs_gamma.setMinimumSize(QSize(200, 0))
|
|
146
|
+
self.hs_gamma.setMaximumSize(QSize(200, 16777215))
|
|
108
147
|
self.hs_gamma.setMinimum(-100)
|
|
109
|
-
self.hs_gamma.
|
|
110
|
-
self.hs_gamma.setOrientation(
|
|
111
|
-
|
|
148
|
+
self.hs_gamma.setValue(0)
|
|
149
|
+
self.hs_gamma.setOrientation(Qt.Horizontal)
|
|
150
|
+
|
|
112
151
|
self.horizontalLayout_4.addWidget(self.hs_gamma)
|
|
113
|
-
|
|
114
|
-
self.lb_gamma
|
|
115
|
-
self.lb_gamma.
|
|
116
|
-
self.lb_gamma.
|
|
152
|
+
|
|
153
|
+
self.lb_gamma = QLabel(Equalizer)
|
|
154
|
+
self.lb_gamma.setObjectName(u"lb_gamma")
|
|
155
|
+
self.lb_gamma.setMinimumSize(QSize(25, 0))
|
|
156
|
+
self.lb_gamma.setMaximumSize(QSize(25, 16777215))
|
|
157
|
+
|
|
117
158
|
self.horizontalLayout_4.addWidget(self.lb_gamma)
|
|
159
|
+
|
|
160
|
+
|
|
118
161
|
self.verticalLayout.addLayout(self.horizontalLayout_4)
|
|
119
|
-
|
|
120
|
-
self.horizontalLayout_5
|
|
121
|
-
self.
|
|
122
|
-
self.label_5
|
|
123
|
-
self.label_5.
|
|
124
|
-
self.label_5.
|
|
162
|
+
|
|
163
|
+
self.horizontalLayout_5 = QHBoxLayout()
|
|
164
|
+
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
|
|
165
|
+
self.label_5 = QLabel(Equalizer)
|
|
166
|
+
self.label_5.setObjectName(u"label_5")
|
|
167
|
+
self.label_5.setMinimumSize(QSize(70, 0))
|
|
168
|
+
self.label_5.setMaximumSize(QSize(70, 16777215))
|
|
169
|
+
|
|
125
170
|
self.horizontalLayout_5.addWidget(self.label_5)
|
|
126
|
-
|
|
127
|
-
self.hs_hue
|
|
128
|
-
self.hs_hue.
|
|
171
|
+
|
|
172
|
+
self.hs_hue = QSlider(Equalizer)
|
|
173
|
+
self.hs_hue.setObjectName(u"hs_hue")
|
|
174
|
+
self.hs_hue.setMinimumSize(QSize(200, 0))
|
|
175
|
+
self.hs_hue.setMaximumSize(QSize(200, 16777215))
|
|
129
176
|
self.hs_hue.setMinimum(-100)
|
|
130
|
-
self.hs_hue.
|
|
131
|
-
self.hs_hue.setOrientation(
|
|
132
|
-
|
|
177
|
+
self.hs_hue.setValue(0)
|
|
178
|
+
self.hs_hue.setOrientation(Qt.Horizontal)
|
|
179
|
+
|
|
133
180
|
self.horizontalLayout_5.addWidget(self.hs_hue)
|
|
134
|
-
|
|
135
|
-
self.lb_hue
|
|
136
|
-
self.lb_hue.
|
|
137
|
-
self.lb_hue.
|
|
181
|
+
|
|
182
|
+
self.lb_hue = QLabel(Equalizer)
|
|
183
|
+
self.lb_hue.setObjectName(u"lb_hue")
|
|
184
|
+
self.lb_hue.setMinimumSize(QSize(25, 0))
|
|
185
|
+
self.lb_hue.setMaximumSize(QSize(25, 16777215))
|
|
186
|
+
|
|
138
187
|
self.horizontalLayout_5.addWidget(self.lb_hue)
|
|
188
|
+
|
|
189
|
+
|
|
139
190
|
self.verticalLayout.addLayout(self.horizontalLayout_5)
|
|
140
|
-
|
|
141
|
-
self.horizontalLayout_6
|
|
142
|
-
self.
|
|
143
|
-
self.pb_reset_all
|
|
191
|
+
|
|
192
|
+
self.horizontalLayout_6 = QHBoxLayout()
|
|
193
|
+
self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
|
|
194
|
+
self.pb_reset_all = QPushButton(Equalizer)
|
|
195
|
+
self.pb_reset_all.setObjectName(u"pb_reset_all")
|
|
196
|
+
|
|
144
197
|
self.horizontalLayout_6.addWidget(self.pb_reset_all)
|
|
145
|
-
|
|
146
|
-
self.pb_reset
|
|
198
|
+
|
|
199
|
+
self.pb_reset = QPushButton(Equalizer)
|
|
200
|
+
self.pb_reset.setObjectName(u"pb_reset")
|
|
201
|
+
|
|
147
202
|
self.horizontalLayout_6.addWidget(self.pb_reset)
|
|
203
|
+
|
|
204
|
+
|
|
148
205
|
self.verticalLayout.addLayout(self.horizontalLayout_6)
|
|
149
|
-
|
|
150
|
-
self.
|
|
151
|
-
|
|
152
|
-
self.
|
|
153
|
-
|
|
154
|
-
self.horizontalLayout_7
|
|
155
|
-
self.
|
|
156
|
-
self.
|
|
206
|
+
|
|
207
|
+
self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
|
208
|
+
|
|
209
|
+
self.verticalLayout.addItem(self.verticalSpacer)
|
|
210
|
+
|
|
211
|
+
self.horizontalLayout_7 = QHBoxLayout()
|
|
212
|
+
self.horizontalLayout_7.setObjectName(u"horizontalLayout_7")
|
|
213
|
+
self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
214
|
+
|
|
215
|
+
self.horizontalLayout_7.addItem(self.horizontalSpacer)
|
|
216
|
+
|
|
217
|
+
self.pb_close = QPushButton(Equalizer)
|
|
218
|
+
self.pb_close.setObjectName(u"pb_close")
|
|
219
|
+
|
|
157
220
|
self.horizontalLayout_7.addWidget(self.pb_close)
|
|
221
|
+
|
|
222
|
+
|
|
158
223
|
self.verticalLayout.addLayout(self.horizontalLayout_7)
|
|
159
224
|
|
|
225
|
+
|
|
160
226
|
self.retranslateUi(Equalizer)
|
|
161
|
-
|
|
227
|
+
|
|
228
|
+
QMetaObject.connectSlotsByName(Equalizer)
|
|
229
|
+
# setupUi
|
|
162
230
|
|
|
163
231
|
def retranslateUi(self, Equalizer):
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
self.
|
|
167
|
-
self.
|
|
168
|
-
self.
|
|
169
|
-
self.
|
|
170
|
-
self.
|
|
171
|
-
self.
|
|
172
|
-
self.
|
|
173
|
-
self.
|
|
174
|
-
self.
|
|
175
|
-
self.
|
|
176
|
-
self.
|
|
177
|
-
self.
|
|
178
|
-
self.
|
|
179
|
-
|
|
232
|
+
Equalizer.setWindowTitle(QCoreApplication.translate("Equalizer", u"Video equalizer", None))
|
|
233
|
+
self.label_6.setText(QCoreApplication.translate("Equalizer", u"Video equalizer", None))
|
|
234
|
+
self.label.setText(QCoreApplication.translate("Equalizer", u"Brightness", None))
|
|
235
|
+
self.lb_brightness.setText(QCoreApplication.translate("Equalizer", u"0", None))
|
|
236
|
+
self.label_2.setText(QCoreApplication.translate("Equalizer", u"Contrast", None))
|
|
237
|
+
self.lb_contrast.setText(QCoreApplication.translate("Equalizer", u"0", None))
|
|
238
|
+
self.label_3.setText(QCoreApplication.translate("Equalizer", u"Saturation", None))
|
|
239
|
+
self.lb_saturation.setText(QCoreApplication.translate("Equalizer", u"0", None))
|
|
240
|
+
self.label_4.setText(QCoreApplication.translate("Equalizer", u"Gamma", None))
|
|
241
|
+
self.lb_gamma.setText(QCoreApplication.translate("Equalizer", u"0", None))
|
|
242
|
+
self.label_5.setText(QCoreApplication.translate("Equalizer", u"Hue", None))
|
|
243
|
+
self.lb_hue.setText(QCoreApplication.translate("Equalizer", u"0", None))
|
|
244
|
+
self.pb_reset_all.setText(QCoreApplication.translate("Equalizer", u"Reset all players", None))
|
|
245
|
+
self.pb_reset.setText(QCoreApplication.translate("Equalizer", u"Reset current player", None))
|
|
246
|
+
self.pb_close.setText(QCoreApplication.translate("Equalizer", u"Close", None))
|
|
247
|
+
# retranslateUi
|
|
248
|
+
|