Stellarium 0.15.2
List of all members | Public Member Functions | Protected Attributes
TuiNodeEditable Class Referenceabstract

pure virtual from which editables for different data types are derived. More...

#include <TuiNodeEditable.hpp>

+ Inheritance diagram for TuiNodeEditable:
+ Collaboration diagram for TuiNodeEditable:

Public Member Functions

 TuiNodeEditable (const QString &text, TuiNode *parent=NULL, TuiNode *prev=NULL)
 
virtual TuiNodeResponse handleKey (int key)
 
virtual TuiNodeResponse handleEditingKey (int key)=0
 
- Public Member Functions inherited from TuiNode
 TuiNode (const QString &text, TuiNode *parent=NULL, TuiNode *prev=NULL)
 Create a TuiNode. More...
 
virtual TuiNodeResponse navigation (int key)
 
virtual QString getDisplayText ()
 
virtual TuiNodegetParentNode ()
 
virtual void setParentNode (TuiNode *n)
 
virtual TuiNodegetChildNode ()
 
virtual void setChildNode (TuiNode *n)
 This also takes ownership of the child through OObject->setParent. More...
 
virtual TuiNodegetPrevNode ()
 
virtual void setPrevNode (TuiNode *n)
 
virtual TuiNodegetNextNode ()
 
virtual void setNextNode (TuiNode *n)
 
virtual void loopToTheLast ()
 Set prevNode to the last of the chain of nextNode-s. More...
 
int getNodeNumber ()
 
QList< int > getAncestorsNumbers ()
 

Protected Attributes

bool editing
 
- Protected Attributes inherited from TuiNode
TuiNodeparentNode
 
TuiNodechildNode
 
TuiNodeprevNode
 
TuiNodenextNode
 
QString prefixText
 Text of the prefix containing the hierarchical node number. More...
 
QString displayText
 
int nodeNumber
 Number of the node in the current menu. More...
 
QList< int > ancestorsNumbers
 Contains the numbers of the parent nodes in the hierarchy. More...
 

Additional Inherited Members

- Protected Member Functions inherited from TuiNode
void updateNodeNumber ()
 Updates nodeNumber, ancestorNumbers and prefixText. More...
 

Detailed Description

pure virtual from which editables for different data types are derived.

Definition at line 28 of file TuiNodeEditable.hpp.


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