Menu item with check box.
- Author
- Sergey Linev
- Date
- 2017-06-29
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
Definition at line 72 of file RMenuItems.hxx.
|
| | RCheckedMenuItem ()=default |
| | Default constructor.
|
| | RCheckedMenuItem (const std::string &name, const std::string &title, bool checked=false) |
| | Create checked menu item.
|
| | ~RCheckedMenuItem () override |
| | virtual destructor need for vtable, used when vector of RMenuItem* 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 for menu item, will be used to group items together.
|
| void | SetExec (const std::string &exec) |
| | Set execution string with all required arguments, which will be executed when menu item is selected.
|
|
| bool | fChecked = false |
| | state of checkbox
|
| std::string | fClassName |
| | class to which belongs menu item
|
| std::string | fExec |
| | execute when item is activated
|
| std::string | fName |
| | name of the menu item
|
| std::string | fTitle |
| | title of menu item
|
#include <ROOT/RMenuItems.hxx>
◆ RCheckedMenuItem() [1/2]
| ROOT::Experimental::Detail::RCheckedMenuItem::RCheckedMenuItem |
( |
| ) |
|
|
default |
◆ RCheckedMenuItem() [2/2]
| ROOT::Experimental::Detail::RCheckedMenuItem::RCheckedMenuItem |
( |
const std::string & | name, |
|
|
const std::string & | title, |
|
|
bool | checked = false ) |
|
inline |
◆ ~RCheckedMenuItem()
| ROOT::Experimental::Detail::RCheckedMenuItem::~RCheckedMenuItem |
( |
| ) |
|
|
inlineoverride |
virtual destructor need for vtable, used when vector of RMenuItem* is stored
Definition at line 86 of file RMenuItems.hxx.
◆ GetExec()
| const std::string & ROOT::Experimental::Detail::RMenuItem::GetExec |
( |
| ) |
const |
|
inlineinherited |
Returns execution string for the menu item.
Definition at line 61 of file RMenuItems.hxx.
◆ GetName()
| const std::string & ROOT::Experimental::Detail::RMenuItem::GetName |
( |
| ) |
const |
|
inlineinherited |
◆ IsChecked()
| bool ROOT::Experimental::Detail::RCheckedMenuItem::IsChecked |
( |
| ) |
const |
|
inline |
◆ SetChecked()
| void ROOT::Experimental::Detail::RCheckedMenuItem::SetChecked |
( |
bool | on = true | ) |
|
|
inline |
Set checked state for the item, default is none.
Definition at line 89 of file RMenuItems.hxx.
◆ SetClassName()
| void ROOT::Experimental::Detail::RMenuItem::SetClassName |
( |
const std::string & | clname | ) |
|
|
inlineinherited |
Set class name for menu item, will be used to group items together.
Definition at line 55 of file RMenuItems.hxx.
◆ SetExec()
| void ROOT::Experimental::Detail::RMenuItem::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 52 of file RMenuItems.hxx.
◆ fChecked
| bool ROOT::Experimental::Detail::RCheckedMenuItem::fChecked = false |
|
protected |
◆ fClassName
| std::string ROOT::Experimental::Detail::RMenuItem::fClassName |
|
protectedinherited |
◆ fExec
| std::string ROOT::Experimental::Detail::RMenuItem::fExec |
|
protectedinherited |
◆ fName
| std::string ROOT::Experimental::Detail::RMenuItem::fName |
|
protectedinherited |
◆ fTitle
| std::string ROOT::Experimental::Detail::RMenuItem::fTitle |
|
protectedinherited |
The documentation for this class was generated from the following file: