![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <voteinfo_bar.h>
Inheritance diagram for pregamevote:
Collaboration diagram for pregamevote:Public Slots | |
| void | v_yes () |
| Slot vote yes. More... | |
| void | v_no () |
| Slot vote no. More... | |
| void | v_abstain () |
| Slot vote abstain. More... | |
Public Member Functions | |
| pregamevote (QWidget *parent=nullptr) | |
| Constructor for pregamevote. More... | |
| ~pregamevote () override | |
| Destructor for pregamevote. More... | |
| void | update_vote () |
| Updates text on vote. More... | |
Public Attributes | |
| 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 |
Definition at line 24 of file voteinfo_bar.h.
|
explicit |
Constructor for pregamevote.
Definition at line 26 of file voteinfo_bar.cpp.
|
overridedefault |
Destructor for pregamevote.
| void pregamevote::update_vote | ( | ) |
Updates text on vote.
Definition at line 104 of file voteinfo_bar.cpp.
Referenced by voteinfo_gui_update().
|
slot |
|
slot |
|
slot |
| QLabel* pregamevote::lab_abstain |
Definition at line 38 of file voteinfo_bar.h.
Referenced by pregamevote(), update_vote(), and xvote::xvote().
| QLabel* pregamevote::lab_no |
Definition at line 37 of file voteinfo_bar.h.
Referenced by pregamevote(), update_vote(), and xvote::xvote().
| QLabel* pregamevote::lab_yes |
Definition at line 36 of file voteinfo_bar.h.
Referenced by pregamevote(), update_vote(), and xvote::xvote().
| QLabel* pregamevote::label_text |
Definition at line 31 of file voteinfo_bar.h.
Referenced by pregamevote(), update_vote(), and xvote::xvote().
| QLabel* pregamevote::label_vote_text |
Definition at line 32 of file voteinfo_bar.h.
Referenced by pregamevote(), update_vote(), and xvote::xvote().
| QGridLayout* pregamevote::layout |
Definition at line 40 of file voteinfo_bar.h.
Referenced by pregamevote().
| QPushButton* pregamevote::vote_abstain |
Definition at line 35 of file voteinfo_bar.h.
Referenced by pregamevote(), and update_vote().
| QPushButton* pregamevote::vote_no |
Definition at line 34 of file voteinfo_bar.h.
Referenced by pregamevote(), and update_vote().
| QPushButton* pregamevote::vote_yes |
Definition at line 33 of file voteinfo_bar.h.
Referenced by pregamevote(), and update_vote().
| QLabel* pregamevote::voters |
Definition at line 39 of file voteinfo_bar.h.
Referenced by pregamevote(), update_vote(), and xvote::xvote().