Mercurial > hg > svcore
annotate base/Strings.h @ 1203:932487fe515a 3.0-integration
Introduce labels in RangeMapper and use them in AudioDial, though only for tooltip at present. Make use of this for spectrogram magic -81dB/-Inf threshold. Also introduce static strings for inf/pi and use where appropriate.
author | Chris Cannam |
---|---|
date | Fri, 05 Aug 2016 17:48:52 +0100 |
parents | |
children |
rev | line source |
---|---|
Chris@1203 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@1203 | 2 |
Chris@1203 | 3 /* |
Chris@1203 | 4 Sonic Visualiser |
Chris@1203 | 5 An audio file viewer and annotation editor. |
Chris@1203 | 6 Centre for Digital Music, Queen Mary, University of London. |
Chris@1203 | 7 |
Chris@1203 | 8 This program is free software; you can redistribute it and/or |
Chris@1203 | 9 modify it under the terms of the GNU General Public License as |
Chris@1203 | 10 published by the Free Software Foundation; either version 2 of the |
Chris@1203 | 11 License, or (at your option) any later version. See the file |
Chris@1203 | 12 COPYING included with this distribution for more information. |
Chris@1203 | 13 */ |
Chris@1203 | 14 |
Chris@1203 | 15 #ifndef SV_STRINGS_H |
Chris@1203 | 16 #define SV_STRINGS_H |
Chris@1203 | 17 |
Chris@1203 | 18 #include <QString> |
Chris@1203 | 19 |
Chris@1203 | 20 class Strings |
Chris@1203 | 21 { |
Chris@1203 | 22 public: |
Chris@1203 | 23 static QString pi; |
Chris@1203 | 24 static QString minus_pi; |
Chris@1203 | 25 |
Chris@1203 | 26 static QString infinity; |
Chris@1203 | 27 static QString minus_infinity; |
Chris@1203 | 28 }; |
Chris@1203 | 29 |
Chris@1203 | 30 #endif |