#ifndef OPENRGBSYSTEMINFOPAGE_H #define OPENRGBSYSTEMINFOPAGE_H #include #include "ui_OpenRGBSystemInfoPage.h" #include "i2c_smbus.h" namespace Ui { class OpenRGBSystemInfoPage; } class Ui::OpenRGBSystemInfoPage : public QFrame { Q_OBJECT public: explicit OpenRGBSystemInfoPage(std::vector& 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& busses; }; #endif // OPENRGBSYSTEMINFOPAGE_H