Envision
A visual programming IDE for object-oriented languages
List of all members | Classes | Public Types | Static Public Member Functions | Private Types | Static Private Member Functions
OOVisualization::AutoLayouter Class Reference

Classes

class  Size
 

Public Types

enum  Mode { Estimated , Measured }
 

Static Public Member Functions

static void arrange (Model::Node *tree, Mode mode)
 

Private Types

enum  Direction { Horizontally , Vertically }
 
enum  Major { ColumnMajor , RowMajor }
 

Static Private Member Functions

static Size arrange (Direction d, int spaceBetween, QList< Model::Node * > nodes)
 
static Size arrangeClass (OOModel::Class *cl)
 
static Size arrangeIf (OOModel::IfStatement *ifs)
 
static Size arrangeMethod (OOModel::Method *me)
 
static Size arrangeModule (OOModel::Module *mo)
 
static Size arrangeNodesInGrid (QList< Model::Node * > nodes, Major major)
 
static Size arrangeProject (OOModel::Project *pr)
 
static Size arrangeWithBody (Model::Node *nodeWithBody, Model::Node *body)
 
static Size estimatedSize (Model::Node *node)
 
static QHash< Model::Node *, AutoLayouter::Size > & estimatedSizeMap ()
 
static Size estimateSize (Model::Node *node)
 

Member Enumeration Documentation

◆ Direction

Enumerator
Horizontally 
Vertically 

◆ Major

Enumerator
ColumnMajor 
RowMajor 

◆ Mode

Enumerator
Estimated 
Measured 

Member Function Documentation

◆ arrange() [1/2]

AutoLayouter::Size OOVisualization::AutoLayouter::arrange ( AutoLayouter::Direction  d,
int  spaceBetween,
QList< Model::Node * >  nodes 
)
staticprivate

◆ arrange() [2/2]

void OOVisualization::AutoLayouter::arrange ( Model::Node tree,
Mode  mode 
)
static

◆ arrangeClass()

AutoLayouter::Size OOVisualization::AutoLayouter::arrangeClass ( OOModel::Class cl)
staticprivate

◆ arrangeIf()

AutoLayouter::Size OOVisualization::AutoLayouter::arrangeIf ( OOModel::IfStatement ifs)
staticprivate

◆ arrangeMethod()

AutoLayouter::Size OOVisualization::AutoLayouter::arrangeMethod ( OOModel::Method me)
staticprivate

◆ arrangeModule()

AutoLayouter::Size OOVisualization::AutoLayouter::arrangeModule ( OOModel::Module mo)
staticprivate

◆ arrangeNodesInGrid()

AutoLayouter::Size OOVisualization::AutoLayouter::arrangeNodesInGrid ( QList< Model::Node * >  nodes,
AutoLayouter::Major  major 
)
staticprivate

◆ arrangeProject()

AutoLayouter::Size OOVisualization::AutoLayouter::arrangeProject ( OOModel::Project pr)
staticprivate

◆ arrangeWithBody()

AutoLayouter::Size OOVisualization::AutoLayouter::arrangeWithBody ( Model::Node nodeWithBody,
Model::Node body 
)
staticprivate

◆ estimatedSize()

AutoLayouter::Size OOVisualization::AutoLayouter::estimatedSize ( Model::Node node)
staticprivate

◆ estimatedSizeMap()

QHash< Model::Node *, AutoLayouter::Size > & OOVisualization::AutoLayouter::estimatedSizeMap ( )
staticprivate

◆ estimateSize()

AutoLayouter::Size OOVisualization::AutoLayouter::estimateSize ( Model::Node node)
staticprivate