QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TitleBlockDimension Struct Reference

#include <dimension.h>

Collaboration diagram for TitleBlockDimension:
Collaboration graph

Public Member Functions

 TitleBlockDimension (int, QET::TitleBlockColumnLength=QET::Absolute)
 
QString toString () const
 
QString toShortString () const
 

Public Attributes

QET::TitleBlockColumnLength type
 Kind of length.
 
int value
 Numeric value.
 

Detailed Description

This struct is a simple container associating a length with its type.

See also
TitleBlockColumnLength

Constructor & Destructor Documentation

◆ TitleBlockDimension()

TitleBlockDimension::TitleBlockDimension ( int  v,
QET::TitleBlockColumnLength  t = QET::Absolute 
)

Constructor

Parameters
vNumeric value for this dimension
tKind of length, determining how to interpret the numeric value

Member Function Documentation

◆ toShortString()

QString TitleBlockDimension::toShortString ( ) const
Returns
a string describing this dimension in a short format.
Here is the caller graph for this function:

◆ toString()

QString TitleBlockDimension::toString ( ) const
Returns
a string describing this dimension in a human-readable format.
Here is the caller graph for this function:

Member Data Documentation

◆ type

QET::TitleBlockColumnLength TitleBlockDimension::type

Kind of length.

◆ value

int TitleBlockDimension::value

Numeric value.


The documentation for this struct was generated from the following files: