parameters: (self, table, title, icon)
return_statement: return btn_layout
docstring: Add table tab to main tab widget, return button layout
docstring_summary: Add table tab to main tab widget, return button layout
docstring_tokens: Add table tab to main tab widget return button layout
function: def _add_table(self, table, title, icon):
          """Add table tab to main tab widget, return button layout"""
          widget = QWidget()
          tabvlayout = QVBoxLayout()
          widget.setLayout(tabvlayout)
          tabvlayout.addWidget(table)
          btn_layout = QHBoxLayout()
          tabvlayout.addLayout(btn_layout)
          self.tabwidget.addTab(widget, icon, title)
          return btn_layout
function_tokens: def _add_table ( self , table , title , icon ) : widget = QWidget ( ) tabvlayout = QVBoxLayout ( ) widget . setLayout ( tabvlayout ) tabvlayout . addWidget ( table ) btn_layout = QHBoxLayout ( ) tabvlayout . addLayout ( btn_layout ) self . tabwidget . addTab ( widget , icon , title ) return btn_layout