def METHOD_NAME(self, settings):
    """
    Populates the widgets with the settings.
    :param settings: packet capture settings
    """
    self.uiCaptureReaderCommandLineEdit.setText(settings["packet_capture_reader_command"])
    self.uiCaptureReaderCommandLineEdit.setCursorPosition(0)
    index = self.uiPreconfiguredCaptureReaderCommandComboBox.findData(settings["packet_capture_reader_command"])
    if index != -1:
        self.uiPreconfiguredCaptureReaderCommandComboBox.setCurrentIndex(index)
    self.uiAutoStartCheckBox.setChecked(settings["command_auto_start"])
    self.uiCaptureAnalyzerCommandLineEdit.setText(settings["packet_capture_analyzer_command"])
    self.uiCaptureAnalyzerCommandLineEdit.setCursorPosition(0)