YULTek/Otarcik_CAN/Sources/Gui/GeneralStatusPage.h
jfmartel 087245571a Ajout du support pour les fichiers CAN database .dbc
Ajout shortcut pour RDP vers le PC dans le champs
2023-01-09 16:45:23 -05:00

44 lines
778 B
C++

#ifndef GENERALSTATUSPAGE_H
#define GENERALSTATUSPAGE_H
#include <QWidget>
#include "defines.h"
namespace Ui {
class CGeneralStatusPage;
}
class CGeneralStatusPage : public QWidget
{
Q_OBJECT
public:
enum eGeneralStatusPgTxtErrorValue
{
GEN_STATUS_PG_NO_ERROR_TEXT_VALUE = 0,
GEN_STATUS_PG_WARNING_TEXT_VALUE,
GEN_STATUS_PG_ERROR_TEXT_VALUE,
GEN_STATUS_PG_MAX_TEXT_VALUE
};
explicit CGeneralStatusPage(QWidget *parent = 0);
~CGeneralStatusPage();
int SetGeneralMsgText(QStringList Txt);
int AddGeneralMsgBoxLineEntry(QString LineTxt);
private:
Ui::CGeneralStatusPage *ui;
QStringList mGenMsgListBoxTextLines;
int AddColoredLineToGenMsgBox(QString Line);
};
#endif // GENERALSTATUSPAGE_H