From: Ed Rogalsky Date: Sun, 18 Nov 2012 20:02:49 +0000 (+0100) Subject: hotfix for Contour Shuttlexpress button mapping problem X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9170b841767caddb8c2eeb5266482684f6534587;p=kdenlive hotfix for Contour Shuttlexpress button mapping problem http://www.kdenlive.org/mantis/view.php?id=2268 config button count increased to 10. This fix is very static but solves for now the problem. Will provide in future a more generic and flexible way. --- diff --git a/src/kdenlivesettingsdialog.cpp b/src/kdenlivesettingsdialog.cpp index 7afa5947..015149bc 100644 --- a/src/kdenlivesettingsdialog.cpp +++ b/src/kdenlivesettingsdialog.cpp @@ -142,6 +142,11 @@ KdenliveSettingsDialog::KdenliveSettingsDialog(const QMap& map m_shuttle_buttons.push_back(m_configShuttle.shuttle3); m_shuttle_buttons.push_back(m_configShuttle.shuttle4); m_shuttle_buttons.push_back(m_configShuttle.shuttle5); + m_shuttle_buttons.push_back(m_configShuttle.shuttle6); + m_shuttle_buttons.push_back(m_configShuttle.shuttle7); + m_shuttle_buttons.push_back(m_configShuttle.shuttle8); + m_shuttle_buttons.push_back(m_configShuttle.shuttle9); + m_shuttle_buttons.push_back(m_configShuttle.shuttle10); // populate the buttons with the current configuration. The items are sorted // according to the user-selected language, so they do not appear in random order. diff --git a/src/widgets/configjogshuttle_ui.ui b/src/widgets/configjogshuttle_ui.ui index 455a3b17..0fc35249 100644 --- a/src/widgets/configjogshuttle_ui.ui +++ b/src/widgets/configjogshuttle_ui.ui @@ -6,8 +6,8 @@ 0 0 - 287 - 253 + 327 + 393 @@ -40,6 +40,34 @@ Device configuration + + + + Button 7 + + + + + + + Button 8 + + + + + + + Button 9 + + + + + + + Button 6 + + + @@ -60,7 +88,7 @@ - Button 1 + Button 1 @@ -70,7 +98,7 @@ - Button 2 + Button 2 @@ -80,7 +108,7 @@ - Button 3 + Button 3 @@ -90,7 +118,7 @@ - Button 4 + Button 4 @@ -100,13 +128,35 @@ - Button 5 + Button 5 + + + + Button 10 + + + + + + + + + + + + + + + + + + @@ -126,16 +176,16 @@ - - KLineEdit - QLineEdit -
klineedit.h
-
KComboBox QComboBox
kcombobox.h
+ + KLineEdit + QLineEdit +
klineedit.h
+