Changeset e2abfd326f in tspsg for src/globals.h
- Timestamp:
- Mar 12, 2010, 8:28:42 PM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 394216e468
- Parents:
- f19df0a3e5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/globals.h
rf19df0a3e5 re2abfd326f 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.