liblancelot
Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
List of all members  
  Lancelot::NodeLayout::NodeCoordinate Class Reference
  #include <NodeLayout.h>
Public Types | |
| enum | CoordinateType { Relative = 0, Absolute = 1, InnerRelative = 2 } | 
Public Member Functions | |
| NodeCoordinate (qreal xRelative=0, qreal yRelative=0, qreal xAbsolute=0, qreal yAbsolute=0) | |
Static Public Member Functions | |
| static NodeCoordinate | simple (qreal x, qreal y, CoordinateType xType=Relative, CoordinateType yType=Relative) | 
Public Attributes | |
| qreal | xa | 
| qreal | xr | 
| qreal | ya | 
| qreal | yr | 
Detailed Description
Definition at line 53 of file NodeLayout.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| Relative | |
| Absolute | |
| InnerRelative | |
Definition at line 62 of file NodeLayout.h.
Constructor & Destructor Documentation
      
  | 
  explicit | 
Position is calculated: x = parentLeft + (xRelative * parentWidth) + xAbsolute y = parentTop + (yRelative * parentHeight) + yAbsolute.
Definition at line 33 of file NodeLayout.cpp.
Member Function Documentation
      
  | 
  static | 
Definition at line 36 of file NodeLayout.cpp.
Member Data Documentation
| qreal Lancelot::NodeLayout::NodeCoordinate::xa | 
Definition at line 69 of file NodeLayout.h.
| qreal Lancelot::NodeLayout::NodeCoordinate::xr | 
Definition at line 69 of file NodeLayout.h.
| qreal Lancelot::NodeLayout::NodeCoordinate::ya | 
Definition at line 70 of file NodeLayout.h.
| qreal Lancelot::NodeLayout::NodeCoordinate::yr | 
Definition at line 70 of file NodeLayout.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:43:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:43:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference