Freeciv-3.3
|
#include <citydlg.h>
Signals | |
void | clicked () |
Public Member Functions | |
progress_bar (QWidget *parent) | |
~progress_bar () | |
void | mousePressEvent (QMouseEvent *event) |
void | set_pixmap (struct universal *target) |
void | set_pixmap (int n) |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) |
void | timerEvent (QTimerEvent *event) |
void | resizeEvent (QResizeEvent *event) |
Private Member Functions | |
void | create_region () |
Private Attributes | |
QElapsedTimer | m_timer |
int | m_animate_step |
QPixmap * | pix |
QRegion | reg |
QFont * | sfont |
progress_bar::progress_bar | ( | QWidget * | parent | ) |
Custom progressbar constructor
Definition at line 82 of file citydlg.cpp.
progress_bar::~progress_bar | ( | ) |
Custom progressbar destructor
Definition at line 95 of file citydlg.cpp.
|
signal |
Referenced by city_dialog::city_dialog(), and mousePressEvent().
|
private |
Creates region with diagonal lines
Definition at line 326 of file citydlg.cpp.
Referenced by progress_bar(), and resizeEvent().
|
inline |
|
protected |
Paint event for custom progress bar
Definition at line 188 of file citydlg.cpp.
|
protected |
Custom progressbar resize event
Definition at line 106 of file citydlg.cpp.
Sets pixmap from given tech number for custom progressbar
Definition at line 147 of file citydlg.cpp.
Sets pixmap from given universal for custom progressbar
Definition at line 114 of file citydlg.cpp.
Referenced by city_dialog::update_building(), and science_report::update_report().
|
protected |
Timer event used to animate progress
Definition at line 176 of file citydlg.cpp.
|
private |
Definition at line 133 of file citydlg.h.
Referenced by paintEvent(), progress_bar(), and timerEvent().
|
private |
Definition at line 114 of file citydlg.h.
Referenced by progress_bar(), and timerEvent().
|
private |
Definition at line 134 of file citydlg.h.
Referenced by paintEvent(), progress_bar(), set_pixmap(), set_pixmap(), and ~progress_bar().
|
private |
Definition at line 135 of file citydlg.h.
Referenced by create_region(), and paintEvent().
|
private |
Definition at line 136 of file citydlg.h.
Referenced by paintEvent(), progress_bar(), and ~progress_bar().