code: def __setupViews(self):
          
          self._collector = Collector(self.windowNumber)
          self.configWidget = ConfigWidget(self._configTreeModel)
          self.repoWidget = RepoWidget(self.argosApplication.repo, self.collector)
          # self._configTreeModel.insertItem(self.repoWidget.repoTreeView.config) # No configurable items yet
  
          # Define a central widget that will be the parent of the inspector widget.
          # We don't set the inspector directly as the central widget to retain the size when the
          # inspector is changed.
          widget = QtWidgets.QWidget()
          layout = QtWidgets.QVBoxLayout(widget)
          layout.setContentsMargins(CENTRAL_MARGIN, CENTRAL_MARGIN, CENTRAL_MARGIN, CENTRAL_MARGIN)
          layout.setSpacing(CENTRAL_SPACING)
          self.setCentralWidget(widget)
  
          # Must be after setInspector since that already draws the inspector
          self.collector.sigContentsChanged.connect(self.collectorContentsChanged)
          self._configTreeModel.sigItemChanged.connect(self.configContentsChanged)
docs: Creates the UI widgets.