42 lines
794 B
C++
42 lines
794 B
C++
#ifndef PROGRAMSETTINGSPAGE_H
|
|
#define PROGRAMSETTINGSPAGE_H
|
|
|
|
#include <QWidget>
|
|
|
|
class CCANDevice;
|
|
class CCANMessage;
|
|
class CCANSignal;
|
|
|
|
|
|
namespace Ui {
|
|
class CProgramSettingsPage;
|
|
}
|
|
|
|
class CProgramSettingsPage : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit CProgramSettingsPage(QWidget *parent = 0);
|
|
~CProgramSettingsPage();
|
|
|
|
int SetDevicesList(QList<CCANDevice *> *DevicesList);
|
|
int ClearDatabaseData();
|
|
int UpdatePage();
|
|
int UpdateMessageInformation();
|
|
|
|
|
|
private:
|
|
Ui::CProgramSettingsPage *ui;
|
|
QList<CCANDevice *> *mDevicesList;
|
|
bool mDeviceChangeModeEnabled;
|
|
|
|
public slots:
|
|
void DeviceSelectionChanged();
|
|
void SignalSelectionChanged();
|
|
void MessageSelectionChanged();
|
|
void ModifyDeviceBtnPressed();
|
|
};
|
|
|
|
#endif // PROGRAMSETTINGSPAGE_H
|