mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-01 00:49:58 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user