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

Top bar widget for national budget. More...

#include <top_bar.h>

+ Inheritance diagram for national_budget_widget:
+ Collaboration diagram for national_budget_widget:

Public Member Functions

 national_budget_widget ()
 Constructor. More...
 
 ~national_budget_widget () override
 Destructor. More...
 
QSize sizeHint () const override
 Size hint. More...
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 Renders the national budget widget. More...
 

Detailed Description

Top bar widget for national budget.

Definition at line 33 of file top_bar.h.

Constructor & Destructor Documentation

◆ national_budget_widget()

national_budget_widget::national_budget_widget ( )

Constructor.

Definition at line 48 of file top_bar.cpp.

◆ ~national_budget_widget()

national_budget_widget::~national_budget_widget ( )
override

Destructor.

Definition at line 57 of file top_bar.cpp.

Member Function Documentation

◆ paintEvent()

void national_budget_widget::paintEvent ( QPaintEvent *  event)
overrideprotected

Renders the national budget widget.

Definition at line 86 of file top_bar.cpp.

◆ sizeHint()

QSize national_budget_widget::sizeHint ( ) const
override

Size hint.

Definition at line 62 of file top_bar.cpp.