Changeset 946f442ab0 in tspsg for src/globals.h


Ignore:
Timestamp:
Jan 7, 2010, 3:48:24 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
354e06314f
Parents:
f1fb54b9f7
Message:

+ Added the ability to select between using Native and Qt's File Dialog.

  • Updated translations to reflect changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/globals.h

    rf1fb54b9f7 r946f442ab0  
    4646//! Default number of cities
    4747#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"
    4962#define DEF_FRACTIONAL_RANDOM false
    50 //! Default value for showing or not solution step matrices
     63//! Default for "Show solution steps' matrices for every solution step"
    5164#define DEF_SHOW_MATRIX true
    52 //! Default value for using or not city limit for showing solution steps matrices
     65//! Default for "Show or hide solution steps' matrices based on number of cities in the task"
    5366#define DEF_USE_SHOW_MATRIX_LIMIT true
    54 //! Default maximum number of cities to show solution step matrices
    55 #define DEF_SHOW_MATRIX_CITY_LIMIT 15
    56 //! Default for scrolling to the end of output after solving
     67//! 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"
    5770#define DEF_SCROLL_TO_END true
    5871//! Default font name
     
    114127// FUNCTIONS
    115128/*!
    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.
    119132 */
    120133inline bool isInteger(double x)
Note: See TracChangeset for help on using the changeset viewer.