Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpwl_scroll_bar.h>
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 |
Definition at line 60 of file cpwl_scroll_bar.h.
PWL_SCROLL_PRIVATEDATA::PWL_SCROLL_PRIVATEDATA | ( | ) |
Definition at line 47 of file cpwl_scroll_bar.cpp.
References Default().
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().
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().
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().
|
inline |
Definition at line 69 of file cpwl_scroll_bar.h.
References operator==().
|
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!=().
void PWL_SCROLL_PRIVATEDATA::SetBigStep | ( | float | step | ) |
Definition at line 76 of file cpwl_scroll_bar.cpp.
References fBigStep.
void PWL_SCROLL_PRIVATEDATA::SetClientWidth | ( | float | width | ) |
Definition at line 68 of file cpwl_scroll_bar.cpp.
References fClientWidth.
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().
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().
void PWL_SCROLL_PRIVATEDATA::SetSmallStep | ( | float | step | ) |
Definition at line 72 of file cpwl_scroll_bar.cpp.
References fSmallStep.
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().
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().
float PWL_SCROLL_PRIVATEDATA::fBigStep |
Definition at line 88 of file cpwl_scroll_bar.h.
Referenced by AddBig(), Default(), operator==(), SetBigStep(), and SubBig().
float PWL_SCROLL_PRIVATEDATA::fClientWidth |
Definition at line 86 of file cpwl_scroll_bar.h.
Referenced by Default(), operator==(), and SetClientWidth().
float PWL_SCROLL_PRIVATEDATA::fScrollPos |
Definition at line 87 of file cpwl_scroll_bar.h.
Referenced by AddBig(), AddSmall(), Default(), operator==(), SetPos(), SetScrollRange(), SubBig(), and SubSmall().
float PWL_SCROLL_PRIVATEDATA::fSmallStep |
Definition at line 89 of file cpwl_scroll_bar.h.
Referenced by AddSmall(), Default(), operator==(), SetSmallStep(), and SubSmall().
PWL_FLOATRANGE PWL_SCROLL_PRIVATEDATA::ScrollRange |
Definition at line 85 of file cpwl_scroll_bar.h.
Referenced by AddBig(), AddSmall(), Default(), operator==(), SetPos(), SetScrollRange(), SubBig(), and SubSmall().