Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
DummyWidget Class Reference

#include "/Werk/devel/lumi/tests/stage/test/test-element-access.hpp"

Description

Definition at line 65 of file test-element-access.hpp.

Public Member Functions

virtual ~DummyWidget ()
 is an interface
 
 DummyWidget (string name="DummyWidget")
 
 DummyWidget (Literal name)
 
- Public Member Functions inherited from MockElm
 MockElm (string id)
 
 MockElm (ID identity, ctrl::BusTerm &nexus=Nexus::testUI())
 
 ~MockElm ()
 document our death in the diagnostic log.
 
void kill ()
 commit suicide.
 
ID getID () const
 
bool isTouched () const
 
bool isExpanded () const
 
bool isError () const
 
string getMessage () const
 
string getError () const
 
EventMatch verify (string match) const
 
EventMatch verifyMatch (string regExp) const
 
EventMatch verifyEvent (string match) const
 
EventMatch verifyEvent (string classifier, string match) const
 
EventMatch verifyCall (string match) const
 
EventMatch ensureNot (string match) const
 
EventMatch verifyMark (string id) const
 special verification match on a "state mark" message to this element
 
EventMatch verifyMark (string id, string payloadMatch) const
 verification match on a specific "state mark" message
 
template<typename X >
EventMatch verifyMark (string id, X const &something) const
 
EventLog const & getLog () const
 
EventLogjoinLog (MockElm &otherMock)
 
EventLogjoinLog (EventLog &otherLog)
 
- Public Member Functions inherited from Tangible
virtual ~Tangible ()
 this is an interface
 
 operator string () const
 diagnostic representation.
 
 operator LuidH () const
 
ID getID () const
 
void reset ()
 invoke the generic reset hook
 
void clearMsg ()
 invoke the hook to clear notification messages
 
void clearErr ()
 invoke the hook to clear error markers
 
template<typename... ARGS>
void invoke (Symbol cmdID, ARGS &&...)
 
void invoke (Symbol cmdID, Rec &&arguments)
 Perform a command or action, once the execution context has been established.
 
void slotExpand ()
 Expand this element and remember the expanded state.
 
void slotCollapse ()
 Collapse or minimise this element and remember the collapsed state.
 
void slotReveal ()
 Cause the element to be brought into sight.
 
void markFlash ()
 highlight the element visually to catch the user's attention
 
void markMsg (string message)
 push a notification (or warning) message to the element.
 
void markErr (string error)
 push an error state tag to the element
 
void mark (GenNode const &)
 generic handler for all incoming "state mark" messages
 
void installExpander (Expander::ProbeFun, Expander::ChangeFun)
 Configure the (optional) functionality to expand or collapse the UI-Element.
 
void installRevealer (Revealer::RevealeItFun)
 Configure the (optional) functionality to bring the UI-Element into sight.
 
template<typename... ARGS>
void invoke (Symbol cmdID, ARGS &&... args)
 convenience shortcut to issue a command with several arguments
 
- Public Member Functions inherited from DiffMutable
virtual ~DiffMutable ()
 this is an interface
 

Additional Inherited Members

- Public Types inherited from Tangible
using ID = ctrl::BusTerm::ID
 
using LuidH = lib::hash::LuidH
 
- Public Attributes inherited from MockElm
std::map< string, string > attrib
 
std::vector< PMockElmscope
 
- Protected Types inherited from Tangible
using Rec = lib::diff::Rec
 
using GenNode = lib::diff::GenNode
 
- Protected Member Functions inherited from MockElm
string identify () const
 
- Protected Member Functions inherited from Tangible
 Tangible (ID identity, ctrl::BusTerm &nexus)
 
- Protected Attributes inherited from Tangible
ctrl::BusTerm uiBus_
 
Expander expand_
 
Revealer reveal_
 

Constructor & Destructor Documentation

◆ ~DummyWidget()

virtual ~DummyWidget ( )
inlinevirtual

is an interface

Definition at line 69 of file test-element-access.hpp.

◆ DummyWidget() [1/2]

DummyWidget ( string  name = "DummyWidget")
inline

Definition at line 71 of file test-element-access.hpp.

◆ DummyWidget() [2/2]

DummyWidget ( Literal  name)
inline

Definition at line 74 of file test-element-access.hpp.

+ Inheritance diagram for DummyWidget:
+ Collaboration diagram for DummyWidget:

The documentation for this class was generated from the following file: