Changeset 98 in tspsg-svn for trunk/src/globals.h
- Timestamp:
- Mar 12, 2010, 8:28:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/globals.h
r97 r98 32 32 #include <QtCore> 33 33 #include <QtGui> 34 #include <limits> 34 35 35 36 // Version info … … 89 90 #undef INFINITY 90 91 #endif 91 #define INFINITY 1.7E+30892 #define INFINITY std::numeric_limits<double>::infinity() 92 93 //! This string represents infinite value in the table 93 94 #define INFSTR "---" … … 104 105 return (modf(x, &i) == 0.0); 105 106 } 107 108 #ifdef Q_OS_WIN32 109 /*! 110 * \brief Enables or disables a mask for the \a widget. 111 * \param widget A widget to toggle mask on. 112 * \param enable Set to \c true to enable mask or \c false to disable it. 113 * 114 * This function is used to enable an outlined font effect for \c QLabel with a static text. 115 */ 116 void toggleStyle(QWidget *widget, bool enable); 117 #endif // Q_OS_WIN32 106 118 107 119 // Sanity checks
Note: See TracChangeset
for help on using the changeset viewer.