156 horizontalLayout.addItem(spacerItem) |
156 horizontalLayout.addItem(spacerItem) |
157 moreButton = QPushButton(self.tr("More..."), self) |
157 moreButton = QPushButton(self.tr("More..."), self) |
158 horizontalLayout.addWidget(moreButton) |
158 horizontalLayout.addWidget(moreButton) |
159 moreButton.clicked.connect(self.__showSiteInfo) |
159 moreButton.clicked.connect(self.__showSiteInfo) |
160 layout.addLayout(horizontalLayout, rows, 0, 1, -1) |
160 layout.addLayout(horizontalLayout, rows, 0, 1, -1) |
|
161 |
|
162 # TODO: check, if this changes anything |
|
163 layout.activate() |
161 |
164 |
162 def showAt(self, pos): |
165 def showAt(self, pos): |
163 """ |
166 """ |
164 Public method to show the widget. |
167 Public method to show the widget. |
165 |
168 |