Ref T404, added horizontal combobox for hotkeys

This commit is contained in:
Klaus Basan
2018-11-07 02:58:57 +01:00
parent c862136126
commit 021a9a53e5
5 changed files with 108 additions and 10 deletions

View File

@@ -12,18 +12,17 @@
#ifndef BLACKGUI_COMPONENTS_HOTKEYDIALOG_H
#define BLACKGUI_COMPONENTS_HOTKEYDIALOG_H
#include "blackgui/blackguiexport.h"
#include "blackgui/models/actionmodel.h"
#include "blackgui/horizontalcombobox.h"
#include "blackgui/blackguiexport.h"
#include "blackmisc/identifierlist.h"
#include "blackmisc/input/actionhotkey.h"
#include <QComboBox>
#include <QDialog>
#include <QObject>
#include <QScopedPointer>
class QItemSelection;
class QWidget;
namespace BlackCore { class CInputManager; }
namespace BlackMisc { namespace Input { class CHotkeyCombination; } }
@@ -35,7 +34,7 @@ namespace BlackGui
/*!
* ComboBox for selecting keyboard keys
*/
class BLACKGUI_EXPORT CKeySelectionBox : public QComboBox
class BLACKGUI_EXPORT CKeySelectionBox : public CHorizontalComboBox
{
Q_OBJECT