| 1790 | } |
| 1791 | |
| 1792 | void SettingsWindow::pluginSwitch(int index) |
| 1793 | { |
| 1794 | DEBUG_LOW_LEVEL << Q_FUNC_INFO << index; |
| 1795 | |
| 1796 | if (index == -1) |
| 1797 | { |
| 1798 | ui->label_PluginName->setText(""); |
| 1799 | ui->label_PluginAuthor->setText(""); |
| 1800 | ui->label_PluginVersion->setText(""); |
| 1801 | ui->tb_PluginDescription->setText(""); |
| 1802 | ui->label_PluginIcon->setPixmap(QIcon(":/plugin/Plugin.png").pixmap(50,50)); |
| 1803 | return; |
| 1804 | } |
| 1805 | |
| 1806 | ui->label_PluginName->setText(_plugins[index]->Name()); |
| 1807 | ui->label_PluginAuthor->setText(_plugins[index]->Author()); |
| 1808 | ui->label_PluginVersion->setText(_plugins[index]->Version()); |
| 1809 | ui->tb_PluginDescription->setText(_plugins[index]->Description()); |
| 1810 | ui->label_PluginIcon->setPixmap(_plugins[index]->Icon().pixmap(50,50)); |
| 1811 | |
| 1812 | } |
| 1813 | |
| 1814 | void SettingsWindow::on_pushButton_ReloadPlugins_clicked() |
| 1815 | { |
nothing calls this directly
no test coverage detected