Definition at line 58 of file TWebMenuItem.h.
|
| | TWebCheckedMenuItem (const std::string &name, const std::string &title, bool checked=false) |
| | Create checked menu item.
|
| | ~TWebCheckedMenuItem () override=default |
| | virtual destructor need for vtable, used when vector of TMenuItem* is stored
|
| const std::string & | GetExec () const |
| | Returns execution string for the menu item.
|
| const std::string & | GetName () const |
| | Returns menu item name.
|
| bool | IsChecked () const |
| void | SetChecked (bool on=true) |
| | Set checked state for the item, default is none.
|
| void | SetClassName (const std::string &clname) |
| | Set class name, to which method belongs to.
|
| void | SetExec (const std::string &exec) |
| | Set execution string with all required arguments, which will be executed when menu item is selected.
|
#include <TWebMenuItem.h>
◆ TWebCheckedMenuItem()
| TWebCheckedMenuItem::TWebCheckedMenuItem |
( |
const std::string & | name, |
|
|
const std::string & | title, |
|
|
bool | checked = false ) |
|
inline |
◆ ~TWebCheckedMenuItem()
| TWebCheckedMenuItem::~TWebCheckedMenuItem |
( |
| ) |
|
|
overridedefault |
virtual destructor need for vtable, used when vector of TMenuItem* is stored
◆ GetExec()
| const std::string & TWebMenuItem::GetExec |
( |
| ) |
const |
|
inlineinherited |
Returns execution string for the menu item.
Definition at line 53 of file TWebMenuItem.h.
◆ GetName()
| const std::string & TWebMenuItem::GetName |
( |
| ) |
const |
|
inlineinherited |
◆ IsChecked()
| bool TWebCheckedMenuItem::IsChecked |
( |
| ) |
const |
|
inline |
◆ SetChecked()
| void TWebCheckedMenuItem::SetChecked |
( |
bool | on = true | ) |
|
|
inline |
Set checked state for the item, default is none.
Definition at line 72 of file TWebMenuItem.h.
◆ SetClassName()
| void TWebMenuItem::SetClassName |
( |
const std::string & | clname | ) |
|
|
inlineinherited |
Set class name, to which method belongs to.
Definition at line 47 of file TWebMenuItem.h.
◆ SetExec()
| void TWebMenuItem::SetExec |
( |
const std::string & | exec | ) |
|
|
inlineinherited |
Set execution string with all required arguments, which will be executed when menu item is selected.
Definition at line 44 of file TWebMenuItem.h.
◆ fChecked
| bool TWebCheckedMenuItem::fChecked {false} |
|
protected |
◆ fClassName
| std::string TWebMenuItem::fClassName |
|
protectedinherited |
◆ fExec
| std::string TWebMenuItem::fExec |
|
protectedinherited |
◆ fName
| std::string TWebMenuItem::fName |
|
protectedinherited |
◆ fTitle
| std::string TWebMenuItem::fTitle |
|
protectedinherited |
The documentation for this class was generated from the following file: