125 hlayout0.addWidget(self.moreSinglesButton) |
125 hlayout0.addWidget(self.moreSinglesButton) |
126 hspacer0 = QSpacerItem( |
126 hspacer0 = QSpacerItem( |
127 30, 20, QSizePolicy.Expanding, QSizePolicy.Minimum) |
127 30, 20, QSizePolicy.Expanding, QSizePolicy.Minimum) |
128 hlayout0.addItem(hspacer0) |
128 hlayout0.addItem(hspacer0) |
129 self.singlesBoxLayout.addLayout(hlayout0) |
129 self.singlesBoxLayout.addLayout(hlayout0) |
130 self.moreSinglesButton.clicked[()].connect(self.__addSinglesLine) |
130 self.moreSinglesButton.clicked.connect(self.__addSinglesLine) |
131 |
131 |
132 # generate dialog part for character ranges |
132 # generate dialog part for character ranges |
133 self.rangesBoxLayout = QVBoxLayout(self.rangesBox) |
133 self.rangesBoxLayout = QVBoxLayout(self.rangesBox) |
134 self.rangesBoxLayout.setObjectName("rangesBoxLayout") |
134 self.rangesBoxLayout.setObjectName("rangesBoxLayout") |
135 self.rangesBoxLayout.setSpacing(6) |
135 self.rangesBoxLayout.setSpacing(6) |
160 hlayout1.addWidget(self.moreRangesButton) |
160 hlayout1.addWidget(self.moreRangesButton) |
161 hspacer1 = QSpacerItem( |
161 hspacer1 = QSpacerItem( |
162 30, 20, QSizePolicy.Expanding, QSizePolicy.Minimum) |
162 30, 20, QSizePolicy.Expanding, QSizePolicy.Minimum) |
163 hlayout1.addItem(hspacer1) |
163 hlayout1.addItem(hspacer1) |
164 self.rangesBoxLayout.addLayout(hlayout1) |
164 self.rangesBoxLayout.addLayout(hlayout1) |
165 self.moreRangesButton.clicked[()].connect(self.__addRangesLine) |
165 self.moreRangesButton.clicked.connect(self.__addRangesLine) |
166 |
166 |
167 def __initCharacterSelectors(self): |
167 def __initCharacterSelectors(self): |
168 """ |
168 """ |
169 Private method to initialize the W3C character selector entries. |
169 Private method to initialize the W3C character selector entries. |
170 """ |
170 """ |