Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devwiki:python_qt [2019/07/11 02:06]
ying [Tree Widget]
devwiki:python_qt [2019/07/17 21:07] (current)
ying [Tab Widget]
Line 1536: Line 1536:
 self.uiList['​main_tab'​].count() # return total tabs self.uiList['​main_tab'​].count() # return total tabs
 </​code>​ </​code>​
-  * put tab on bottom <code python>​self.uiList['​main_tab'​].setTabPosition(QtGui.QTabWidget.South)</​code>​+  * put tab on bottom <code python>​self.uiList['​main_tab'​].setTabPosition(QtWidgets.QTabWidget.South)</​code>​
   * link ctrl+1,​2,​3,​4 to the tab switch <code python>   * link ctrl+1,​2,​3,​4 to the tab switch <code python>
 cur_tab = self.uiList['​main_tab'​] cur_tab = self.uiList['​main_tab'​]