Freeciv-3.2
Loading...
Searching...
No Matches
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
20class QCheckBox;
21class QLineEdit;
22class QTableWidget;
23
24class ruledit_gui;
25
26class tab_misc : public QWidget
27{
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:
46 QLineEdit *name;
47 QLineEdit *version;
48 QLineEdit *savedir;
50 QTableWidget *stats;
52 QLineEdit *desc_file;
53};
54
55
56#endif // FC__TAB_MISC_H
void edit_aae_effects()
Definition tab_misc.cpp:466
ruledit_gui * ui
Definition tab_misc.h:45
void desc_file_toggle(bool checked)
Definition tab_misc.cpp:532
QLineEdit * savedir
Definition tab_misc.h:48
void save_now()
Definition tab_misc.cpp:276
QLineEdit * name
Definition tab_misc.h:46
QLineEdit * desc_file
Definition tab_misc.h:52
QCheckBox * desc_via_file
Definition tab_misc.h:51
void edit_all_effects()
Definition tab_misc.cpp:505
void flush_widgets()
Definition tab_misc.cpp:514
void refresh_stats()
Definition tab_misc.cpp:337
QCheckBox * savedir_version
Definition tab_misc.h:49
void ruleset_loaded()
Definition tab_misc.cpp:251
QTableWidget * stats
Definition tab_misc.h:50
QLineEdit * version
Definition tab_misc.h:47
void sanity_check()
Definition tab_misc.cpp:485
void refresh()
Definition tab_misc.cpp:266
char * incite_cost
Definition comments.c:75
struct player_slot * slots
Definition player.c:51