27#include <QTableWidget>
31#include <ArmarXCore/interface/observers/ConditionHandlerInterface.h>
52 static const QSize LiteralNodeSize;
53 static const QSize ExpressionNodeSize;
54 static const QSize ConditionRootNodeSize;
68 QTableWidget* checksTable,
72 ConditionHandlerInterfacePrx handler);
81 QString getDatafieldValue();
84 void graphicsItemClicked();
85 void checksTableSelectionChanged();
86 void updateValueString(
const QString& valueString);
87 void setTermEvaluationState(
bool truthy);
94 void drawNode(QRectF boundingBox)
override;
107 QTableWidget* checksTable;
109 std::string literaldatafieldName;
111 std::recursive_mutex dataMutex;
114 ConditionHandlerInterfacePrx handler;
#define ARMARXCOMPONENT_IMPORT_EXPORT
void drawNode(QRectF boundingBox) override
Draws the node.
void newValueString(QString newValue)
void newLiteralValue(bool truthy)
friend class ConditionViewerWidget
void drawEdge(QLineF line) override
Draws an edge to this node.
TermNode(TermTreeGraphicsScene *scene, QTableWidget *checksTable, TermImplPtr term, int conditionId, IceManagerPtr manager, ConditionHandlerInterfacePrx handler)
TreeNode(QGraphicsScene *scene, QSize nodeSize=TreeNode::DefaultNodeSize)
Constructs a tree node as part of a Qt visualizable tree.
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::weak_ptr< TermNode > TermNodeWeakPtr
std::shared_ptr< TermNode > TermNodePtr
IceInternal::Handle< DatafieldRef > DatafieldRefPtr
IceInternal::Handle< TermImpl > TermImplPtr
Typedef of TermImplPtr as IceInternal::Handle<TermImpl> for convenience.
IceUtil::Handle< IceManager > IceManagerPtr
IceManager smart pointer.