TSP Solver and Generator
src/defaults.h
Go to the documentation of this file.
00001 
00028 #ifndef DEFAULTS_H
00029 #define DEFAULTS_H
00030 
00032 #define DEF_NUM_CITIES 5
00033 
00035 
00037 #define DEF_AUTOSIZE true
00038 
00039 #define DEF_SAVE_LAST_USED true
00040 
00044 #ifdef Q_WS_WINCE_WM
00045 #   define DEF_USE_NATIVE_DIALOGS false
00046 #else
00047 #   define DEF_USE_NATIVE_DIALOGS true
00048 #endif // Q_WS_WINCE_WM
00049 
00050 #define DEF_SAVEPOS true
00051 
00055 #ifdef Q_WS_WIN32
00056 #   define DEF_USE_TRANSLUCENCY true
00057 #else
00058 #   define DEF_USE_TRANSLUCENCY false
00059 #endif
00060 
00061 #define DEF_CHECK_FOR_UPDATES false
00062 
00063 #define DEF_UPDATE_CHECK_INTERVAL 30
00064 
00066 
00068 #define DEF_FRACTIONAL_ACCURACY 2
00069 
00070 #define DEF_RAND_MIN 1
00071 
00072 #define DEF_RAND_MAX 10
00073 
00074 #define DEF_FRACTIONAL_RANDOM false
00075 
00076 #define DEF_SYMMETRIC_MODE false
00077 
00079 
00081 #define DEF_GENERATE_GRAPH true
00082 
00083 #define DEF_GRAPH_IMAGE_FORMAT "png"
00084 
00085 #define DEF_HQ_GRAPH false
00086 
00087 #define DEF_EMBED_GRAPH_INTO_HTML false
00088 
00089 #define DEF_GRAPH_WIDTH 4.5
00090 
00091 #define DEF_SHOW_MATRIX true
00092 
00093 #define DEF_USE_SHOW_MATRIX_LIMIT true
00094 
00095 #define DEF_SHOW_MATRIX_LIMIT 15
00096 
00097 #define DEF_SCROLL_TO_END false
00098 
00099 #define DEF_FONT_FACE "DejaVu LGC Sans Mono"
00100 
00104 #ifdef Q_WS_S60
00105 #   define DEF_FONT_SIZE 8
00106 #else
00107 #   define DEF_FONT_SIZE 10
00108 #endif // Q_WS_S60
00109 
00110 #define DEF_TEXT_COLOR QPalette().color(QPalette::Text)
00111 
00112 #define DEF_SELECTED_COLOR QColor(0x008000)
00113 
00114 #define DEF_ALTERNATE_COLOR QColor(0xA00000)
00115 
00116 #ifndef QT_NO_PRINTER
00117 
00118 #   define DEF_PAGE_SIZE QPrinter::A4
00119 
00120 #   define DEF_PAGE_ORIENTATION QPrinter::Portrait
00121 
00122 #   define DEF_MARGIN_LEFT 25
00123 
00124 #   define DEF_MARGIN_TOP 15
00125 
00126 #   define DEF_MARGIN_RIGHT DEF_MARGIN_TOP
00127 
00128 #   define DEF_MARGIN_BOTTOM DEF_MARGIN_TOP
00129 #endif
00130 
00131 #endif // DEFAULTS_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines