* moved CONFIG_MIDI and CONFIG_MIDI_IN to own blocks when constructing comboboxes in deviceconfig * use Models::AddEntry in deviceconfig * sub-handling of CONFIG_HEX16 and CONFIG_HEX20 in CONFIG_SELECTION block when constructing, and use corresponding config_setter * make sure SCSI controller- and ISAMEM-deviceconfig calls up deviceconfig with an instance number * midi input and midi output was mixed when constructing soundsettings when loading prev. settings
36 lines
975 B
C++
36 lines
975 B
C++
#ifndef QT_SETTINGSOTHERPERIPHERALS_HPP
|
|
#define QT_SETTINGSOTHERPERIPHERALS_HPP
|
|
|
|
#include <QWidget>
|
|
|
|
namespace Ui {
|
|
class SettingsOtherPeripherals;
|
|
}
|
|
|
|
class SettingsOtherPeripherals : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SettingsOtherPeripherals(QWidget *parent = nullptr);
|
|
~SettingsOtherPeripherals();
|
|
|
|
void save();
|
|
private slots:
|
|
void on_pushButtonConfigureCard4_clicked();
|
|
void on_comboBoxCard4_currentIndexChanged(int index);
|
|
void on_pushButtonConfigureCard3_clicked();
|
|
void on_comboBoxCard3_currentIndexChanged(int index);
|
|
void on_pushButtonConfigureCard2_clicked();
|
|
void on_comboBoxCard2_currentIndexChanged(int index);
|
|
void on_pushButtonConfigureCard1_clicked();
|
|
void on_comboBoxCard1_currentIndexChanged(int index);
|
|
void on_pushButtonConfigureRTC_clicked();
|
|
void on_comboBoxRTC_currentIndexChanged(int index);
|
|
|
|
private:
|
|
Ui::SettingsOtherPeripherals *ui;
|
|
};
|
|
|
|
#endif // QT_SETTINGSOTHERPERIPHERALS_HPP
|