mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 06:42:34 +01:00
Allow user to select common or custom title block as default title block for a new project / diagram in project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3912 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -128,6 +128,16 @@ namespace QET {
|
||||
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
|
||||
};
|
||||
|
||||
///Enum used to specify the origin of a collection of thing (title block, element etc...)
|
||||
enum QetCollection {
|
||||
Common, ///< From common collection
|
||||
Custom, ///< From user collection
|
||||
Embendded ///< From an embeddded collection (a project for exemple)
|
||||
};
|
||||
|
||||
QString qetCollectionToString (const QetCollection &c);
|
||||
QetCollection qetCollectionFromString (const QString &str);
|
||||
|
||||
bool lineContainsPoint(const QLineF &, const QPointF &);
|
||||
bool orthogonalProjection(const QPointF &, const QLineF &, QPointF * = 0);
|
||||
|
||||
Reference in New Issue
Block a user