LibreOffice Module vcl (master) 1
|
#include <svlbitm.hxx>
Public Member Functions | |
SvLBoxButtonData (const Control *pControlForSettings, bool _bRadioBtn) | |
~SvLBoxButtonData () | |
tools::Long | Width () |
tools::Long | Height () |
void | SetLink (const Link< SvLBoxButtonData *, void > &rLink) |
bool | IsRadio () const |
void | CallLink () |
void | StoreButtonState (SvTreeListEntry *pActEntry, SvLBoxButton *pActBox) |
SvTreeListEntry * | GetActEntry () const |
SvLBoxButton * | GetActBox () const |
void | SetImage (SvBmp nIndex, const Image &aImage) |
Image & | GetImage (SvBmp nIndex) |
void | SetDefaultImages (const Control *pControlForSettings) |
bool | HasDefaultImages () const |
Static Public Member Functions | |
static SvBmp | GetIndex (SvItemStateFlags nItemState) |
static SvButtonState | ConvertToButtonState (SvItemStateFlags nItemFlags) |
Private Member Functions | |
void | SetWidthAndHeight () |
void | InitData (bool _bRadioBtn, const Control *pControlForSettings) |
Private Attributes | |
Link< SvLBoxButtonData *, void > | aLink |
tools::Long | nWidth |
tools::Long | nHeight |
std::unique_ptr< SvLBoxButtonData_Impl > | pImpl |
bool | bDataOk |
std::vector< Image > | aBmps |
Definition at line 62 of file svlbitm.hxx.
SvLBoxButtonData::SvLBoxButtonData | ( | const Control * | pControlForSettings, |
bool | _bRadioBtn | ||
) |
Definition at line 54 of file svlbitm.cxx.
References InitData().
SvLBoxButtonData::~SvLBoxButtonData | ( | ) |
Definition at line 60 of file svlbitm.cxx.
void SvLBoxButtonData::CallLink | ( | ) |
Definition at line 64 of file svlbitm.cxx.
References aLink, and Link< typename Arg, typename Ret >::Call().
Referenced by SvLBoxButton::ClickHdl().
|
static |
Definition at line 103 of file svlbitm.cxx.
References CHECKED, Checked, TRISTATE, Tristate, UNCHECKED, and Unchecked.
Referenced by SvTreeListBox::GetCheckButtonState(), and SvHeaderTabListBox::IsItemChecked().
SvLBoxButton * SvLBoxButtonData::GetActBox | ( | ) | const |
Definition at line 127 of file svlbitm.cxx.
References pImpl.
SvTreeListEntry * SvLBoxButtonData::GetActEntry | ( | ) | const |
Definition at line 121 of file svlbitm.cxx.
References pImpl.
Referenced by SvTreeListBox::CheckButtonHdl().
Definition at line 95 of file svlbitm.hxx.
Referenced by SvLBoxButton::Paint().
|
static |
Definition at line 69 of file svlbitm.cxx.
References CHECKED, HICHECKED, HIGHLIGHTED, HITRISTATE, HIUNCHECKED, TRISTATE, and UNCHECKED.
Referenced by SvLBoxButton::Paint().
bool SvLBoxButtonData::HasDefaultImages | ( | ) | const |
Definition at line 157 of file svlbitm.cxx.
References pImpl.
Referenced by SvTreeListBox::ApplySettings(), and SvTreeListBox::InitSettings().
tools::Long SvLBoxButtonData::Height | ( | ) |
Definition at line 544 of file svlbitm.cxx.
References bDataOk, nHeight, and SetWidthAndHeight().
Referenced by SvLBoxButton::InitViewData(), and SvLBoxButton::Paint().
|
private |
Definition at line 41 of file svlbitm.cxx.
References aBmps, bDataOk, HITRISTATE, nHeight, nWidth, pImpl, and SetDefaultImages().
Referenced by SvLBoxButtonData().
bool SvLBoxButtonData::IsRadio | ( | ) | const |
Definition at line 162 of file svlbitm.cxx.
References pImpl.
Referenced by SvLBoxButton::InitViewData(), and SvLBoxButton::Paint().
void SvLBoxButtonData::SetDefaultImages | ( | const Control * | pControlForSettings | ) |
Definition at line 133 of file svlbitm.cxx.
References Checked, CHECKED, Default, DontKnow, CheckBox::GetCheckImage(), RadioButton::GetRadioImage(), Application::GetSettings(), vcl::Window::GetSettings(), HICHECKED, HITRISTATE, HIUNCHECKED, pImpl, Pressed, SetImage(), TRISTATE, and UNCHECKED.
Referenced by SvTreeListBox::ApplySettings(), InitData(), and SvTreeListBox::InitSettings().
Definition at line 94 of file svlbitm.hxx.
Referenced by SetDefaultImages().
|
inline |
Definition at line 83 of file svlbitm.hxx.
References aLink.
Referenced by SalInstanceTreeView::SalInstanceTreeView().
|
private |
Definition at line 89 of file svlbitm.cxx.
References aBmps, bDataOk, Size::Height(), nHeight, nWidth, UNCHECKED, and Size::Width().
void SvLBoxButtonData::StoreButtonState | ( | SvTreeListEntry * | pActEntry, |
SvLBoxButton * | pActBox | ||
) |
Definition at line 97 of file svlbitm.cxx.
References pImpl.
Referenced by SvLBoxButton::ClickHdl().
tools::Long SvLBoxButtonData::Width | ( | ) |
Definition at line 537 of file svlbitm.cxx.
References bDataOk, nWidth, and SetWidthAndHeight().
Referenced by SvLBoxButton::InitViewData(), and SvLBoxButton::Paint().
|
private |
Definition at line 70 of file svlbitm.hxx.
Referenced by GetImage(), InitData(), SetImage(), and SetWidthAndHeight().
|
private |
Definition at line 65 of file svlbitm.hxx.
Referenced by CallLink(), and SetLink().
|
private |
Definition at line 69 of file svlbitm.hxx.
Referenced by Height(), InitData(), SetWidthAndHeight(), and Width().
|
private |
Definition at line 67 of file svlbitm.hxx.
Referenced by Height(), InitData(), and SetWidthAndHeight().
|
private |
Definition at line 66 of file svlbitm.hxx.
Referenced by InitData(), SetWidthAndHeight(), and Width().
|
private |
Definition at line 68 of file svlbitm.hxx.
Referenced by GetActBox(), GetActEntry(), HasDefaultImages(), InitData(), IsRadio(), SetDefaultImages(), and StoreButtonState().