Changeset 7ed8b57eea in tspsg for src/defaults.h


Ignore:
Timestamp:
Aug 31, 2013, 11:52:34 PM (11 years ago)
Author:
Oleksii Serdiuk
Branches:
appveyor, imgbot, master, readme
Children:
2a5e50e0a9
Parents:
1241232377
Message:

[BB10] UI fixes:

  • added proxy style and stylesheet to fix some UI issues on BlackBerry?;
  • removed style selection option because most styles have UI issues and removed About Qt menu item because About Qt dialog is too big;
  • load bigger (128x128) icons on BlackBerry? 10;
  • removed printing related items from menu as there's no printer;
  • made dialogs to be shown maximized;
  • made solution graph smaller;
  • made font smaller;
  • made output text color black;
  • start editing table cells on single tap;
  • don't show keyboard in about dialog.

Cherry-picks from
aa64ad40827cde0a444cd8198b0f3457aa191f8f
95b0ef73dcb4517ac2ae08867494204bbe8d7ea6
ccdffe3a5f84f12fba2e2f19ab249c31f1fcf35d
628500a5d687889823197e476953859d529af4f0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/defaults.h

    r1241232377 r7ed8b57eea  
    8686//! Default for "Embed solution graph into HTML"
    8787#define DEF_EMBED_GRAPH_INTO_HTML false
    88 //! Default solution graph size in centimeters (HQ size is this size * HQ_FACTOR)
    89 #define DEF_GRAPH_WIDTH 4.5
     88/*!
     89 * \def DEF_GRAPH_WIDTH
     90 * \brief Default solution graph size in centimeters (HQ size is this size * HQ_FACTOR)
     91 */
     92#ifdef Q_OS_BLACKBERRY
     93#   define DEF_GRAPH_WIDTH 2.5
     94#else
     95#   define DEF_GRAPH_WIDTH 4.5
     96#endif
    9097//! Default for "Show solution steps' matrices for every solution step"
    9198#define DEF_SHOW_MATRIX true
     
    104111#ifdef Q_OS_SYMBIAN
    105112#   define DEF_FONT_SIZE 8
     113#elif defined(Q_OS_BLACKBERRY)
     114#   define DEF_FONT_SIZE 7
    106115#else
    107116#   define DEF_FONT_SIZE 10
    108117#endif // Q_OS_SYMBIAN
    109 //! Default solution text color
    110 #define DEF_TEXT_COLOR QApplication::palette().color(QPalette::Text)
     118/*!
     119 * \def DEF_TEXT_COLOR
     120 * \brief Default solution text color
     121 */
     122#ifdef Q_OS_BLACKBERRY
     123#   define DEF_TEXT_COLOR Qt::black
     124#else
     125#   define DEF_TEXT_COLOR QApplication::palette().color(QPalette::Text)
     126#endif
    111127//! Default selected candidate color
    112128#define DEF_SELECTED_COLOR "#008000"
Note: See TracChangeset for help on using the changeset viewer.