Freeciv-3.1
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 helptext ()
 

Private Attributes

ruledit_guiui
 
struct governmentgov
 
QLineEdit * gfx_tag
 
QLineEdit * gfx_tag_alt
 

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 84 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 117 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 107 of file edit_gov.cpp.

Referenced by closeEvent(), and edit_gov().

◆ helptext

void edit_gov::helptext ( )
privateslot

User pressed helptext button

Definition at line 127 of file edit_gov.cpp.

Referenced by edit_gov().

◆ refresh()

void edit_gov::refresh ( )

Refresh the information.

Definition at line 98 of file edit_gov.cpp.

Referenced by 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

Definition at line 42 of file edit_gov.h.

Referenced by closeEvent(), edit_gov(), gfx_tag_alt_given(), gfx_tag_given(), helptext(), and refresh().

◆ ui

ruledit_gui* edit_gov::ui
private

Definition at line 41 of file edit_gov.h.

Referenced by edit_gov().