2025-09-18 11:46:35 +08:00
|
|
|
#ifndef COPY_CHANNEL_H
|
|
|
|
|
#define COPY_CHANNEL_H
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
2025-09-27 21:34:27 +08:00
|
|
|
#include <QRadioButton>
|
|
|
|
|
#include <QCheckBox>
|
2025-09-18 11:46:35 +08:00
|
|
|
namespace Ui {
|
|
|
|
|
class CopyChannel;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class CopyChannel : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2025-09-27 21:34:27 +08:00
|
|
|
explicit CopyChannel(int slot_no_,QWidget *parent = nullptr);
|
2025-09-18 11:46:35 +08:00
|
|
|
~CopyChannel();
|
2025-09-27 21:34:27 +08:00
|
|
|
int slot_no;
|
2025-09-18 11:46:35 +08:00
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void on_radioButton_ch1_clicked(bool checked);
|
|
|
|
|
|
|
|
|
|
void on_radioButton_ch2_clicked(bool checked);
|
|
|
|
|
|
|
|
|
|
void on_radioButton_ch3_clicked(bool checked);
|
|
|
|
|
|
|
|
|
|
void on_radioButton_ch4_clicked(bool checked);
|
|
|
|
|
|
2025-09-27 21:34:27 +08:00
|
|
|
void on_pushButton_cancel_clicked();
|
|
|
|
|
|
|
|
|
|
void on_pushButton_confirm_clicked();
|
|
|
|
|
signals:
|
|
|
|
|
void copy_end_sg();
|
2025-09-18 11:46:35 +08:00
|
|
|
private:
|
|
|
|
|
Ui::CopyChannel *ui;
|
2025-09-27 21:34:27 +08:00
|
|
|
QList<QRadioButton*> radio_btn;
|
|
|
|
|
QList<QCheckBox*> check_ch;
|
2025-09-18 11:46:35 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // COPY_CHANNEL_H
|