Freeciv-3.3
Loading...
Searching...
No Matches
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
21extern "C" {
22#include "spaceshipdlg_g.h"
23}
24
25// Qt
26#include <QWidget>
27
28// client
29#include "text.h"
30
31class QLabel;
32class QPixmap;
33class QPushButton;
34
35/****************************************************************************
36 Tab widget to display spaceship report (F12)
37****************************************************************************/
38class ss_report: public QWidget
39{
41 QPushButton *launch_button;
42 QLabel *ss_pix_label;
43 QLabel *ss_label;
44 struct canvas *can;
45
46public:
47 ss_report(struct player *pplayer);
48 ~ss_report();
49 void update_report();
50 void init();
51
52private slots:
53 void launch();
54
55private:
56 struct player *player;
57};
58
59void popup_spaceship_dialog(struct player *pplayer);
61
62#endif // FC__SPACESHIPDLG_H
QLabel * ss_pix_label
QLabel * ss_label
struct canvas * can
QPushButton * launch_button
struct player * player
void update_report()
char * incite_cost
Definition comments.c:76
void popdown_all_spaceships_dialogs()
void popup_spaceship_dialog(struct player *pplayer)
struct player_slot * slots
Definition player.c:51