kopia lustrzana https://gitlab.com/eliggett/wfview
Make combobox smaller and add scrollbar
rodzic
72e8b2ec2f
commit
0b51d5bb05
|
@ -147,6 +147,11 @@ void controllerSetup::newDevice(unsigned char devType, QVector<BUTTON>* but, QVe
|
|||
|
||||
onEvent.blockSignals(true);
|
||||
offEvent.blockSignals(true);
|
||||
onEvent.setMaxVisibleItems(5);
|
||||
offEvent.setMaxVisibleItems(5);
|
||||
onEvent.view()->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||
offEvent.view()->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||
|
||||
onEvent.clear();
|
||||
offEvent.clear();
|
||||
for (COMMAND &c : *commands) {
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <QComboBox>
|
||||
#include <QLabel>
|
||||
#include <QGraphicsProxyWidget>
|
||||
#include <QAbstractItemView>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QObject>
|
||||
|
|
Ładowanie…
Reference in New Issue