93 hlayout0.addWidget(self.moreSinglesButton) |
93 hlayout0.addWidget(self.moreSinglesButton) |
94 hspacer0 = QSpacerItem( |
94 hspacer0 = QSpacerItem( |
95 30, 20, QSizePolicy.Expanding, QSizePolicy.Minimum) |
95 30, 20, QSizePolicy.Expanding, QSizePolicy.Minimum) |
96 hlayout0.addItem(hspacer0) |
96 hlayout0.addItem(hspacer0) |
97 self.singlesBoxLayout.addLayout(hlayout0) |
97 self.singlesBoxLayout.addLayout(hlayout0) |
98 self.moreSinglesButton.clicked[()].connect(self.__addSinglesLine) |
98 self.moreSinglesButton.clicked.connect(self.__addSinglesLine) |
99 |
99 |
100 # generate dialog part for character ranges |
100 # generate dialog part for character ranges |
101 self.rangesBoxLayout = QVBoxLayout(self.rangesBox) |
101 self.rangesBoxLayout = QVBoxLayout(self.rangesBox) |
102 self.rangesBoxLayout.setObjectName("rangesBoxLayout") |
102 self.rangesBoxLayout.setObjectName("rangesBoxLayout") |
103 self.rangesBoxLayout.setSpacing(6) |
103 self.rangesBoxLayout.setSpacing(6) |
128 hlayout1.addWidget(self.moreRangesButton) |
128 hlayout1.addWidget(self.moreRangesButton) |
129 hspacer1 = QSpacerItem( |
129 hspacer1 = QSpacerItem( |
130 30, 20, QSizePolicy.Expanding, QSizePolicy.Minimum) |
130 30, 20, QSizePolicy.Expanding, QSizePolicy.Minimum) |
131 hlayout1.addItem(hspacer1) |
131 hlayout1.addItem(hspacer1) |
132 self.rangesBoxLayout.addLayout(hlayout1) |
132 self.rangesBoxLayout.addLayout(hlayout1) |
133 self.moreRangesButton.clicked[()].connect(self.__addRangesLine) |
133 self.moreRangesButton.clicked.connect(self.__addRangesLine) |
134 |
134 |
135 def __initCharacterSelectors(self): |
135 def __initCharacterSelectors(self): |
136 """ |
136 """ |
137 Private method to initialize the W3C character selector entries. |
137 Private method to initialize the W3C character selector entries. |
138 """ |
138 """ |