radioapp/radiowidgets/inc/radiofrequencystripdef.h
changeset 54 a8ba0c289b44
parent 39 ac7857bd5fdb
child 57 21be958eb3ce
equal deleted inserted replaced
51:bbebb0235466 54:a8ba0c289b44
    56     const qreal INDICATOR_WIDTH = 2.0;
    56     const qreal INDICATOR_WIDTH = 2.0;
    57 
    57 
    58     const qreal ROUNDER = 0.5;
    58     const qreal ROUNDER = 0.5;
    59     const int SELECTOR_WIDTH = 2;
    59     const int SELECTOR_WIDTH = 2;
    60     const int SELECTOR_Z_POS = 100;
    60     const int SELECTOR_Z_POS = 100;
       
    61     const int SELECTOR_MARGIN = 3;
    61 
    62 
    62     const int ONE_HERTZ = 1000000;
    63     const int ONE_HERTZ = 1000000;
    63     const int HALF_HERTZ = ONE_HERTZ / 2;
    64     const int HALF_HERTZ = ONE_HERTZ / 2;
    64     const int ONE_TAB_DISTANCE = 20;
    65     const int ONE_TAB_DISTANCE = 20;
    65     const uint ONE_TAB_IN_HZ = uint( 0.2 * ONE_HERTZ );
    66     const uint ONE_TAB_IN_HZ = uint( 0.2 * ONE_HERTZ );
    78     #else
    79     #else
    79         const int FREQUENCY_FONT_SIZE = 6;
    80         const int FREQUENCY_FONT_SIZE = 6;
    80         const int DECIMAL_FONT_SIZE = 4;
    81         const int DECIMAL_FONT_SIZE = 4;
    81     #endif // BUILD_WIN32
    82     #endif // BUILD_WIN32
    82 
    83 
    83     const QFont FREQUENCY_FONT( "", FREQUENCY_FONT_SIZE );
    84     const QFont FREQUENCY_FONT( "", FREQUENCY_FONT_SIZE, QFont::Bold );
    84     const QFont DECIMAL_FONT( "", DECIMAL_FONT_SIZE );
    85     const QFont DECIMAL_FONT( "", DECIMAL_FONT_SIZE, QFont::Bold );
    85     const int FREQUENCY_TEXT_Y_POS = 35;
    86     const int FREQUENCY_TEXT_Y_POS = 25;
    86     const int STATION_MARKER_Y_POS = 10;
    87     const int STATION_MARKER_Y_POS = 10;
    87 
    88 
    88     static const QLatin1String SLIDE_TO_LEFT    ( "SlideToLeft" );
    89     static const QLatin1String SLIDE_TO_LEFT    ( "SlideToLeft" );
    89     static const QLatin1String SLIDE_FROM_LEFT  ( "SlideFromLeft" );
    90     static const QLatin1String SLIDE_FROM_LEFT  ( "SlideFromLeft" );
    90     static const QLatin1String SLIDE_TO_RIGHT   ( "SlideToRight" );
    91     static const QLatin1String SLIDE_TO_RIGHT   ( "SlideToRight" );