Freeciv-3.2
Loading...
Searching...
No Matches
tools
ruledit
edit_extra.h
Go to the documentation of this file.
1
/***********************************************************************
2
Freeciv - Copyright (C) 2023 The Freeciv Team
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_EXTRA_H
15
#define FC__EDIT_EXTRA_H
16
17
#ifdef HAVE_CONFIG_H
18
#include <fc_config.h>
19
#endif
20
21
// Qt
22
#include <QDialog>
23
24
class
QGridLayout
;
25
class
QLineEdit;
26
class
QSpinBox
;
27
28
class
ruledit_gui
;
29
30
class
edit_extra
:
public
QDialog
31
{
32
Q_OBJECT
33
34
public
:
35
explicit
edit_extra
(
ruledit_gui
*
ui_in
,
struct
extra_type
*
extra_in
);
36
void
refresh
();
37
38
private
:
39
ruledit_gui
*
ui
;
40
struct
extra_type
*
extra
;
41
QLineEdit *
gfx_tag
;
42
QLineEdit *
gfx_tag_alt
;
43
QLineEdit *
act_gfx
;
44
QLineEdit *
act_gfx_alt
;
45
QLineEdit *
act_gfx_alt2
;
46
QLineEdit *
rmact_gfx
;
47
QLineEdit *
rmact_gfx_alt
;
48
QLineEdit *
rmact_gfx_alt2
;
49
50
QGridLayout
*
natives_layout
;
51
QGridLayout
*
flag_layout
;
52
53
protected
:
54
void
closeEvent
(
QCloseEvent
*
cevent
);
55
56
private
slots
:
57
void
gfx_tag_given
();
58
void
gfx_tag_alt_given
();
59
void
act_gfx_given
();
60
void
act_gfx_alt_given
();
61
void
act_gfx_alt2_given
();
62
void
rmact_gfx_given
();
63
void
rmact_gfx_alt_given
();
64
void
rmact_gfx_alt2_given
();
65
};
66
67
#endif
// FC__EDIT_EXTRA_H
edit_extra
Definition
edit_extra.h:31
edit_extra::rmact_gfx_alt2_given
void rmact_gfx_alt2_given()
Definition
edit_extra.cpp:303
edit_extra::flag_layout
QGridLayout * flag_layout
Definition
edit_extra.h:51
edit_extra::rmact_gfx_given
void rmact_gfx_given()
Definition
edit_extra.cpp:283
edit_extra::act_gfx_alt2_given
void act_gfx_alt2_given()
Definition
edit_extra.cpp:273
edit_extra::refresh
void refresh()
Definition
edit_extra.cpp:218
edit_extra::act_gfx_alt2
QLineEdit * act_gfx_alt2
Definition
edit_extra.h:45
edit_extra::gfx_tag_alt_given
void gfx_tag_alt_given()
Definition
edit_extra.cpp:243
edit_extra::closeEvent
void closeEvent(QCloseEvent *cevent)
Definition
edit_extra.cpp:172
edit_extra::rmact_gfx_alt_given
void rmact_gfx_alt_given()
Definition
edit_extra.cpp:293
edit_extra::rmact_gfx_alt2
QLineEdit * rmact_gfx_alt2
Definition
edit_extra.h:48
edit_extra::gfx_tag
QLineEdit * gfx_tag
Definition
edit_extra.h:41
edit_extra::extra
struct extra_type * extra
Definition
edit_extra.h:40
edit_extra::gfx_tag_alt
QLineEdit * gfx_tag_alt
Definition
edit_extra.h:42
edit_extra::rmact_gfx
QLineEdit * rmact_gfx
Definition
edit_extra.h:46
edit_extra::rmact_gfx_alt
QLineEdit * rmact_gfx_alt
Definition
edit_extra.h:47
edit_extra::act_gfx
QLineEdit * act_gfx
Definition
edit_extra.h:43
edit_extra::natives_layout
QGridLayout * natives_layout
Definition
edit_extra.h:50
edit_extra::ui
ruledit_gui * ui
Definition
edit_extra.h:39
edit_extra::act_gfx_given
void act_gfx_given()
Definition
edit_extra.cpp:253
edit_extra::gfx_tag_given
void gfx_tag_given()
Definition
edit_extra.cpp:233
edit_extra::act_gfx_alt
QLineEdit * act_gfx_alt
Definition
edit_extra.h:44
edit_extra::act_gfx_alt_given
void act_gfx_alt_given()
Definition
edit_extra.cpp:263
ruledit_gui
Definition
ruledit_qt.h:97
incite_cost
char * incite_cost
Definition
comments.c:74
slots
struct player_slot * slots
Definition
player.c:51
extra_type
Definition
extras.h:88
Generated on Sun Apr 14 2024 23:00:51 for Freeciv-3.2 by
1.9.8