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

@@ -97,6 +97,13 @@ namespace QET {
ElementsArea ///< Exporte le contenu du schema sans le cadre et le cartouche
};
/// enum used to specify the type of a length
enum InsetColumnLength {
Absolute, ///< the length is absolute and should be applied as is
RelativeToTotalLength, ///< the length is just a fraction of the total available length
RelativeToRemainingLength ///< the length is just a fraction of the length that is still available when other types of lengths have been removed
};
QET::Orientation nextOrientation(QET::Orientation);
QET::Orientation previousOrientation(QET::Orientation);
QET::Orientation orientationFromString(const QString &);
@@ -125,5 +132,6 @@ namespace QET {
QString pointerString(void *);
qreal correctAngle(const qreal &);
bool compareCanonicalFilePaths(const QString &, const QString &);
QString insetColumnLengthToString(const InsetColumnLength &);
}
#endif