44 lines
778 B
C++
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
|