|
@@ -31,6 +31,16 @@
|
|
|
#include <QFocusEvent>
|
|
|
#include <QKeyEvent>
|
|
|
|
|
|
+ErrorList::ErrorList(QWidget* parent, const char* name, Qt::WindowFlags fl)
|
|
|
+ : QWidget(parent, name, fl)
|
|
|
+{
|
|
|
+ setupUi(this);
|
|
|
+}
|
|
|
+
|
|
|
+ErrorList::~ErrorList()
|
|
|
+{
|
|
|
+}
|
|
|
+
|
|
|
bool ErrorList::event(QEvent *e)
|
|
|
{
|
|
|
if (e->type()==QEvent::AccelOverride) {
|
|
@@ -59,31 +69,8 @@ void ErrorList::keyPressEvent(QKeyEvent *e)
|
|
|
} else QWidget::keyPressEvent(e);
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- * Constructs a ErrorList as a child of 'parent', with the
|
|
|
- * name 'name' and widget flags set to 'f'.
|
|
|
- */
|
|
|
-ErrorList::ErrorList(QWidget* parent, const char* name, Qt::WindowFlags fl)
|
|
|
- : QWidget(parent, name, fl)
|
|
|
-{
|
|
|
- setupUi(this);
|
|
|
-
|
|
|
-}
|
|
|
-
|
|
|
-/*
|
|
|
- * Destroys the object and frees any allocated resources
|
|
|
- */
|
|
|
-ErrorList::~ErrorList()
|
|
|
-{
|
|
|
- // no need to delete child widgets, Qt does it all for us
|
|
|
-}
|
|
|
-
|
|
|
-/*
|
|
|
- * Sets the strings of the subwidgets using the current
|
|
|
- * language.
|
|
|
- */
|
|
|
void ErrorList::languageChange()
|
|
|
{
|
|
|
- retranslateUi(this);
|
|
|
+ retranslateUi(this);
|
|
|
}
|
|
|
|