00001 00028 #ifndef DEFAULTS_H 00029 #define DEFAULTS_H 00030 00032 #define DEF_NUM_CITIES 5 00033 00035 00037 #define DEF_AUTOSIZE true 00038 00042 #ifdef Q_OS_WINCE 00043 #define DEF_USE_NATIVE_DIALOGS false 00044 #else 00045 #define DEF_USE_NATIVE_DIALOGS true 00046 #endif // Q_OS_WINCE 00048 #define DEF_SAVEPOS true 00050 #define DEF_USE_TRANSLUCENCY true 00051 00053 00055 #define DEF_FRACTIONAL_ACCURACY 2 00057 #define DEF_RAND_MIN 1 00059 #define DEF_RAND_MAX 10 00061 #define DEF_FRACTIONAL_RANDOM false 00063 #define DEF_SYMMETRIC_MODE false 00064 00066 00068 #define DEF_SHOW_GRAPH true 00069 00073 #if !defined(NOSVG) && (QT_VERSION >= 0x040500) 00074 #define DEF_GRAPH_IMAGE_FORMAT "svg" 00075 #else 00076 #define DEF_GRAPH_IMAGE_FORMAT "png" 00077 #endif // NOSVG && QT_VERSION >= 0x040500 00079 #define DEF_SHOW_MATRIX true 00081 #define DEF_USE_SHOW_MATRIX_LIMIT true 00083 #define DEF_SHOW_MATRIX_LIMIT 15 00085 #define DEF_SCROLL_TO_END false 00086 00090 #ifdef Q_OS_WINCE_WM 00091 #define DEF_FONT_FAMILY "Tahoma" 00092 #else 00093 #define DEF_FONT_FAMILY "Courier New" 00094 #endif // Q_OS_WINCE_WM 00095 00099 #ifdef Q_OS_SYMBIAN 00100 #define DEF_FONT_SIZE 8 00101 #else 00102 #define DEF_FONT_SIZE 10 00103 #endif // Q_OS_SYMBIAN 00105 #define DEF_TEXT_COLOR QPalette().color(QPalette::Text) 00107 #define DEF_SELECTED_COLOR QColor(0x008000) 00109 #define DEF_ALTERNATE_COLOR QColor(0xA00000) 00110 00111 #endif // DEFAULTS_H