Freeciv-3.1
Loading...
Searching...
No Matches
tools
ruledit
edit_gov.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__EDIT_GOV_H
15
#define FC__EDIT_GOV_H
16
17
#ifdef HAVE_CONFIG_H
18
#include <fc_config.h>
19
#endif
20
21
// Qt
22
#include <QDialog>
23
24
// ruledit
25
#include "
values_dlg.h
"
26
27
class
QGridLayout;
28
class
QLineEdit;
29
30
class
ruledit_gui
;
31
32
class
edit_gov
:
public
values_dlg
33
{
34
Q_OBJECT
35
36
public
:
37
explicit
edit_gov
(
ruledit_gui
*ui_in,
struct
government
*gov_in);
38
void
refresh
();
39
40
private
:
41
ruledit_gui
*
ui
;
42
struct
government
*
gov
;
43
QLineEdit *
gfx_tag
;
44
QLineEdit *
gfx_tag_alt
;
45
46
protected
:
47
void
closeEvent
(QCloseEvent *cevent);
48
49
private
slots
:
50
void
gfx_tag_given
();
51
void
gfx_tag_alt_given
();
52
void
helptext
();
53
};
54
55
56
#endif
// FC__EDIT_GOV_H
edit_gov
Definition
edit_gov.h:33
edit_gov::gov
struct government * gov
Definition
edit_gov.h:42
edit_gov::ui
ruledit_gui * ui
Definition
edit_gov.h:41
edit_gov::gfx_tag_alt_given
void gfx_tag_alt_given()
Definition
edit_gov.cpp:117
edit_gov::refresh
void refresh()
Definition
edit_gov.cpp:98
edit_gov::closeEvent
void closeEvent(QCloseEvent *cevent)
Definition
edit_gov.cpp:84
edit_gov::gfx_tag_given
void gfx_tag_given()
Definition
edit_gov.cpp:107
edit_gov::helptext
void helptext()
Definition
edit_gov.cpp:127
edit_gov::gfx_tag_alt
QLineEdit * gfx_tag_alt
Definition
edit_gov.h:44
edit_gov::gfx_tag
QLineEdit * gfx_tag
Definition
edit_gov.h:43
ruledit_gui
Definition
ruledit_qt.h:96
values_dlg
Definition
values_dlg.h:28
slots
struct player_slot * slots
Definition
player.c:50
government
Definition
government.h:52
values_dlg.h
Generated on Sun Jan 5 2025 22:00:36 for Freeciv-3.1 by
1.9.8