Freeciv21
Develop your civilization from humble roots to a global empire
requirers_dlg.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__REQUIRERS_DLG_H
13 #define FC__REQUIRERS_DLG_H
14 
15 #include <fc_config.h>
16 
17 // Qt
18 #include <QDialog>
19 #include <QTextEdit>
20 
21 class ruledit_gui;
22 
23 class requirers_dlg : public QDialog {
24  Q_OBJECT
25 
26 public:
27  explicit requirers_dlg(ruledit_gui *ui_in);
28  void clear(const char *title);
29  void add(const char *msg);
30 
31 private:
33 
34  QTextEdit *area;
35 
36 private slots:
37  void close_now();
38 };
39 
40 #endif // FC__REQUIRERS_DLG_H
void close_now()
User pushed close button.
QTextEdit * area
Definition: requirers_dlg.h:34
void clear(const char *title)
Clear text area.
requirers_dlg(ruledit_gui *ui_in)
Setup requirers_dlg object.
ruledit_gui * ui
Definition: requirers_dlg.h:32
void add(const char *msg)
Add requirer entry.