Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
PWL_FLOATRANGE Struct Reference

#include <cpwl_scroll_bar.h>

+ Collaboration diagram for PWL_FLOATRANGE:

Public Member Functions

 PWL_FLOATRANGE ()=default
 
bool operator== (const PWL_FLOATRANGE &that) const
 
bool operator!= (const PWL_FLOATRANGE &that) const
 
void Reset ()
 
void Set (float min, float max)
 
bool In (float x) const
 
float GetWidth () const
 

Public Attributes

float fMin = 0.0f
 
float fMax = 0.0f
 

Detailed Description

Definition at line 42 of file cpwl_scroll_bar.h.

Constructor & Destructor Documentation

◆ PWL_FLOATRANGE()

PWL_FLOATRANGE::PWL_FLOATRANGE ( )
default

Member Function Documentation

◆ GetWidth()

float PWL_FLOATRANGE::GetWidth ( ) const

Definition at line 43 of file cpwl_scroll_bar.cpp.

References fMax, and fMin.

◆ In()

bool PWL_FLOATRANGE::In ( float x) const

Definition at line 38 of file cpwl_scroll_bar.cpp.

References fMax, and fMin.

Referenced by PWL_SCROLL_PRIVATEDATA::SetPos().

+ Here is the caller graph for this function:

◆ operator!=()

bool PWL_FLOATRANGE::operator!= ( const PWL_FLOATRANGE & that) const
inline

Definition at line 49 of file cpwl_scroll_bar.h.

References operator==().

+ Here is the call graph for this function:

◆ operator==()

bool PWL_FLOATRANGE::operator== ( const PWL_FLOATRANGE & that) const
inline

Definition at line 46 of file cpwl_scroll_bar.h.

References fMax, and fMin.

Referenced by operator!=(), and PWL_SCROLL_PRIVATEDATA::operator==().

+ Here is the caller graph for this function:

◆ Reset()

void PWL_FLOATRANGE::Reset ( )

Definition at line 28 of file cpwl_scroll_bar.cpp.

References fMax, and fMin.

Referenced by PWL_SCROLL_PRIVATEDATA::Default().

+ Here is the caller graph for this function:

◆ Set()

void PWL_FLOATRANGE::Set ( float min,
float max )

Definition at line 33 of file cpwl_scroll_bar.cpp.

References fMax, and fMin.

Referenced by PWL_SCROLL_PRIVATEDATA::SetScrollRange().

+ Here is the caller graph for this function:

Member Data Documentation

◆ fMax

◆ fMin


The documentation for this struct was generated from the following files: