[vlmc-devel] Add ClipContextMenu.qml

Yikai Lu git at videolan.org
Sun Jul 10 18:03:19 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sat Jul  9 18:54:14 2016 +0900| [68a52c152c80ac8b374edf1098e65e7300884b56] | committer: Yikai Lu

Add ClipContextMenu.qml

> https://code.videolan.org/videolan/vlmc/commit/68a52c152c80ac8b374edf1098e65e7300884b56
---

 src/Gui/timeline/ClipContextMenu.qml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/src/Gui/timeline/ClipContextMenu.qml b/src/Gui/timeline/ClipContextMenu.qml
new file mode 100644
index 0000000..87c832e
--- /dev/null
+++ b/src/Gui/timeline/ClipContextMenu.qml
@@ -0,0 +1,32 @@
+import QtQuick 2.0
+import QtQuick.Controls 1.4
+
+Menu {
+    id: clipContextMenu
+    title: "Edit"
+
+    MenuItem {
+        text: "Cut"
+        shortcut: "Ctrl+X"
+    }
+
+    MenuItem {
+        text: "Copy"
+        shortcut: "Ctrl+C"
+    }
+
+    MenuItem {
+        text: "Paste"
+        shortcut: "Ctrl+V"
+    }
+
+    MenuSeparator { }
+
+    Menu {
+        title: "More Stuff"
+
+        MenuItem {
+            text: "Do Nothing"
+        }
+    }
+}



More information about the Vlmc-devel mailing list