Freeciv-3.3
Loading...
Searching...
No Matches
client
gui-qt
spaceshipdlg.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__SPACESHIPDLG_H
15
#define FC__SPACESHIPDLG_H
16
17
#ifdef HAVE_CONFIG_H
18
#include <fc_config.h>
19
#endif
20
21
extern
"C"
{
22
#include "
spaceshipdlg_g.h
"
23
}
24
25
// Qt
26
#include <QWidget>
27
28
// client
29
#include "
text.h
"
30
31
class
QLabel;
32
class
QPixmap
;
33
class
QPushButton;
34
35
/****************************************************************************
36
Tab widget to display spaceship report (F12)
37
****************************************************************************/
38
class
ss_report
:
public
QWidget
39
{
40
Q_OBJECT
41
QPushButton *
launch_button
;
42
QLabel *
ss_pix_label
;
43
QLabel *
ss_label
;
44
struct
canvas
*
can
;
45
46
public
:
47
ss_report
(
struct
player
*pplayer);
48
~ss_report
();
49
void
update_report
();
50
void
init
();
51
52
private
slots
:
53
void
launch
();
54
55
private
:
56
struct
player
*
player
;
57
};
58
59
void
popup_spaceship_dialog
(
struct
player
*pplayer);
60
void
popdown_all_spaceships_dialogs
();
61
62
#endif
// FC__SPACESHIPDLG_H
ss_report
Definition
spaceshipdlg.h:39
ss_report::ss_pix_label
QLabel * ss_pix_label
Definition
spaceshipdlg.h:42
ss_report::ss_label
QLabel * ss_label
Definition
spaceshipdlg.h:43
ss_report::can
struct canvas * can
Definition
spaceshipdlg.h:44
ss_report::launch
void launch()
Definition
spaceshipdlg.cpp:110
ss_report::launch_button
QPushButton * launch_button
Definition
spaceshipdlg.h:41
ss_report::~ss_report
~ss_report()
Definition
spaceshipdlg.cpp:66
ss_report::player
struct player * player
Definition
spaceshipdlg.h:56
ss_report::update_report
void update_report()
Definition
spaceshipdlg.cpp:87
ss_report::init
void init()
Definition
spaceshipdlg.cpp:75
incite_cost
char * incite_cost
Definition
comments.c:76
popdown_all_spaceships_dialogs
void popdown_all_spaceships_dialogs()
Definition
spaceshipdlg.cpp:174
popup_spaceship_dialog
void popup_spaceship_dialog(struct player *pplayer)
Definition
spaceshipdlg.c:146
slots
struct player_slot * slots
Definition
player.c:51
spaceshipdlg_g.h
canvas
Definition
canvas.h:22
player
Definition
player.h:249
text.h
Generated on Sun Dec 22 2024 22:30:35 for Freeciv-3.3 by
1.9.8