Diagram editor : add 4 tools for edit the depth (Z value) of items.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5394 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2018-06-17 18:21:56 +00:00
parent 74ac93e171
commit 52eb4b5f71
11 changed files with 209 additions and 79 deletions

View File

@@ -30,6 +30,14 @@ namespace QET {
const QString displayedVersion = "0.70-dev";
QString license();
/// List the various kind of changes for the zValue
enum DepthOption {
BringForward, ///< Bring item to the foreground so they have the highest zValue
Raise, ///< Raise item one layer above their current one; zValues are incremented
Lower, ///< Send item one layer below their current one; zValues are decremented
SendBackward ///< Send item to the background so they have the lowest zValue
};
/// Oriented movements
enum OrientedMovement {
ToNorth,
@@ -165,6 +173,8 @@ namespace QET {
bool eachStrIsEqual (const QStringList &qsl);
}
Q_DECLARE_METATYPE(QET::DepthOption)
class Qet : public QObject {
Q_OBJECT
public: