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

#include <top_bar.h>

+ Inheritance diagram for top_bar:
+ Collaboration diagram for top_bar:

Public Member Functions

 top_bar ()
 Sidebar constructor. More...
 
 ~top_bar () override
 Sidebar destructor. More...
 
void addWidget (QWidget *fsw)
 Adds new top_bar widget. More...
 

Public Attributes

QList< QWidget * > objects
 

Private Attributes

QHBoxLayout * layout
 

Detailed Description

Definition at line 161 of file top_bar.h.

Constructor & Destructor Documentation

◆ top_bar()

top_bar::top_bar ( )

Sidebar constructor.

Definition at line 421 of file top_bar.cpp.

◆ ~top_bar()

top_bar::~top_bar ( )
overridedefault

Sidebar destructor.

Member Function Documentation

◆ addWidget()

void top_bar::addWidget ( QWidget *  fsw)

Adds new top_bar widget.

Definition at line 439 of file top_bar.cpp.

Referenced by pageGame::pageGame().

Member Data Documentation

◆ layout

QHBoxLayout* top_bar::layout
private

Definition at line 171 of file top_bar.h.

Referenced by addWidget(), and top_bar().

◆ objects

QList<QWidget *> top_bar::objects

Definition at line 168 of file top_bar.h.

Referenced by addWidget().