mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-02 12:17:51 -05:00
36 lines
694 B
C++
36 lines
694 B
C++
#ifndef OPENRGBSYSTEMINFOPAGE_H
|
|
#define OPENRGBSYSTEMINFOPAGE_H
|
|
|
|
#include <QFrame>
|
|
#include "ui_OpenRGBSystemInfoPage.h"
|
|
#include "i2c_smbus.h"
|
|
|
|
namespace Ui {
|
|
class OpenRGBSystemInfoPage;
|
|
}
|
|
|
|
class Ui::OpenRGBSystemInfoPage : public QFrame
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit OpenRGBSystemInfoPage(std::vector<i2c_smbus_interface *>& bus, QWidget *parent = nullptr);
|
|
~OpenRGBSystemInfoPage();
|
|
|
|
public slots:
|
|
void UpdateBusList();
|
|
|
|
private slots:
|
|
void on_DetectButton_clicked();
|
|
|
|
void on_DumpButton_clicked();
|
|
|
|
void on_ReadButton_clicked();
|
|
|
|
private:
|
|
Ui::OpenRGBSystemInfoPageUi *ui;
|
|
std::vector<i2c_smbus_interface *>& busses;
|
|
};
|
|
|
|
#endif // OPENRGBSYSTEMINFOPAGE_H
|