QObject with ranges