void InputOutputPatchEditor::setupMappingPage() { /* Fill the map tree with available plugins */ fillMappingTree(); /* Selection changes */ connect(m_mapTree, SIGNAL(currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*)), this, SLOT(slotMapCurrentItemChanged(QTreeWidgetItem*))); /* Configure button */ connect(m_configureButton, SIGNAL(clicked()), this, SLOT(slotConfigureInputClicked())); }
void InputPatchEditor::setupMappingPage() { /* Fill the map tree with available plugins */ fillMappingTree(); /* Selection changes */ connect(m_mapTree, SIGNAL(currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*)), this, SLOT(slotMapCurrentItemChanged(QTreeWidgetItem*))); /* Configure button */ connect(m_configureButton, SIGNAL(clicked()), this, SLOT(slotConfigureInputClicked())); /* Prevent the editor uni radio button from being unchecked manually */ QButtonGroup* group = new QButtonGroup(this); group->addButton(m_editorUniverseRadio); m_feedbackEnabledCheck->setChecked(m_currentFeedbackEnabled); /* Set checked if the current universe is also the editor universe */ if (_app->inputMap()->editorUniverse() == m_universe) m_editorUniverseRadio->setChecked(true); }