20 #define _TUINODEENUM 1 22 #include "TuiNodeEditable.hpp" 25 #include <QStringList> 42 TuiNodeEnum(
const QString& text, QObject* receiver,
const char* method, QStringList items,
43 QString defValue,
TuiNode* parent=Q_NULLPTR,
TuiNode* prev=Q_NULLPTR);
45 virtual QString getDisplayText()
const;
48 void setValue(QString s);
52 QStringList stringList;
TuiNodeEnum(const QString &text, QObject *receiver, const char *method, QStringList items, QString defValue, TuiNode *parent=Q_NULLPTR, TuiNode *prev=Q_NULLPTR)
Create a TuiNodeEnum node.
Allows navigation but also selection from a list of string values.
pure virtual from which editables for different data types are derived.
TuiNode objects are linked together in a network of nodes to form the structure of a menu which may b...
A TuiNodeResponse contains a flag, "accepted" if a keystroke was accepted And a link to a node...