|
SCV
4.2.1
Simple Components for Visual
|
#include <ComboBox.h>
Public Member Functions | |
| ComboBoxMenu (scv::ComboBox *host) | |
| void | onMenuAccessed (const std::deque< std::string > &address) |
| void | onStatusChange (void) |
| void | setItems (const std::vector< std::string > &items) |
| void | addItem (const std::string item) |
Public Member Functions inherited from scv::ContextMenu | |
| ContextMenu (const std::string &name) | |
| virtual | ~ContextMenu (void) |
| virtual void | onMouseClick (const scv::MouseEvent &evt, const std::deque< std::string > &address) |
| virtual void | onMouseOver (const scv::MouseEvent &evt, const std::deque< std::string > &address) |
| void | addMenu (ContextMenu *menu) |
| void | removeMenu (ContextMenu *menu) |
| void | removeAllMenus () |
| std::string | getString (void) |
| void | setString (const std::string &label) |
| void | setPosition (const scv::Point &position) |
| scv::Point | getCurrPosition (void) const |
| bool | getStatus (void) const |
| void | setStatus (bool status) |
| int | getWidth (void) const |
| int | getHeight (void) const |
| bool | hasSubMenus (void) const |
| void | setMenuStyle (const PopupMenuStyle *style) |
| const MenuList & | getMenus () const |
| bool | processMouse (const scv::MouseEvent &evt) |
| bool | processKey (const scv::KeyEvent &evt) |
| void | display (void) |
Public Attributes | |
| scv::ComboBox * | _host |
Additional Inherited Members | |
Public Types inherited from scv::ContextMenu | |
| typedef std::deque< ContextMenu * > | MenuList |
| scv::ComboBox::ComboBoxMenu::ComboBoxMenu | ( | scv::ComboBox * | host | ) |
| void scv::ComboBox::ComboBoxMenu::addItem | ( | const std::string | item | ) |
|
virtual |
Reimplemented from scv::ContextMenu.
|
virtual |
Reimplemented from scv::ContextMenu.
| void scv::ComboBox::ComboBoxMenu::setItems | ( | const std::vector< std::string > & | items | ) |
| scv::ComboBox* scv::ComboBox::ComboBoxMenu::_host |