Freeciv-3.1: /fast/freeciv/nightly/S3_1/tools/ruledit/tab_nation.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
tab_nation.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_NATION_H
15#define FC__TAB_NATION_H
16
17// Qt
18#include <QLineEdit>
19#include <QWidget>
20
21class QCheckBox;
22
23class ruledit_gui;
24
25 class tab_nation : public QWidget
26{
27 Q_OBJECT
28
29 public:
30 explicit tab_nation(ruledit_gui *ui_in);
31 void refresh();
32 void flush_widgets();
33
34 private slots:
35 void nationlist_toggle(bool checked);
36
37 private:
38 ruledit_gui *ui;
39
40 QCheckBox *via_include;
41 QLineEdit *nationlist;
42};
43
44
45#endif // FC__TAB_MISC_H
ruledit_gui
Definition ruledit_qt.h:96
tab_nation
Definition tab_nation.h:26
tab_nation::nationlist_toggle
void nationlist_toggle(bool checked)
Definition tab_nation.cpp:100
tab_nation::via_include
QCheckBox * via_include
Definition tab_nation.h:40
tab_nation::flush_widgets
void flush_widgets()
Definition tab_nation.cpp:83
tab_nation::ui
ruledit_gui * ui
Definition tab_nation.h:38
tab_nation::refresh
void refresh()
Definition tab_nation.cpp:68
tab_nation::nationlist
QLineEdit * nationlist
Definition tab_nation.h:41
slots
struct player_slot * slots
Definition player.c:50