Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
luyikei
VLMC
Commits
fa2e5431
Commit
fa2e5431
authored
Dec 09, 2009
by
Hugo Beauzee-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render preview and video preview shortcut are now editable.
parent
41f72688
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
src/Commands/KeyboardShortcutHelper.cpp
src/Commands/KeyboardShortcutHelper.cpp
+0
-1
src/GUI/MainWindow.cpp
src/GUI/MainWindow.cpp
+2
-2
src/GUI/settings/KeyboardShortcut.cpp
src/GUI/settings/KeyboardShortcut.cpp
+0
-1
No files found.
src/Commands/KeyboardShortcutHelper.cpp
View file @
fa2e5431
...
...
@@ -16,6 +16,5 @@ KeyboardShortcutHelper::KeyboardShortcutHelper( const QString& name, QWidget* pa
void
KeyboardShortcutHelper
::
shortcutUpdated
(
const
QVariant
&
value
)
{
qDebug
()
<<
"Key sequence updated:"
<<
value
.
toString
();
setKey
(
QKeySequence
(
value
.
toString
()
)
);
}
src/GUI/MainWindow.cpp
View file @
fa2e5431
...
...
@@ -240,7 +240,7 @@ void MainWindow::initializeDockWidgets( void )
Qt
::
AllDockWidgetAreas
,
QDockWidget
::
AllDockWidgetFeatures
,
Qt
::
TopDockWidgetArea
);
Q
Shortcut
*
clipShortcut
=
new
QShortcut
(
QKeySequence
(
tr
(
"Ctrl+Return"
,
"Start clip
preview"
)
)
,
this
);
Keyboard
Shortcut
Helper
*
clipShortcut
=
new
KeyboardShortcutHelper
(
"Launch media
preview"
,
this
);
connect
(
clipShortcut
,
SIGNAL
(
activated
()
),
m_clipPreview
,
SLOT
(
on_pushButtonPlay_clicked
()
)
);
m_projectPreview
=
new
PreviewWidget
(
workflowRenderer
,
this
);
...
...
@@ -249,7 +249,7 @@ void MainWindow::initializeDockWidgets( void )
Qt
::
AllDockWidgetAreas
,
QDockWidget
::
AllDockWidgetFeatures
,
Qt
::
TopDockWidgetArea
);
Q
Shortcut
*
renderShortcut
=
new
QShortcut
(
QKeySequence
(
tr
(
"Space"
,
"Start render preview"
)
)
,
this
);
Keyboard
Shortcut
Helper
*
renderShortcut
=
new
KeyboardShortcutHelper
(
"Start render preview"
,
this
);
connect
(
renderShortcut
,
SIGNAL
(
activated
()
),
m_projectPreview
,
SLOT
(
on_pushButtonPlay_clicked
()
)
);
dockManager
->
addDockedWidget
(
UndoStack
::
getInstance
(
this
),
...
...
src/GUI/settings/KeyboardShortcut.cpp
View file @
fa2e5431
...
...
@@ -61,6 +61,5 @@ void KeyboardShortcut::save()
void
KeyboardShortcut
::
shortcutUpdated
(
const
QString
&
name
,
const
QString
&
value
)
{
qDebug
()
<<
"Shortcut updated:"
<<
name
<<
"value:"
<<
value
;
SettingsManager
::
getInstance
()
->
setValue
(
"keyboard_shortcut"
,
name
,
value
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment