Freeciv-3.2
Loading...
Searching...
No Matches
tools
ruledit
tab_misc.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__TAB_MISC_H
15
#define FC__TAB_MISC_H
16
17
// Qt
18
#include <QWidget>
19
20
class
QCheckBox
;
21
class
QLineEdit;
22
class
QTableWidget;
23
24
class
ruledit_gui
;
25
26
class
tab_misc
:
public
QWidget
27
{
28
Q_OBJECT
29
30
public
:
31
explicit
tab_misc
(
ruledit_gui
*
ui_in
);
32
void
ruleset_loaded
();
33
void
refresh
();
34
void
flush_widgets
();
35
36
private
slots
:
37
void
save_now
();
38
void
refresh_stats
();
39
void
edit_aae_effects
();
40
void
edit_all_effects
();
41
void
desc_file_toggle
(
bool
checked
);
42
void
sanity_check
();
43
44
private
:
45
ruledit_gui
*
ui
;
46
QLineEdit *
name
;
47
QLineEdit *
version
;
48
QLineEdit *
savedir
;
49
QCheckBox
*
savedir_version
;
50
QTableWidget *
stats
;
51
QCheckBox
*
desc_via_file
;
52
QLineEdit *
desc_file
;
53
};
54
55
56
#endif
// FC__TAB_MISC_H
ruledit_gui
Definition
ruledit_qt.h:97
tab_misc
Definition
tab_misc.h:27
tab_misc::edit_aae_effects
void edit_aae_effects()
Definition
tab_misc.cpp:466
tab_misc::ui
ruledit_gui * ui
Definition
tab_misc.h:45
tab_misc::desc_file_toggle
void desc_file_toggle(bool checked)
Definition
tab_misc.cpp:532
tab_misc::savedir
QLineEdit * savedir
Definition
tab_misc.h:48
tab_misc::save_now
void save_now()
Definition
tab_misc.cpp:276
tab_misc::name
QLineEdit * name
Definition
tab_misc.h:46
tab_misc::desc_file
QLineEdit * desc_file
Definition
tab_misc.h:52
tab_misc::desc_via_file
QCheckBox * desc_via_file
Definition
tab_misc.h:51
tab_misc::edit_all_effects
void edit_all_effects()
Definition
tab_misc.cpp:505
tab_misc::flush_widgets
void flush_widgets()
Definition
tab_misc.cpp:514
tab_misc::refresh_stats
void refresh_stats()
Definition
tab_misc.cpp:337
tab_misc::savedir_version
QCheckBox * savedir_version
Definition
tab_misc.h:49
tab_misc::ruleset_loaded
void ruleset_loaded()
Definition
tab_misc.cpp:251
tab_misc::stats
QTableWidget * stats
Definition
tab_misc.h:50
tab_misc::version
QLineEdit * version
Definition
tab_misc.h:47
tab_misc::sanity_check
void sanity_check()
Definition
tab_misc.cpp:485
tab_misc::refresh
void refresh()
Definition
tab_misc.cpp:266
incite_cost
char * incite_cost
Definition
comments.c:75
slots
struct player_slot * slots
Definition
player.c:51
Generated on Sun Dec 22 2024 23:00:34 for Freeciv-3.2 by
1.9.8