#include <casecombobox.h>
Public Member Functions | |
EvidenceComboBox (const EvidenceMap &ev) | |
Constructor. | |
bool | empty () const |
See if the combo box is empty. | |
void | set_active_internal (const Glib::ustring &id) |
Set the active evidence by internal ID. | |
Glib::ustring | get_selected_name () const |
Get the selected evidence's name. | |
Glib::ustring | get_selected_internal () const |
Get the selected evidence's internal ID. | |
Case::Evidence * | get_selected_evidence () |
Get the selected evidence. | |
Protected Attributes | |
EvidenceMap | m_Evidence |
Internal record of evidence. |
EvidenceComboBox::EvidenceComboBox | ( | const EvidenceMap & | ev | ) |
Constructor.
ev | Map of evidence to display |
bool EvidenceComboBox::empty | ( | ) | const [inline] |
See if the combo box is empty.
void EvidenceComboBox::set_active_internal | ( | const Glib::ustring & | id | ) |
Set the active evidence by internal ID.
id | The internal ID |
Glib::ustring EvidenceComboBox::get_selected_name | ( | ) | const |
Get the selected evidence's name.
Glib::ustring EvidenceComboBox::get_selected_internal | ( | ) | const |
Get the selected evidence's internal ID.
Case::Evidence * EvidenceComboBox::get_selected_evidence | ( | ) |
Get the selected evidence.