1 |
// qsamplerDevice.cpp |
// qsamplerDevice.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2010, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, 2008 Christian Schoenebeck |
Copyright (C) 2007, 2008 Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
1194 |
); |
); |
1195 |
pSpinBox->setMaximum( |
pSpinBox->setMaximum( |
1196 |
(!r.param.range_max.isEmpty()) ? |
(!r.param.range_max.isEmpty()) ? |
1197 |
r.param.range_max.toInt() : (1 << 16) // or better a nigher default max value ? |
r.param.range_max.toInt() : (1 << 24) // or better a higher default max value ? |
1198 |
); |
); |
1199 |
pSpinBox->setValue(val.toInt()); |
pSpinBox->setValue(val.toInt()); |
1200 |
return pSpinBox; |
return pSpinBox; |