Freeciv-3.2: /fast/freeciv/nightly/S3_2/tools/ruledit/requirers_dlg.h Source File

Freeciv-3.2

Loading...
Searching...
No Matches
requirers_dlg.h
Go to the documentation of this file.
1/**********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13
14#ifndef FC__REQUIRERS_DLG_H
15#define FC__REQUIRERS_DLG_H
16
17#ifdef HAVE_CONFIG_H
18#include <fc_config.h>
19#endif
20
21// Qt
22#include <QDialog>
23#include <QTextEdit>
24
25class ruledit_gui;
26
27 class requirers_dlg : public QDialog
28{
29 Q_OBJECT
30
31 public:
32 explicit requirers_dlg(ruledit_gui *ui_in);
33 void clear(const char *title);
34 void add(const char *msg);
35
36 private:
37 ruledit_gui *ui;
38
39 QTextEdit *area;
40
41 private slots:
42 void close_now();
43};
44
45
46#endif // FC__REQUIRERS_DIALOG_H
requirers_dlg
Definition requirers_dlg.h:28
requirers_dlg::close_now
void close_now()
Definition requirers_dlg.cpp:80
requirers_dlg::area
QTextEdit * area
Definition requirers_dlg.h:39
requirers_dlg::clear
void clear(const char *title)
Definition requirers_dlg.cpp:53
requirers_dlg::ui
ruledit_gui * ui
Definition requirers_dlg.h:37
requirers_dlg::add
void add(const char *msg)
Definition requirers_dlg.cpp:66
ruledit_gui
Definition ruledit_qt.h:97
incite_cost
char * incite_cost
Definition comments.c:74
title
const char * title
Definition repodlgs.c:1314
slots
struct player_slot * slots
Definition player.c:51