extended long press time
This commit is contained in:
parent
e49607aa13
commit
d710dc9e2c
@ -15,7 +15,7 @@
|
|||||||
"name": "longPressTime",
|
"name": "longPressTime",
|
||||||
"displayName": "Long press time",
|
"displayName": "Long press time",
|
||||||
"type": "int",
|
"type": "int",
|
||||||
"defaultValue": 500
|
"defaultValue": 2000
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"vendors": [
|
"vendors": [
|
||||||
|
|||||||
@ -81,7 +81,7 @@ private:
|
|||||||
|
|
||||||
uint m_rotationValue;
|
uint m_rotationValue;
|
||||||
QTimer *m_longPressTimer = nullptr;
|
QTimer *m_longPressTimer = nullptr;
|
||||||
int m_longPressTime = 500;
|
int m_longPressTime = 2000; //default value 2 seconds
|
||||||
|
|
||||||
void showMatrix(const QByteArray &matrix, const int &seconds);
|
void showMatrix(const QByteArray &matrix, const int &seconds);
|
||||||
void printService(QLowEnergyService *service);
|
void printService(QLowEnergyService *service);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user