#include <locationwidget.h>
Public Member Functions | |
LocationWidget (const LocationMap &locations) | |
Constructor. | |
Glib::ustring | get_selected_location () const |
Get the selected location. | |
Private Attributes | |
Gtk::Label * | m_LocLabel |
LocationComboBox * | m_LocCB |
Gtk::RadioButtonGroup | m_Group |
Gtk::RadioButton * | m_ProsecutorRB |
Gtk::RadioButton * | m_DefenseRB |
Gtk::RadioButton * | m_DefenseHelperRB |
Gtk::RadioButton * | m_WitnessRB |
Gtk::RadioButton * | m_CourtRB |
Gtk::RadioButton * | m_JudgeRB |
Built-in locations are generally court locations, since they can't be removed by the user. This widget provides a list of such locations, and allows custom ones to be added as a separate list.
LocationWidget::LocationWidget | ( | const LocationMap & | locations | ) |
Constructor.
locations | Map of case locations |
Glib::ustring LocationWidget::get_selected_location | ( | ) | const |
Get the selected location.