Freeciv-3.2
|
#include <hudwidget.h>
Public Member Functions | |
scale_widget (Shape s, QWidget *p=0) | |
Data Fields | |
float | scale |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
Private Attributes | |
int | size |
QPixmap | plus |
QPixmap | minus |
Definition at line 337 of file hudwidget.h.
scale_widget::scale_widget | ( | Shape | s, |
QWidget * | p = 0 |
||
) |
Scale widget allowing scaling other widgets, shown in right top corner
Definition at line 1938 of file hudwidget.cpp.
|
protected |
Mouse press event for scale widget
Definition at line 1972 of file hudwidget.cpp.
|
protected |
Draws 2 icons for resizing
Definition at line 1958 of file hudwidget.cpp.
|
private |
Definition at line 349 of file hudwidget.h.
Referenced by paintEvent(), and scale_widget().
|
private |
Definition at line 348 of file hudwidget.h.
Referenced by paintEvent(), and scale_widget().
float scale_widget::scale |
Definition at line 342 of file hudwidget.h.
Referenced by mousePressEvent(), hud_battle_log::paintEvent(), scale_widget(), and hud_battle_log::set_scale().
|
private |
Definition at line 347 of file hudwidget.h.
Referenced by mousePressEvent(), paintEvent(), and scale_widget().