#include <citydlg.h>
Definition at line 110 of file citydlg.h.
◆ progress_bar()
progress_bar::progress_bar |
( |
QWidget * |
parent | ) |
|
Custom progressbar constructor
Definition at line 81 of file citydlg.cpp.
◆ ~progress_bar()
progress_bar::~progress_bar |
( |
| ) |
|
Custom progressbar destructor
Definition at line 94 of file citydlg.cpp.
◆ clicked
void progress_bar::clicked |
( |
| ) |
|
|
signal |
◆ create_region()
void progress_bar::create_region |
( |
| ) |
|
|
private |
◆ mousePressEvent()
void progress_bar::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
inline |
◆ paintEvent()
void progress_bar::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
Paint event for custom progress bar
Definition at line 187 of file citydlg.cpp.
◆ resizeEvent()
void progress_bar::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protected |
Custom progressbar resize event
Definition at line 105 of file citydlg.cpp.
◆ set_pixmap() [1/2]
void progress_bar::set_pixmap |
( |
int |
n | ) |
|
Sets pixmap from given tech number for custom progressbar
Definition at line 146 of file citydlg.cpp.
◆ set_pixmap() [2/2]
void progress_bar::set_pixmap |
( |
struct universal * |
target | ) |
|
◆ timerEvent()
void progress_bar::timerEvent |
( |
QTimerEvent * |
event | ) |
|
|
protected |
Timer event used to animate progress
Definition at line 175 of file citydlg.cpp.
◆ m_animate_step
int progress_bar::m_animate_step |
|
private |
◆ m_timer
QElapsedTimer progress_bar::m_timer |
|
private |
◆ pix
QPixmap* progress_bar::pix |
|
private |
◆ reg
QRegion progress_bar::reg |
|
private |
◆ sfont
QFont* progress_bar::sfont |
|
private |