eric6/VCS/StatusMonitorLed.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8260
2161475d9639
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
27 Constructor 27 Constructor
28 28
29 @param project reference to the project object (Project.Project) 29 @param project reference to the project object (Project.Project)
30 @param parent reference to the parent object (QWidget) 30 @param parent reference to the parent object (QWidget)
31 """ 31 """
32 super(StatusMonitorLed, self).__init__( 32 super().__init__(
33 parent, shape=E5LedRectangular, rectRatio=1.0) 33 parent, shape=E5LedRectangular, rectRatio=1.0)
34 34
35 self.__vcsClean = True 35 self.__vcsClean = True
36 self.project = project 36 self.project = project
37 37
187 @param project reference to the project object 187 @param project reference to the project object
188 @type Project.Project 188 @type Project.Project
189 @param parent reference to the parent object 189 @param parent reference to the parent object
190 @type QWidget 190 @type QWidget
191 """ 191 """
192 super(StatusMonitorLedWidget, self).__init__(parent) 192 super().__init__(parent)
193 193
194 self.__layout = QHBoxLayout(self) 194 self.__layout = QHBoxLayout(self)
195 self.__layout.setContentsMargins(0, 0, 0, 0) 195 self.__layout.setContentsMargins(0, 0, 0, 0)
196 196
197 self.__led = StatusMonitorLed(project, self) 197 self.__led = StatusMonitorLed(project, self)

eric ide

mercurial