Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openshot
Openshot Qt
提交
ffad0516
O
Openshot Qt
项目概览
openshot
/
Openshot Qt
通知
4
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Openshot Qt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ffad0516
编写于
9月 22, 2016
作者:
J
Jonathan Thomas
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Small refactor of the context menus on the file, effects, and transition views.
上级
f71001ef
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
6 addition
and
12 deletion
+6
-12
src/windows/views/effects_listview.py
src/windows/views/effects_listview.py
+0
-1
src/windows/views/effects_treeview.py
src/windows/views/effects_treeview.py
+0
-1
src/windows/views/files_listview.py
src/windows/views/files_listview.py
+3
-4
src/windows/views/files_treeview.py
src/windows/views/files_treeview.py
+3
-4
src/windows/views/transitions_listview.py
src/windows/views/transitions_listview.py
+0
-1
src/windows/views/transitions_treeview.py
src/windows/views/transitions_treeview.py
+0
-1
未找到文件。
src/windows/views/effects_listview.py
浏览文件 @
ffad0516
...
...
@@ -49,7 +49,6 @@ class EffectsListView(QListView):
menu
=
QMenu
(
self
)
menu
.
addAction
(
self
.
win
.
actionDetailsView
)
menu
.
addAction
(
self
.
win
.
actionThumbnailView
)
menu
.
exec_
(
QCursor
.
pos
())
def
startDrag
(
self
,
event
):
...
...
src/windows/views/effects_treeview.py
浏览文件 @
ffad0516
...
...
@@ -48,7 +48,6 @@ class EffectsTreeView(QTreeView):
app
.
context_menu_object
=
"effects"
menu
=
QMenu
(
self
)
menu
.
addAction
(
self
.
win
.
actionDetailsView
)
menu
.
addAction
(
self
.
win
.
actionThumbnailView
)
menu
.
exec_
(
QCursor
.
pos
())
...
...
src/windows/views/files_listview.py
浏览文件 @
ffad0516
...
...
@@ -77,18 +77,17 @@ class FilesListView(QListView):
menu
=
QMenu
(
self
)
menu
.
addAction
(
self
.
win
.
actionImportFiles
)
menu
.
add
Separator
(
)
menu
.
add
Action
(
self
.
win
.
actionDetailsView
)
if
self
.
selected
:
# If file selected, show file related options
menu
.
add
Action
(
self
.
win
.
actionFile_Properties
)
menu
.
add
Separator
(
)
menu
.
addAction
(
self
.
win
.
actionPreview_File
)
menu
.
addAction
(
self
.
win
.
actionSplitClip
)
menu
.
addAction
(
self
.
win
.
actionAdd_to_Timeline
)
menu
.
addAction
(
self
.
win
.
actionFile_Properties
)
menu
.
addSeparator
()
#menu.addAction(self.win.actionFile_Properties)
menu
.
addAction
(
self
.
win
.
actionRemove_from_Project
)
menu
.
addSeparator
()
menu
.
addAction
(
self
.
win
.
actionDetailsView
)
# Show menu
menu
.
exec_
(
QCursor
.
pos
())
...
...
src/windows/views/files_treeview.py
浏览文件 @
ffad0516
...
...
@@ -77,18 +77,17 @@ class FilesTreeView(QTreeView):
menu
=
QMenu
(
self
)
menu
.
addAction
(
self
.
win
.
actionImportFiles
)
menu
.
add
Separator
(
)
menu
.
add
Action
(
self
.
win
.
actionThumbnailView
)
if
self
.
selected
:
# If file selected, show file related options
menu
.
add
Action
(
self
.
win
.
actionFile_Properties
)
menu
.
add
Separator
(
)
menu
.
addAction
(
self
.
win
.
actionPreview_File
)
menu
.
addAction
(
self
.
win
.
actionSplitClip
)
menu
.
addAction
(
self
.
win
.
actionAdd_to_Timeline
)
menu
.
addAction
(
self
.
win
.
actionFile_Properties
)
menu
.
addSeparator
()
#menu.addAction(self.win.actionFile_Properties)
menu
.
addAction
(
self
.
win
.
actionRemove_from_Project
)
menu
.
addSeparator
()
menu
.
addAction
(
self
.
win
.
actionThumbnailView
)
# Show menu
menu
.
exec_
(
QCursor
.
pos
())
...
...
src/windows/views/transitions_listview.py
浏览文件 @
ffad0516
...
...
@@ -49,7 +49,6 @@ class TransitionsListView(QListView):
menu
=
QMenu
(
self
)
menu
.
addAction
(
self
.
win
.
actionDetailsView
)
menu
.
addAction
(
self
.
win
.
actionThumbnailView
)
menu
.
exec_
(
QCursor
.
pos
())
# Ignore event, propagate to parent
...
...
src/windows/views/transitions_treeview.py
浏览文件 @
ffad0516
...
...
@@ -48,7 +48,6 @@ class TransitionsTreeView(QTreeView):
app
.
context_menu_object
=
"transitions"
menu
=
QMenu
(
self
)
menu
.
addAction
(
self
.
win
.
actionDetailsView
)
menu
.
addAction
(
self
.
win
.
actionThumbnailView
)
menu
.
exec_
(
QCursor
.
pos
())
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录