NCBI C++ ToolKit
|
Search Toolkit Book for CTestCmdUI
#include "events_tools.hpp"
(Private to src/gui/utils/unit_test
.)
Public Member Functions | |
CTestCmdUI (TCmdID cmd, const string &label) | |
CTestCmdUI. More... | |
CTestCmdUI (TCmdID cmd, const string &label, bool en, bool check, bool radio) | |
bool | IsEnabled () const |
"true" if at least one memeber was called More... | |
bool | IsChecked () const |
bool | IsRadio () const |
bool | IsVisited () const |
ICmdUI implementation | |
virtual TCmdID | GetCommand () const |
virtual void | Enable (bool en) |
virtual void | SetCheck (bool set) |
virtual void | SetRadio (bool set) |
virtual void | SetLabel (const string &label) |
Protected Attributes | |
TCmdID | m_Cmd |
string | m_Label |
bool | m_Enabled |
bool | m_Checked |
bool | m_Radio |
bool | m_Visited |
Definition at line 130 of file events_tools.hpp.
Definition at line 215 of file events_tools.cpp.
Definition at line 222 of file events_tools.cpp.
|
virtual |
Definition at line 235 of file events_tools.cpp.
|
virtual |
Definition at line 229 of file events_tools.cpp.
References m_Cmd.
|
inline |
Definition at line 147 of file events_tools.hpp.
References m_Checked.
Referenced by TestCommandUpdates().
|
inline |
"true" if at least one memeber was called
Definition at line 146 of file events_tools.hpp.
References m_Enabled.
Referenced by TestCommandUpdateReached(), and TestCommandUpdates().
|
inline |
Definition at line 148 of file events_tools.hpp.
References m_Radio.
|
inline |
Definition at line 150 of file events_tools.hpp.
References m_Visited.
Referenced by TestCommandUpdateReached(), and TestCommandUpdates().
|
virtual |
Definition at line 242 of file events_tools.cpp.
Definition at line 256 of file events_tools.cpp.
|
virtual |
Definition at line 249 of file events_tools.cpp.
|
protected |
Definition at line 156 of file events_tools.hpp.
Referenced by IsChecked(), and SetCheck().
|
protected |
Definition at line 153 of file events_tools.hpp.
Referenced by GetCommand().
|
protected |
Definition at line 155 of file events_tools.hpp.
Referenced by Enable(), and IsEnabled().
|
protected |
Definition at line 154 of file events_tools.hpp.
Referenced by SetLabel().
|
protected |
Definition at line 157 of file events_tools.hpp.
Referenced by IsRadio(), and SetRadio().
|
protected |
Definition at line 158 of file events_tools.hpp.
Referenced by Enable(), IsVisited(), SetCheck(), SetLabel(), and SetRadio().