Changeset e2abfd326f in tspsg for src/globals.h


Ignore:
Timestamp:
Mar 12, 2010, 8:28:42 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:
394216e468
Parents:
f19df0a3e5
Message:

+ Translatable About dialog.

  • Improved installation rules in .pro file.
  • Disabled SVG and JPEG support. They aren't needed at this point.
  • Fixed a bug when labels were hardly visible under Windows Vista/7 whith translucency on and a dark background behind the application.
  • Fixed a bug when Main Window area was blank if the application was compiled using Qt < 4.6.0.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/globals.h

    rf19df0a3e5 re2abfd326f  
    3232#include <QtCore>
    3333#include <QtGui>
     34#include <limits>
    3435
    3536// Version info
     
    8990        #undef INFINITY
    9091#endif
    91 #define INFINITY 1.7E+308
     92#define INFINITY std::numeric_limits<double>::infinity()
    9293//! This string represents infinite value in the table
    9394#define INFSTR "---"
     
    104105        return (modf(x, &i) == 0.0);
    105106}
     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 */
     116void toggleStyle(QWidget *widget, bool enable);
     117#endif // Q_OS_WIN32
    106118
    107119// Sanity checks
Note: See TracChangeset for help on using the changeset viewer.