QRange
A powerful user-friendly tool for working with numeric ranges in Qt.
 
Loading...
Searching...
No Matches
qrange.h File Reference
#include <QtCore>

Go to the source code of this file.

Classes

class  QRange< T >
 

Enumerations

enum class  QRangeDirection { Minus = -1 , Zero = 0 , Plus = 1 }
 Enum defining the direction of the range. More...
 
enum class  QRangeSensitivity { Sensitive , Insensitive }
 Enum that determines the sensitivity of certain methods, such as contains(). More...
 

Enumeration Type Documentation

◆ QRangeDirection

enum class QRangeDirection
strong

Enum defining the direction of the range.

Enumerator
Minus 

(-1) The beginning of the range is greater than its end.

Zero 

(0) The beginning and end of the range are equal.

Plus 

(1) The beginning of the range is less than its end.

◆ QRangeSensitivity

enum class QRangeSensitivity
strong

Enum that determines the sensitivity of certain methods, such as contains().

Enumerator
Sensitive 

If QRangeSensitivity::Sensitive is set, the method will work with the operators '>' and '<'.

Insensitive 

If QRangeSensitivity::Insensitive is set, the method will work with '>=' and '<='.