code: def onConnectButtonClicked(self, _):
      if self.ib.isConnected():
          self.ib.disconnect()
          self.table.clearTickers()
          self.connectButton.setText("Connect")
      else:
          self.ib.connect(*self.connectInfo)
          self.ib.reqMarketDataType(2)
          self.connectButton.setText("Disonnect")
          for symbol in (
              "EURUSD",
              "USDJPY",
              "EURGBP",
              "USDCAD",
              "EURCHF",
              "AUDUSD",
              "NZDUSD",
          ):
              self.add(f"Forex('{symbol}')")
          self.add("Stock('TSLA', 'SMART', 'USD')")
  
file_path: ib_insync/examples/qt_ticker_table.py
imports: import asyncio
  import PyQt5.QtWidgets
  from ib_insync import IB, util
  from ib_insync.contract import *
label_desc: Use image node_id 3 for calling the Window obj's underlying member method code with example usage: obj.onConnectButtonClicked(_) without return types