393 |
393 |
394 @return reference to the current widget (QWidget) |
394 @return reference to the current widget (QWidget) |
395 """ |
395 """ |
396 return self.__tabWidget.currentWidget() |
396 return self.__tabWidget.currentWidget() |
397 |
397 |
|
398 def setCurrentWidget(self, widget): |
|
399 """ |
|
400 Public slot to set the current page based on the given widget. |
|
401 |
|
402 @param widget reference to the widget (QWidget) |
|
403 """ |
|
404 self.__tabWidget.setCurrentWidget(widget) |
|
405 |
398 def showThreadList(self, currentID, threadList): |
406 def showThreadList(self, currentID, threadList): |
399 """ |
407 """ |
400 Public method to show the thread list. |
408 Public method to show the thread list. |
401 |
409 |
402 @param currentID id of the current thread (integer) |
410 @param currentID id of the current thread (integer) |