manage conflicting hotkeys in QComboBox, QLineEdit, QSpinBox

This commit is contained in:
Garux
2022-12-20 23:41:16 +06:00
parent 88a03b07be
commit 2ed868d254
8 changed files with 145 additions and 25 deletions

View File

@@ -45,7 +45,7 @@
#include "gtkmisc.h"
#include <QCheckBox>
#include <QComboBox>
#include "gtkutil/combobox.h"
#include <QSlider>
#include <QRadioButton>
#include <QButtonGroup>
@@ -411,7 +411,7 @@ QCheckBox* Dialog::addCheckBox( QGridLayout* grid, const char* name, const char*
}
QComboBox* Dialog::addCombo( QGridLayout* grid, const char* name, StringArrayRange values, const IntImportCallback& importViewer, const IntExportCallback& exportViewer ){
auto combo = new QComboBox;
auto combo = new ComboBox;
for ( const char *value : values )
combo->addItem( value );