Freeciv21
Develop your civilization from humble roots to a global empire
city_info Class Reference

#include <citydlg.h>

+ Inheritance diagram for city_info:
+ Collaboration diagram for city_info:

Public Member Functions

 city_info (QWidget *parent=0)
 
void update_labels (struct city *ci_city)
 

Private Attributes

QLabel * m_size
 
QLabel * m_food
 
QLabel * m_production
 
QLabel * m_trade
 
QLabel * m_gold
 
QLabel * m_luxury
 
QLabel * m_science
 
QLabel * m_granary
 
QLabel * m_growth
 
QLabel * m_corruption
 
QLabel * m_waste
 
QLabel * m_culture
 
QLabel * m_pollution
 
QLabel * m_plague_label
 
QLabel * m_plague
 
QLabel * m_stolen
 
QLabel * m_airlift
 

Detailed Description

Definition at line 265 of file citydlg.h.

Constructor & Destructor Documentation

◆ city_info()

city_info::city_info ( QWidget *  parent = 0)

Definition at line 639 of file citydlg.cpp.

Member Function Documentation

◆ update_labels()

void city_info::update_labels ( struct city ci_city)

Definition at line 697 of file citydlg.cpp.

Member Data Documentation

◆ m_airlift

QLabel * city_info::m_airlift
private

Definition at line 275 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_corruption

QLabel * city_info::m_corruption
private

Definition at line 274 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_culture

QLabel * city_info::m_culture
private

Definition at line 274 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_food

QLabel * city_info::m_food
private

Definition at line 273 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_gold

QLabel * city_info::m_gold
private

Definition at line 273 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_granary

QLabel * city_info::m_granary
private

Definition at line 274 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_growth

QLabel * city_info::m_growth
private

Definition at line 274 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_luxury

QLabel * city_info::m_luxury
private

Definition at line 273 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_plague

QLabel * city_info::m_plague
private

Definition at line 275 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_plague_label

QLabel * city_info::m_plague_label
private

Definition at line 275 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_pollution

QLabel * city_info::m_pollution
private

Definition at line 275 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_production

QLabel * city_info::m_production
private

Definition at line 273 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_science

QLabel * city_info::m_science
private

Definition at line 274 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_size

QLabel* city_info::m_size
private

Definition at line 273 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_stolen

QLabel * city_info::m_stolen
private

Definition at line 275 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_trade

QLabel * city_info::m_trade
private

Definition at line 273 of file citydlg.h.

Referenced by city_info(), and update_labels().

◆ m_waste

QLabel * city_info::m_waste
private

Definition at line 274 of file citydlg.h.

Referenced by city_info(), and update_labels().