Clean and order documentation in source files. Source ready to beta 2 release
[mdictionary] / src / mdictionary / gui / WordListWidget.h
index 7b26e51..9f7c3a2 100644 (file)
     Copyright 2010 Comarch S.A.
 
 *******************************************************************************/
-//! \file WordListwidget.h
-//! \author Mateusz Półrola <mateusz.polrola@comarch.pl>
+/*! \file WordListwidget.h
+    \brief Displays list of words found in dictionaries
+
+    \author Mateusz Półrola <mateusz.polrola@comarch.pl>
+*/
 
 #ifndef WORDLISTWIDGET_H
 #define WORDLISTWIDGET_H
@@ -29,7 +32,6 @@
 #include "../backbone/backbone.h"
 #include "WordListProxyStyle.h"
 
-//! Displays list of words found in dictionaries
 /*!
     It allows user to select word to see its translation or to mark or unmark
     it as "star" (add/remove from bookmarks). It inherits from QTreeView
@@ -82,7 +84,8 @@ protected:
     //! side next to scroll bar
     void resizeEvent(QResizeEvent *event);
 
-
+    //! Checks if user press return and if so displays translation of selected word
+    void keyPressEvent( QKeyEvent * event);
 
 private Q_SLOTS:
     //! Emits signal to show translation of clicked item. Signal is emitted