Freeciv-3.2
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
QLineEdit *
sound_tag
;
46
QLineEdit *
sound_tag_alt
;
47
QLineEdit *
sound_tag_alt2
;
48
49
protected
:
50
void
closeEvent
(
QCloseEvent
*
cevent
);
51
52
private
slots
:
53
void
gfx_tag_given
();
54
void
gfx_tag_alt_given
();
55
void
sound_tag_given
();
56
void
sound_tag_alt_given
();
57
void
sound_tag_alt2_given
();
58
void
helptext
();
59
};
60
61
62
#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::sound_tag
QLineEdit * sound_tag
Definition
edit_gov.h:45
edit_gov::sound_tag_alt2
QLineEdit * sound_tag_alt2
Definition
edit_gov.h:47
edit_gov::sound_tag_alt_given
void sound_tag_alt_given()
Definition
edit_gov.cpp:170
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:150
edit_gov::sound_tag_alt2_given
void sound_tag_alt2_given()
Definition
edit_gov.cpp:180
edit_gov::refresh
void refresh()
Definition
edit_gov.cpp:128
edit_gov::closeEvent
void closeEvent(QCloseEvent *cevent)
Definition
edit_gov.cpp:111
edit_gov::gfx_tag_given
void gfx_tag_given()
Definition
edit_gov.cpp:140
edit_gov::sound_tag_alt
QLineEdit * sound_tag_alt
Definition
edit_gov.h:46
edit_gov::helptext
void helptext()
Definition
edit_gov.cpp:190
edit_gov::sound_tag_given
void sound_tag_given()
Definition
edit_gov.cpp:160
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:97
values_dlg
Definition
values_dlg.h:28
incite_cost
char * incite_cost
Definition
comments.c:75
slots
struct player_slot * slots
Definition
player.c:51
government
Definition
government.h:52
values_dlg.h
Generated on Sun Dec 22 2024 23:00:34 for Freeciv-3.2 by
1.9.8