mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-20 19:19:58 +01:00
Implemented a primitive decorator, allowing groups of primitives to be easily resized.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2027 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -43,6 +43,22 @@ namespace QET {
|
||||
ToNorthWest
|
||||
};
|
||||
|
||||
/// List areas related to some common operations
|
||||
enum OperationAreas {
|
||||
ChangeInnerPoints = -4,
|
||||
RotateArea = -3,
|
||||
MoveArea = -2,
|
||||
NoOperation = -1,
|
||||
ResizeFromTopLeftCorner = 0,
|
||||
ResizeFromTopCenterCorner = 1,
|
||||
ResizeFromTopRightCorner = 2,
|
||||
ResizeFromMiddleLeftCorner = 3,
|
||||
ResizeFromMiddleRightCorner = 4,
|
||||
ResizeFromBottomLeftCorner = 5,
|
||||
ResizeFromBottomCenterCorner = 6,
|
||||
ResizeFromBottomRightCorner = 7
|
||||
};
|
||||
|
||||
/// Known kinds of conductor segments
|
||||
enum ConductorSegmentType {
|
||||
Horizontal = 1, ///< Horizontal segment
|
||||
@@ -149,5 +165,6 @@ namespace QET {
|
||||
bool compareCanonicalFilePaths(const QString &, const QString &);
|
||||
QString titleBlockColumnLengthToString(const TitleBlockColumnLength &);
|
||||
bool writeXmlFile(QDomDocument &, const QString &, QString * = 0);
|
||||
QPointF graphicsSceneEventPos(QEvent *);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user