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

#include <req_vec_fix.h>

+ Inheritance diagram for req_vec_fix_problem:

Signals

void solution_accepted (int selected_solution)
 

Public Member Functions

 req_vec_fix_problem (const struct req_vec_problem *problem, req_vec_fix_item *item_info)
 

Private Slots

void accept_solution ()
 

Private Attributes

QButtonGroupsolutions
 

Detailed Description

Widget for choosing among the suggested solutions to a problem.

Definition at line 136 of file req_vec_fix.h.

Constructor & Destructor Documentation

◆ req_vec_fix_problem()

req_vec_fix_problem::req_vec_fix_problem ( const struct req_vec_problem problem,
req_vec_fix_item item_info 
)
explicit

Set up the display and solution choice of the specified problem.

Parameters
problemthe problem to choose a solution for.
item_inforuleset entity item specific helpers

Definition at line 59 of file req_vec_fix.cpp.

Member Function Documentation

◆ accept_solution

void req_vec_fix_problem::accept_solution ( )
privateslot

The user selected one of the suggested solutions to the requirement vector problem.

Definition at line 132 of file req_vec_fix.cpp.

Referenced by req_vec_fix_problem().

◆ solution_accepted

void req_vec_fix_problem::solution_accepted ( int  selected_solution)
signal

Referenced by accept_solution().

Field Documentation

◆ solutions

QButtonGroup* req_vec_fix_problem::solutions
private

Definition at line 145 of file req_vec_fix.h.

Referenced by accept_solution(), and req_vec_fix_problem().