Freeciv21
Develop your civilization from humble roots to a global empire
top_bar.cpp File Reference
#include <QAction>
#include <QApplication>
#include <QCommandLinkButton>
#include <QHBoxLayout>
#include <QMenu>
#include <QPaintEvent>
#include <QPainter>
#include <QScreen>
#include <QStyle>
#include <QStyleOptionToolButton>
#include <QTextStream>
#include <QTimer>
#include "chatline_common.h"
#include "government.h"
#include "nation.h"
#include "research.h"
#include "client_main.h"
#include "climisc.h"
#include "fc_client.h"
#include "fonts.h"
#include "page_game.h"
#include "qtg_cxxside.h"
#include "ratesdlg_g.h"
#include "tileset/sprite.h"
#include "top_bar.h"
#include "views/view_map.h"
#include "views/view_research.h"
#include "views/view_units.h"
+ Include dependency graph for top_bar.cpp:

Go to the source code of this file.

Functions

void top_bar_show_map ()
 Callback to show map. More...
 
void top_bar_finish_turn ()
 Callback for finishing turn. More...
 
void top_bar_center_unit ()
 Callback to center on current unit. More...
 
void top_bar_indicators_menu ()
 Popups menu on indicators widget. More...
 
void top_bar_right_click_diplomacy ()
 Right click for diplomacy Opens diplomacy meeting for player For observer popups menu. More...
 
void top_bar_right_click_science ()
 Right click for science, allowing to choose current tech. More...
 
void top_bar_left_click_science ()
 Left click for science, allowing to close/open. More...
 
void top_bar_units_view ()
 Click for units view, allowing to close/open. More...
 

Function Documentation

◆ top_bar_center_unit()

void top_bar_center_unit ( )

Callback to center on current unit.

Definition at line 462 of file top_bar.cpp.

◆ top_bar_finish_turn()

void top_bar_finish_turn ( )

Callback for finishing turn.

Definition at line 457 of file top_bar.cpp.

Referenced by minimap_panel::minimap_panel().

◆ top_bar_indicators_menu()

void top_bar_indicators_menu ( )

Popups menu on indicators widget.

Definition at line 471 of file top_bar.cpp.

Referenced by pageGame::pageGame().

◆ top_bar_left_click_science()

void top_bar_left_click_science ( )

Left click for science, allowing to close/open.

Definition at line 575 of file top_bar.cpp.

Referenced by pageGame::pageGame().

◆ top_bar_right_click_diplomacy()

void top_bar_right_click_diplomacy ( )

Right click for diplomacy Opens diplomacy meeting for player For observer popups menu.

Definition at line 485 of file top_bar.cpp.

Referenced by pageGame::pageGame().

◆ top_bar_right_click_science()

void top_bar_right_click_science ( )

Right click for science, allowing to choose current tech.

Definition at line 525 of file top_bar.cpp.

Referenced by pageGame::pageGame().

◆ top_bar_show_map()

◆ top_bar_units_view()

void top_bar_units_view ( )

Click for units view, allowing to close/open.

Definition at line 602 of file top_bar.cpp.

Referenced by pageGame::pageGame(), and mr_menu::setup_menus().