Changeset 82 in tspsg-svn for trunk/src/globals.h
- Timestamp:
- Jan 7, 2010, 3:48:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/globals.h
r81 r82 46 46 //! Default number of cities 47 47 #define DEF_NUM_CITIES 5 48 //! Default value for generating fractional random values 48 /*! 49 * \def DEF_USE_NATIVE_DIALOGS 50 * \brief Default for "Use native file dialog". 51 */ 52 #ifdef Q_OS_WINCE 53 #define DEF_USE_NATIVE_DIALOGS false 54 #else 55 #define DEF_USE_NATIVE_DIALOGS true 56 #endif // Q_OS_WINCE 57 //! Default for "Automatically resize rows and columns to their contents" 58 #define DEF_AUTOSIZE true 59 //! Default for "Save main window state and position" 60 #define DEF_SAVEPOS false 61 //! Default for "Fractional random values" 49 62 #define DEF_FRACTIONAL_RANDOM false 50 //! Default value for showing or not solution step matrices63 //! Default for "Show solution steps' matrices for every solution step" 51 64 #define DEF_SHOW_MATRIX true 52 //! Default value for using or not city limit for showing solution steps matrices65 //! Default for "Show or hide solution steps' matrices based on number of cities in the task" 53 66 #define DEF_USE_SHOW_MATRIX_LIMIT true 54 //! Default maximum number of cities to show solution step matrices55 #define DEF_SHOW_MATRIX_ CITY_LIMIT 1556 //! Default for scrolling to the end of output after solving67 //! Default for "Maximum number of cities to show solution steps' matrices" 68 #define DEF_SHOW_MATRIX_LIMIT 15 69 //! Default for "Scroll to the end of output after solving" 57 70 #define DEF_SCROLL_TO_END true 58 71 //! Default font name … … 114 127 // FUNCTIONS 115 128 /*! 116 * \brief Checks whether \a x contains an integer value 117 * \param x A value to check 118 * \return \c true if \a x countains an integer, oherwise \c false 129 * \brief Checks whether \a x contains an integer value. 130 * \param x A value to check. 131 * \return \c true if \a x countains an integer, oherwise \c false. 119 132 */ 120 133 inline bool isInteger(double x)
Note: See TracChangeset
for help on using the changeset viewer.