c32f085732
2. 重构了音频播放类,简化其接口,并支持流式wav音频播放 3. 增加了对流式音频数据的处理类 4. 增加了对GUI自动化操作的处理类
27 lines
622 B
C++
27 lines
622 B
C++
//
|
|
// Created by Administrator on 2025/3/2.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include "BasePage.h"
|
|
class ElaRadioButton;
|
|
class ElaToggleSwitch;
|
|
class ElaComboBox;
|
|
class UISetting : public BasePage
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
Q_INVOKABLE explicit UISetting(QWidget* parent = nullptr);
|
|
~UISetting();
|
|
|
|
private:
|
|
ElaComboBox* _themeComboBox = nullptr;
|
|
ElaToggleSwitch* _micaSwitchButton = nullptr;
|
|
ElaToggleSwitch* _logSwitchButton = nullptr;
|
|
ElaRadioButton* _minimumButton = nullptr;
|
|
ElaRadioButton* _compactButton = nullptr;
|
|
ElaRadioButton* _maximumButton = nullptr;
|
|
ElaRadioButton* _autoButton = nullptr;
|
|
};
|