|
#include <ArmarXGui/gui-plugins/ConditionViewerPlugin/TermNode.h>
Public Types | |
enum | CheckTableColumns { eDataFieldCol, eCheckTypeCol, eParametersCol, eStateCol, eCurrentValueCol } |
Public Slots | |
void | checksTableSelectionChanged () |
void | graphicsItemClicked () |
void | setTermEvaluationState (bool truthy) |
void | updateValueString (const QString &valueString) |
Signals | |
void | literalClicked (int) |
void | newLiteralValue (bool truthy) |
void | newValueString (QString newValue) |
Public Member Functions | |
QString | getDatafieldValue () |
TermImplPtr | getImpl () |
void | setTermEvaluationState (TermImplPtr term) |
TermNode (TermTreeGraphicsScene *scene, QTableWidget *checksTable, TermImplPtr term, int conditionId, IceManagerPtr manager, ConditionHandlerInterfacePrx handler) | |
~TermNode () override | |
Public Member Functions inherited from TreeNode | |
void | addChild (TreeNodePtr child) |
Adds a child to the node in the tree structure. More... | |
QRectF | getBoundingBox () |
Retrieve boundingbox of the node. More... | |
std::vector< TreeNodePtr > | getChildren () const |
QSize | getSize () |
Retrieve size of the node. More... | |
QSize | getSubTreeSize () |
Retrieve size of the complete subtree where the current node is root. More... | |
TreeNode (QGraphicsScene *scene, QSize nodeSize=TreeNode::DefaultNodeSize) | |
Constructs a tree node as part of a Qt visualizable tree. More... | |
void | update (QPointF positionLeftTop=QPointF(0, 0)) |
Updates the layout of the tree. More... | |
Public Member Functions inherited from Logging | |
SpamFilterDataPtr | deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const |
disables the logging for the current line for the given amount of seconds. More... | |
MessageTypeT | getEffectiveLoggingLevel () const |
Logging () | |
void | setLocalMinimumLoggingLevel (MessageTypeT level) |
With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More... | |
void | setTag (const LogTag &tag) |
void | setTag (const std::string &tagName) |
virtual | ~Logging () |
Protected Member Functions | |
void | drawEdge (QLineF line) override |
Draws an edge to this node. More... | |
void | drawNode (QRectF boundingBox) override |
Draws the node. More... | |
void | timerEventRun () |
Protected Member Functions inherited from TreeNode | |
void | setSize (QSize nodeSize) |
Sets size of node. More... | |
Protected Member Functions inherited from Logging | |
bool | checkLogLevel (MessageTypeT level) const |
const LogSenderPtr & | getLogSender () const |
Retrieve log sender. More... | |
LogSenderPtr | loghelper (const char *file, int line, const char *function) const |
Friends | |
class | ConditionViewerWidget |
Additional Inherited Members | |
Static Public Attributes inherited from TreeNode | |
static const QSize | DefaultNodeHorizontalSeparator |
static const QSize | DefaultNodeSize |
static const QSize | DefaultNodeVerticalSeparator |
Protected Attributes inherited from Logging | |
MessageTypeT | minimumLoggingLevel |
SpamFilterDataPtr | spamFilter |
LogTag | tag |
Definition at line 47 of file TermNode.h.
enum CheckTableColumns |
Enumerator | |
---|---|
eDataFieldCol | |
eCheckTypeCol | |
eParametersCol | |
eStateCol | |
eCurrentValueCol |
Definition at line 58 of file TermNode.h.
TermNode | ( | TermTreeGraphicsScene * | scene, |
QTableWidget * | checksTable, | ||
TermImplPtr | term, | ||
int | conditionId, | ||
IceManagerPtr | manager, | ||
ConditionHandlerInterfacePrx | handler | ||
) |
|
override |
Definition at line 111 of file TermNode.cpp.
|
slot |
|
overrideprotectedvirtual |
Draws an edge to this node.
Overwrite this in order provide your own visualization.
line | line from parent to this node |
Reimplemented from TreeNode.
Definition at line 121 of file TermNode.cpp.
|
overrideprotectedvirtual |
Draws the node.
Overwrite this in order provide your own visualization.
boundingBox | of the node to be drawn |
Reimplemented from TreeNode.
Definition at line 115 of file TermNode.cpp.
QString getDatafieldValue | ( | ) |
|
inline |
Definition at line 70 of file TermNode.h.
|
slot |
Definition at line 259 of file TermNode.cpp.
|
signal |
|
signal |
|
signal |
|
slot |
void setTermEvaluationState | ( | TermImplPtr | term | ) |
|
protected |
|
slot |
|
friend |
Definition at line 112 of file TermNode.h.