eric6/IconEditor/IconEditorPalette.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8259
2bbec88047dd
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
30 """ 30 """
31 Constructor 31 Constructor
32 32
33 @param parent reference to the parent widget (QWidget) 33 @param parent reference to the parent widget (QWidget)
34 """ 34 """
35 super(IconEditorPalette, self).__init__(parent) 35 super().__init__(parent)
36 36
37 if self.layoutDirection == Qt.Orientation.Horizontal: 37 if self.layoutDirection == Qt.Orientation.Horizontal:
38 direction = QBoxLayout.Direction.LeftToRight 38 direction = QBoxLayout.Direction.LeftToRight
39 else: 39 else:
40 direction = QBoxLayout.Direction.TopToBottom 40 direction = QBoxLayout.Direction.TopToBottom

eric ide

mercurial