#include <casecombobox.h>
Public Member Functions | |
ImgComboBox (const ImageMap &map) | |
Constructor. | |
bool | empty () const |
See if the combo box is empty. | |
void | set_active_internal (const Glib::ustring &id) |
Set the active image by internal ID. | |
Glib::ustring | get_selected_internal () const |
Get the selected image's internal ID. | |
Case::Image * | get_selected_image () |
Get the selected image. | |
Protected Attributes | |
ImageMap | m_Images |
Internal record of images. |
ImgComboBox::ImgComboBox | ( | const ImageMap & | map | ) |
Constructor.
map | Map of images to display |
bool ImgComboBox::empty | ( | ) | const [inline] |
See if the combo box is empty.
void ImgComboBox::set_active_internal | ( | const Glib::ustring & | id | ) |
Set the active image by internal ID.
id | Internal ID of image |
Glib::ustring ImgComboBox::get_selected_internal | ( | ) | const |
Get the selected image's internal ID.
Case::Image * ImgComboBox::get_selected_image | ( | ) |
Get the selected image.