You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
813 B
39 lines
813 B
14 years ago
|
/*! @file
|
||
|
|
||
|
@id $Id$
|
||
|
*/
|
||
|
// 1 2 3 4 5 6 7 8
|
||
|
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
||
|
|
||
|
#ifndef ERRORLOG_HXX
|
||
|
#define ERRORLOG_HXX
|
||
|
|
||
|
#include <ui_errorlog.h>
|
||
|
#include <QtGui/QDialog>
|
||
|
|
||
|
class ErrorLog: public QDialog, protected Ui::ErrorLog {
|
||
14 years ago
|
public:
|
||
|
Q_OBJECT;
|
||
|
Q_SIGNALS:
|
||
|
void reset();
|
||
14 years ago
|
public:
|
||
|
ErrorLog(QWidget* p): QDialog(p) {
|
||
|
setupUi(this);
|
||
|
}
|
||
|
void append(QString text) {
|
||
|
_errors->append(text);
|
||
|
}
|
||
14 years ago
|
protected Q_SLOTS:
|
||
|
void on__buttons_clicked(QAbstractButton* button) {
|
||
|
switch (_buttons->buttonRole(button)) {
|
||
|
case QDialogButtonBox::ResetRole: {
|
||
|
_errors->clear();
|
||
|
reset();
|
||
|
} break;
|
||
|
default:;
|
||
|
}
|
||
|
}
|
||
14 years ago
|
};
|
||
|
|
||
|
#endif
|