Introduction of classes, structs and enums related to inset templates.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1129 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2010-12-19 18:08:08 +00:00
parent d4cacb86c9
commit e11acf7b57
9 changed files with 980 additions and 0 deletions

View File

@@ -515,3 +515,16 @@ bool QET::compareCanonicalFilePaths(const QString &first, const QString &second)
return(first_canonical_path == second_canonical_path);
}
/**
@param icl an InsetColumnLength object
@see InsetColumnLength
@return a string describing the type of this InsetColumnLength object
*/
QString QET::insetColumnLengthToString(const InsetColumnLength &icl) {
QString type_str;
if (icl== Absolute) type_str = "absolute";
else if (icl == RelativeToTotalLength) type_str = "relative to total";
else if (icl == RelativeToRemainingLength) type_str = "relative to remaining";
return(type_str);
}