Freeciv-3.3
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Slots | Private Attributes
edit_gov Class Reference

#include <edit_gov.h>

+ Inheritance diagram for edit_gov:

Public Member Functions

 edit_gov (ruledit_gui *ui_in, struct government *gov_in)
 
void refresh ()
 
- Public Member Functions inherited from values_dlg
 values_dlg ()
 
void open_help (struct strvec **help)
 
void close_help ()
 

Protected Member Functions

void closeEvent (QCloseEvent *cevent)
 

Private Slots

void gfx_tag_given ()
 
void gfx_tag_alt_given ()
 
void sound_tag_given ()
 
void sound_tag_alt_given ()
 
void sound_tag_alt2_given ()
 
void helptext ()
 

Private Attributes

ruledit_guiui
 
struct governmentgov
 
QLineEdit * gfx_tag
 
QLineEdit * gfx_tag_alt
 
QLineEdit * sound_tag
 
QLineEdit * sound_tag_alt
 
QLineEdit * sound_tag_alt2
 

Detailed Description

Definition at line 32 of file edit_gov.h.

Constructor & Destructor Documentation

◆ edit_gov()

edit_gov::edit_gov ( ruledit_gui ui_in,
struct government gov_in 
)
explicit

Setup edit_gov object

Definition at line 37 of file edit_gov.cpp.

Member Function Documentation

◆ closeEvent()

void edit_gov::closeEvent ( QCloseEvent cevent)
protected

User is closing dialog.

Definition at line 111 of file edit_gov.cpp.

◆ gfx_tag_alt_given

void edit_gov::gfx_tag_alt_given ( )
privateslot

User entered new alternative graphics tag.

Definition at line 150 of file edit_gov.cpp.

Referenced by closeEvent(), and edit_gov().

◆ gfx_tag_given

void edit_gov::gfx_tag_given ( )
privateslot

User entered new graphics tag.

Definition at line 140 of file edit_gov.cpp.

Referenced by closeEvent(), and edit_gov().

◆ helptext

void edit_gov::helptext ( )
privateslot

User pressed helptext button

Definition at line 190 of file edit_gov.cpp.

Referenced by edit_gov().

◆ refresh()

void edit_gov::refresh ( )

Refresh the information.

Definition at line 128 of file edit_gov.cpp.

Referenced by edit_gov().

◆ sound_tag_alt2_given

void edit_gov::sound_tag_alt2_given ( )
privateslot

User entered new second alternative sound tag.

Definition at line 180 of file edit_gov.cpp.

Referenced by closeEvent(), and edit_gov().

◆ sound_tag_alt_given

void edit_gov::sound_tag_alt_given ( )
privateslot

User entered new alternative sound tag.

Definition at line 170 of file edit_gov.cpp.

Referenced by closeEvent(), and edit_gov().

◆ sound_tag_given

void edit_gov::sound_tag_given ( )
privateslot

User entered new sound tag.

Definition at line 160 of file edit_gov.cpp.

Referenced by closeEvent(), and edit_gov().

Field Documentation

◆ gfx_tag

QLineEdit* edit_gov::gfx_tag
private

Definition at line 43 of file edit_gov.h.

Referenced by edit_gov(), gfx_tag_given(), and refresh().

◆ gfx_tag_alt

QLineEdit* edit_gov::gfx_tag_alt
private

Definition at line 44 of file edit_gov.h.

Referenced by edit_gov(), gfx_tag_alt_given(), and refresh().

◆ gov

struct government* edit_gov::gov
private

◆ sound_tag

QLineEdit* edit_gov::sound_tag
private

Definition at line 45 of file edit_gov.h.

Referenced by edit_gov(), refresh(), and sound_tag_given().

◆ sound_tag_alt

QLineEdit* edit_gov::sound_tag_alt
private

Definition at line 46 of file edit_gov.h.

Referenced by edit_gov(), refresh(), and sound_tag_alt_given().

◆ sound_tag_alt2

QLineEdit* edit_gov::sound_tag_alt2
private

Definition at line 47 of file edit_gov.h.

Referenced by edit_gov(), refresh(), and sound_tag_alt2_given().

◆ ui

ruledit_gui* edit_gov::ui
private

Definition at line 41 of file edit_gov.h.

Referenced by edit_gov().