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_SCROLL_PRIVATEDATA Struct Reference

#include <cpwl_scroll_bar.h>

+ Collaboration diagram for PWL_SCROLL_PRIVATEDATA:

Public Member Functions

 PWL_SCROLL_PRIVATEDATA ()
 
bool operator== (const PWL_SCROLL_PRIVATEDATA &that) const
 
bool operator!= (const PWL_SCROLL_PRIVATEDATA &that) const
 
void Default ()
 
void SetScrollRange (float min, float max)
 
void SetClientWidth (float width)
 
void SetSmallStep (float step)
 
void SetBigStep (float step)
 
bool SetPos (float pos)
 
void AddSmall ()
 
void SubSmall ()
 
void AddBig ()
 
void SubBig ()
 

Public Attributes

PWL_FLOATRANGE ScrollRange
 
float fClientWidth
 
float fScrollPos
 
float fBigStep
 
float fSmallStep
 

Detailed Description

Definition at line 60 of file cpwl_scroll_bar.h.

Constructor & Destructor Documentation

◆ PWL_SCROLL_PRIVATEDATA()

PWL_SCROLL_PRIVATEDATA::PWL_SCROLL_PRIVATEDATA ( )

Definition at line 47 of file cpwl_scroll_bar.cpp.

References Default().

+ Here is the call graph for this function:

Member Function Documentation

◆ AddBig()

void PWL_SCROLL_PRIVATEDATA::AddBig ( )

Definition at line 98 of file cpwl_scroll_bar.cpp.

References fBigStep, PWL_FLOATRANGE::fMax, fScrollPos, ScrollRange, and SetPos().

Referenced by CPWL_ScrollBar::OnLButtonDown().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddSmall()

void PWL_SCROLL_PRIVATEDATA::AddSmall ( )

Definition at line 88 of file cpwl_scroll_bar.cpp.

References PWL_FLOATRANGE::fMax, fScrollPos, fSmallStep, ScrollRange, and SetPos().

Referenced by CPWL_ScrollBar::OnTimerFired().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Default()

void PWL_SCROLL_PRIVATEDATA::Default ( )

Definition at line 51 of file cpwl_scroll_bar.cpp.

References fBigStep, fClientWidth, PWL_FLOATRANGE::fMin, fScrollPos, fSmallStep, PWL_FLOATRANGE::Reset(), and ScrollRange.

Referenced by PWL_SCROLL_PRIVATEDATA().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator!=()

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

Definition at line 69 of file cpwl_scroll_bar.h.

References operator==().

+ Here is the call graph for this function:

◆ operator==()

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

Definition at line 64 of file cpwl_scroll_bar.h.

References fBigStep, fClientWidth, fScrollPos, fSmallStep, PWL_FLOATRANGE::operator==(), and ScrollRange.

Referenced by CPWL_ScrollBar::OnTimerFired(), and operator!=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBigStep()

void PWL_SCROLL_PRIVATEDATA::SetBigStep ( float step)

Definition at line 76 of file cpwl_scroll_bar.cpp.

References fBigStep.

◆ SetClientWidth()

void PWL_SCROLL_PRIVATEDATA::SetClientWidth ( float width)

Definition at line 68 of file cpwl_scroll_bar.cpp.

References fClientWidth.

◆ SetPos()

bool PWL_SCROLL_PRIVATEDATA::SetPos ( float pos)

Definition at line 80 of file cpwl_scroll_bar.cpp.

References fScrollPos, PWL_FLOATRANGE::In(), and ScrollRange.

Referenced by AddBig(), AddSmall(), SubBig(), and SubSmall().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetScrollRange()

void PWL_SCROLL_PRIVATEDATA::SetScrollRange ( float min,
float max )

Definition at line 59 of file cpwl_scroll_bar.cpp.

References PWL_FLOATRANGE::fMax, PWL_FLOATRANGE::fMin, fScrollPos, ScrollRange, and PWL_FLOATRANGE::Set().

+ Here is the call graph for this function:

◆ SetSmallStep()

void PWL_SCROLL_PRIVATEDATA::SetSmallStep ( float step)

Definition at line 72 of file cpwl_scroll_bar.cpp.

References fSmallStep.

◆ SubBig()

void PWL_SCROLL_PRIVATEDATA::SubBig ( )

Definition at line 103 of file cpwl_scroll_bar.cpp.

References fBigStep, PWL_FLOATRANGE::fMin, fScrollPos, ScrollRange, and SetPos().

Referenced by CPWL_ScrollBar::OnLButtonDown().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SubSmall()

void PWL_SCROLL_PRIVATEDATA::SubSmall ( )

Definition at line 93 of file cpwl_scroll_bar.cpp.

References PWL_FLOATRANGE::fMin, fScrollPos, fSmallStep, ScrollRange, and SetPos().

Referenced by CPWL_ScrollBar::OnTimerFired().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ fBigStep

float PWL_SCROLL_PRIVATEDATA::fBigStep

Definition at line 88 of file cpwl_scroll_bar.h.

Referenced by AddBig(), Default(), operator==(), SetBigStep(), and SubBig().

◆ fClientWidth

float PWL_SCROLL_PRIVATEDATA::fClientWidth

Definition at line 86 of file cpwl_scroll_bar.h.

Referenced by Default(), operator==(), and SetClientWidth().

◆ fScrollPos

float PWL_SCROLL_PRIVATEDATA::fScrollPos

◆ fSmallStep

float PWL_SCROLL_PRIVATEDATA::fSmallStep

Definition at line 89 of file cpwl_scroll_bar.h.

Referenced by AddSmall(), Default(), operator==(), SetSmallStep(), and SubSmall().

◆ ScrollRange

PWL_FLOATRANGE PWL_SCROLL_PRIVATEDATA::ScrollRange

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