Files
86Box/src/qt/qt_settingsotherremovable.hpp

45 lines
1.2 KiB
C++
Raw Normal View History

2021-11-25 10:20:56 +01:00
#ifndef QT_SETTINGSOTHERREMOVABLE_HPP
#define QT_SETTINGSOTHERREMOVABLE_HPP
#include <QWidget>
namespace Ui {
class SettingsOtherRemovable;
}
2022-11-19 08:49:04 -05:00
class SettingsOtherRemovable : public QWidget {
2021-11-25 10:20:56 +01:00
Q_OBJECT
public:
explicit SettingsOtherRemovable(QWidget *parent = nullptr);
~SettingsOtherRemovable();
void reloadBusChannels_MO();
void reloadBusChannels_RDisk();
2021-11-25 10:20:56 +01:00
void save();
signals:
void moChannelChanged();
void rdiskChannelChanged();
2021-11-25 10:20:56 +01:00
private slots:
2025-05-10 00:01:36 -04:00
void onMORowChanged(const QModelIndex &current);
2021-11-25 10:20:56 +01:00
void on_comboBoxMOBus_currentIndexChanged(int index);
2025-05-10 00:01:36 -04:00
void on_comboBoxMOBus_activated(int index);
void on_comboBoxMOChannel_activated(int index);
void on_comboBoxMOType_activated(int index);
2021-11-25 10:20:56 +01:00
void onRDiskRowChanged(const QModelIndex &current);
void on_comboBoxRDiskBus_currentIndexChanged(int index);
void on_comboBoxRDiskBus_activated(int index);
void on_comboBoxRDiskChannel_activated(int index);
void on_comboBoxRDiskType_activated(int index);
2021-11-25 10:20:56 +01:00
private:
Ui::SettingsOtherRemovable *ui;
void enableCurrentlySelectedChannel_MO();
void enableCurrentlySelectedChannel_RDisk();
2021-11-25 10:20:56 +01:00
};
#endif // QT_SETTINGSOTHERREMOVABLE_HPP