Freeciv-3.2
Loading...
Searching...
No Matches
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// ruledit
25#include "values_dlg.h"
26
27class QGridLayout;
28class QLineEdit;
29class QSpinBox;
30
31class ruledit_gui;
32
33class edit_extra : public values_dlg
34{
36
37 public:
39 void refresh();
40
41 private:
44 QLineEdit *gfx_tag;
45 QLineEdit *gfx_tag_alt;
46 QLineEdit *act_gfx;
47 QLineEdit *act_gfx_alt;
48 QLineEdit *act_gfx_alt2;
49 QLineEdit *rmact_gfx;
50 QLineEdit *rmact_gfx_alt;
51 QLineEdit *rmact_gfx_alt2;
52
55
56 protected:
58
59 private slots:
60 void gfx_tag_given();
61 void gfx_tag_alt_given();
62 void act_gfx_given();
63 void act_gfx_alt_given();
64 void act_gfx_alt2_given();
65 void rmact_gfx_given();
68 void helptext();
69};
70
71#endif // FC__EDIT_EXTRA_H
void rmact_gfx_alt2_given()
QGridLayout * flag_layout
Definition edit_extra.h:54
void rmact_gfx_given()
void act_gfx_alt2_given()
void refresh()
QLineEdit * act_gfx_alt2
Definition edit_extra.h:48
void gfx_tag_alt_given()
void closeEvent(QCloseEvent *cevent)
void rmact_gfx_alt_given()
QLineEdit * rmact_gfx_alt2
Definition edit_extra.h:51
QLineEdit * gfx_tag
Definition edit_extra.h:44
struct extra_type * extra
Definition edit_extra.h:43
QLineEdit * gfx_tag_alt
Definition edit_extra.h:45
QLineEdit * rmact_gfx
Definition edit_extra.h:49
QLineEdit * rmact_gfx_alt
Definition edit_extra.h:50
QLineEdit * act_gfx
Definition edit_extra.h:46
QGridLayout * natives_layout
Definition edit_extra.h:53
ruledit_gui * ui
Definition edit_extra.h:42
void act_gfx_given()
void helptext()
void gfx_tag_given()
QLineEdit * act_gfx_alt
Definition edit_extra.h:47
void act_gfx_alt_given()
char * incite_cost
Definition comments.c:75
struct player_slot * slots
Definition player.c:51