386 |
386 |
387 @return reference to the current widget (QWidget) |
387 @return reference to the current widget (QWidget) |
388 """ |
388 """ |
389 return self.__tabWidget.currentWidget() |
389 return self.__tabWidget.currentWidget() |
390 |
390 |
|
391 def setCurrentWidget(self, widget): |
|
392 """ |
|
393 Public slot to set the current page based on the given widget. |
|
394 |
|
395 @param widget reference to the widget (QWidget) |
|
396 """ |
|
397 self.__tabWidget.setCurrentWidget(widget) |
|
398 |
391 def showThreadList(self, currentID, threadList): |
399 def showThreadList(self, currentID, threadList): |
392 """ |
400 """ |
393 Public method to show the thread list. |
401 Public method to show the thread list. |
394 |
402 |
395 @param currentID id of the current thread (integer) |
403 @param currentID id of the current thread (integer) |