Cute Chess  0.1
Public Slots | Public Member Functions | Protected Member Functions | List of all members
PlainTextLog Class Reference

Widget that is used to display log messages in plain text. More...

#include <plaintextlog.h>

Inheritance diagram for PlainTextLog:
QPlainTextEdit

Public Slots

void saveLogToFile (const QString &fileName)
 

Public Member Functions

 PlainTextLog (QWidget *parent=nullptr)
 
 PlainTextLog (const QString &text, QWidget *parent=nullptr)
 

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *event)
 

Detailed Description

Widget that is used to display log messages in plain text.

Constructor & Destructor Documentation

PlainTextLog::PlainTextLog ( QWidget parent = nullptr)

Constructs a new plain text log with the given parent.

PlainTextLog::PlainTextLog ( const QString text,
QWidget parent = nullptr 
)

Constructs a new plain text log with the initial text text and given parent.

Member Function Documentation

void PlainTextLog::saveLogToFile ( const QString fileName)
slot

Save the log to file filename.


The documentation for this class was generated from the following files: