Add PlainTextLog GUI component.
commit5177fa928d5add02f6cf016f66a6dbea8200029a
authorArto Jonsson <ajonsson@kapsi.fi>
Thu, 14 May 2009 16:08:14 +0000 (14 19:08 +0300)
committerArto Jonsson <ajonsson@kapsi.fi>
Thu, 14 May 2009 16:08:14 +0000 (14 19:08 +0300)
treecbe2d2de56a22663c98168f85ef690fca497f40c
parent0d2fd4ced1fee334a42d44d16949713fcb9145dc
Add PlainTextLog GUI component.

The PlainTextLog's purpose is to act as logging component in the UI. It is
inherited from QPlainTextEdit.

PlainTextLog adds features to clear the log and save its current content to
a file. Both of these features can be accessed from the context menu.

In order to use the save feature, the 'saveLogToFileRequest' signal must
be catched and its slot must implement to do the actual saving.

PlainTextLog is read-only by default.
projects/gui/src/plaintextlog.cpp [new file with mode: 0644]
projects/gui/src/plaintextlog.h [new file with mode: 0644]
projects/gui/src/src.pri