mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user