Freeciv-3.2: xvote Class Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions
xvote Class Reference

`#include <voteinfo_bar.h>`

Inheritance diagram for xvote:

## Public Member Functions

| xvote (QWidget *parent)
Public Member Functions inherited from pregamevote
| pregamevote (QWidget *parent=NULL)
| ~pregamevote ()
void | update_vote ()

## Protected Member Functions

void | paint (QPainter *painter, QPaintEvent *event)
void | paintEvent (QPaintEvent *event)

## Additional Inherited Members

Public Slots inherited from pregamevote
void | v_yes ()
void | v_no ()
void | v_abstain ()
Data Fields inherited from pregamevote
QLabel * | label_text
QLabel * | label_vote_text
QPushButton * | vote_yes
QPushButton * | vote_no
QPushButton * | vote_abstain
QLabel * | lab_yes
QLabel * | lab_no
QLabel * | lab_abstain
QLabel * | voters
QGridLayout * | layout

## Detailed Description

Definition at line 56 of file voteinfo_bar.h.

## Constructor & Destructor Documentation

## ◆ xvote()

xvote::xvote | ( | QWidget * | parent | ) |

pregamevote class used for displaying vote bar in PAGE START

Definition at line 185 of file voteinfo_bar.cpp.

## Member Function Documentation

## ◆ paint()

void xvote::paint | ( | QPainter * | painter,
|  | QPaintEvent * | event
| ) |  |

protected

Paints frames for xvote

Definition at line 203 of file voteinfo_bar.cpp.

Referenced by paintEvent().

## ◆ paintEvent()

void xvote::paintEvent | ( | QPaintEvent * | event | ) |

protected

Paint event for xvote

Definition at line 214 of file voteinfo_bar.cpp.