Freeciv21
Develop your civilization from humble roots to a global empire
conversion_log.h
Go to the documentation of this file.
1 /**************************************************************************
2  Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3  __ __ part of Freeciv21. Freeciv21 is free software: you can
4 / \\..// \ redistribute it and/or modify it under the terms of the GNU
5  ( oo ) General Public License as published by the Free Software
6  \__/ Foundation, either version 3 of the License, or (at your
7  option) any later version. You should have received
8  a copy of the GNU General Public License along with Freeciv21. If not,
9  see https://www.gnu.org/licenses/.
10 **************************************************************************/
11 
12 #ifndef FC__CONVERSION_LOG_H
13 #define FC__CONVERSION_LOG_H
14 
15 #include <fc_config.h>
16 
17 // Qt
18 #include <QDialog>
19 #include <QTextEdit>
20 
21 class conversion_log : public QDialog {
22  Q_OBJECT
23 
24 public:
25  explicit conversion_log();
26  void add(const char *msg);
27 
28 private:
29  QTextEdit *area;
30 
31 private slots:
32  void close_now();
33 };
34 
35 #endif // FC__CONVERSION_LOG_H
conversion_log()
Setup conversion_log object.
void add(const char *msg)
Add entry.
QTextEdit * area
void close_now()
User pushed close button.