Changeset 628500a5d6 in tspsg for src/defaults.h


Ignore:
Timestamp:
Mar 31, 2013, 9:25:38 PM (11 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.4.170-beta2-bb10
Children:
c039ebbe82
Parents:
ccdffe3a5f
git-author:
Oleksii Serdiuk <contacts@…> (03/31/13 21:25:38)
git-committer:
Oleksii Serdiuk <contacts@…> (03/31/13 21:46:09)
Message:

UI fixes:

  • made graph smaller;
  • made font smaller;
  • made output text color black;
  • start editing table cells on single tap;
  • don't show keyboard in about dialog.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/defaults.h

    rccdffe3a5f r628500a5d6  
    8787#define DEF_EMBED_GRAPH_INTO_HTML false
    8888//! Default solution graph size in centimeters (HQ size is this size * HQ_FACTOR)
    89 #define DEF_GRAPH_WIDTH 4.5
     89#ifdef Q_OS_BLACKBERRY
     90#   define DEF_GRAPH_WIDTH 2.5
     91#else
     92#   define DEF_GRAPH_WIDTH 4.5
     93#endif
    9094//! Default for "Show solution steps' matrices for every solution step"
    9195#define DEF_SHOW_MATRIX true
     
    104108#ifdef Q_WS_S60
    105109#   define DEF_FONT_SIZE 8
     110#elif defined(Q_OS_BLACKBERRY)
     111#   define DEF_FONT_SIZE 7
    106112#else
    107113#   define DEF_FONT_SIZE 10
    108114#endif // Q_WS_S60
    109115//! Default text color
    110 #define DEF_TEXT_COLOR QPalette().color(QPalette::Text)
     116#ifdef Q_OS_BLACKBERRY
     117#   define DEF_TEXT_COLOR Qt::black
     118#else
     119#   define DEF_TEXT_COLOR QPalette().color(QPalette::Text)
     120#endif
    111121//! Default selected candidate color
    112122#define DEF_SELECTED_COLOR QColor(0x008000)
Note: See TracChangeset for help on using the changeset viewer.