mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 10:30:53 +01:00
Wrap code for better readability
This commit is contained in:
@@ -31,7 +31,8 @@ TitleBlockDimension::TitleBlockDimension(int v, QET::TitleBlockColumnLength t) :
|
||||
/**
|
||||
@return a string describing this dimension in a human-readable format.
|
||||
*/
|
||||
QString TitleBlockDimension::toString() const {
|
||||
QString TitleBlockDimension::toString() const
|
||||
{
|
||||
QString dim_str;
|
||||
if (type == QET::Absolute) {
|
||||
dim_str = QObject::tr("%1px", "titleblock: absolute width");
|
||||
@@ -46,7 +47,8 @@ QString TitleBlockDimension::toString() const {
|
||||
/**
|
||||
@return a string describing this dimension in a short format.
|
||||
*/
|
||||
QString TitleBlockDimension::toShortString() const {
|
||||
QString TitleBlockDimension::toShortString() const
|
||||
{
|
||||
QString short_string;
|
||||
if (type == QET::RelativeToTotalLength) {
|
||||
short_string = "t";
|
||||
|
||||
Reference in New Issue
Block a user