LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SvxIconChoiceCtrlEntry Class Reference

#include <ivctrl.hxx>

Collaboration diagram for SvxIconChoiceCtrlEntry:
[legend]

Public Member Functions

 SvxIconChoiceCtrlEntry (OUString aText, Image aImage)
 
const ImageGetImage () const
 
void SetText (const OUString &rText)
 
const OUString & GetText () const
 
OUString VCL_DLLPUBLIC GetDisplayText () const
 
void SetQuickHelpText (const OUString &rText)
 
const OUString & GetQuickHelpText () const
 
SvxIconChoiceCtrlTextMode GetTextMode () const
 
SvxIconViewFlags GetFlags () const
 
bool IsSelected () const
 
bool IsFocused () const
 
bool IsPosLocked () const
 

Private Member Functions

void ClearFlags (SvxIconViewFlags nMask)
 
void SetFlags (SvxIconViewFlags nMask)
 
void AssignFlags (SvxIconViewFlags _nFlags)
 
void SetBacklink (SvxIconChoiceCtrlEntry *pA)
 
void Unlink ()
 

Private Attributes

Image aImage
 
OUString aText
 
OUString aQuickHelpText
 
tools::Rectangle aRect
 
tools::Rectangle aGridRect
 
sal_Int32 nPos
 
SvxIconChoiceCtrlEntrypblink
 
SvxIconChoiceCtrlEntrypflink
 
SvxIconChoiceCtrlTextMode eTextMode
 
sal_uInt16 nX
 
sal_uInt16 nY
 
SvxIconViewFlags nFlags
 

Friends

class SvxIconChoiceCtrl_Impl
 
class IcnCursor_Impl
 
class EntryList_Impl
 
class IcnGridMap_Impl
 

Detailed Description

Definition at line 61 of file ivctrl.hxx.

Constructor & Destructor Documentation

◆ SvxIconChoiceCtrlEntry()

SvxIconChoiceCtrlEntry::SvxIconChoiceCtrlEntry ( OUString  aText,
Image  aImage 
)

Definition at line 57 of file ivctrl.cxx.

References NONE, nPos, and Short.

Member Function Documentation

◆ AssignFlags()

void SvxIconChoiceCtrlEntry::AssignFlags ( SvxIconViewFlags  _nFlags)
inlineprivate

Definition at line 91 of file ivctrl.hxx.

References nFlags.

Referenced by SvxIconChoiceCtrl_Impl::SelectEntry().

◆ ClearFlags()

void SvxIconChoiceCtrlEntry::ClearFlags ( SvxIconViewFlags  nMask)
inlineprivate

◆ GetDisplayText()

OUString SvxIconChoiceCtrlEntry::GetDisplayText ( ) const

Definition at line 71 of file ivctrl.cxx.

References aText, and MnemonicGenerator::EraseAllMnemonicChars().

◆ GetFlags()

SvxIconViewFlags SvxIconChoiceCtrlEntry::GetFlags ( ) const
inline

◆ GetImage()

const Image & SvxIconChoiceCtrlEntry::GetImage ( ) const
inline

Definition at line 113 of file ivctrl.hxx.

References aImage.

Referenced by SvtIconChoiceCtrl::DrawEntryImage().

◆ GetQuickHelpText()

const OUString & SvxIconChoiceCtrlEntry::GetQuickHelpText ( ) const
inline

Definition at line 118 of file ivctrl.hxx.

References aQuickHelpText.

Referenced by SvxIconChoiceCtrl_Impl::RequestHelp().

◆ GetText()

const OUString & SvxIconChoiceCtrlEntry::GetText ( ) const
inline

Definition at line 115 of file ivctrl.hxx.

References aText.

Referenced by SvtIconChoiceCtrl::GetEntryText().

◆ GetTextMode()

SvxIconChoiceCtrlTextMode SvxIconChoiceCtrlEntry::GetTextMode ( ) const
inline

Definition at line 120 of file ivctrl.hxx.

References eTextMode.

Referenced by SvxIconChoiceCtrl_Impl::CalcMaxTextRect().

◆ IsFocused()

bool SvxIconChoiceCtrlEntry::IsFocused ( ) const
inline

Definition at line 123 of file ivctrl.hxx.

References FOCUSED, and nFlags.

Referenced by SvxIconChoiceCtrl_Impl::Paint(), and SvxIconChoiceCtrl_Impl::PaintItem().

◆ IsPosLocked()

bool SvxIconChoiceCtrlEntry::IsPosLocked ( ) const
inline

◆ IsSelected()

bool SvxIconChoiceCtrlEntry::IsSelected ( ) const
inline

◆ SetBacklink()

void SvxIconChoiceCtrlEntry::SetBacklink ( SvxIconChoiceCtrlEntry pA)
inlineprivate

Definition at line 94 of file ivctrl.hxx.

References pblink, and pflink.

Referenced by SvxIconChoiceCtrl_Impl::SetEntryPredecessor().

◆ SetFlags()

void SvxIconChoiceCtrlEntry::SetFlags ( SvxIconViewFlags  nMask)
inlineprivate

Definition at line 90 of file ivctrl.hxx.

References nFlags.

Referenced by SvxIconChoiceCtrl_Impl::GetFocus(), and SvxIconChoiceCtrl_Impl::SetCursor().

◆ SetQuickHelpText()

void SvxIconChoiceCtrlEntry::SetQuickHelpText ( const OUString &  rText)
inline

Definition at line 117 of file ivctrl.hxx.

References aQuickHelpText.

Referenced by VerticalTabControl::InsertPage().

◆ SetText()

void SvxIconChoiceCtrlEntry::SetText ( const OUString &  rText)
inline

Definition at line 114 of file ivctrl.hxx.

References aText.

◆ Unlink()

void SvxIconChoiceCtrlEntry::Unlink ( )
inlineprivate

Definition at line 102 of file ivctrl.hxx.

References pblink, and pflink.

Referenced by SvxIconChoiceCtrl_Impl::SetEntryPredecessor().

Friends And Related Function Documentation

◆ EntryList_Impl

friend class EntryList_Impl
friend

Definition at line 70 of file ivctrl.hxx.

◆ IcnCursor_Impl

friend class IcnCursor_Impl
friend

Definition at line 69 of file ivctrl.hxx.

◆ IcnGridMap_Impl

friend class IcnGridMap_Impl
friend

Definition at line 71 of file ivctrl.hxx.

◆ SvxIconChoiceCtrl_Impl

friend class SvxIconChoiceCtrl_Impl
friend

Definition at line 68 of file ivctrl.hxx.

Member Data Documentation

◆ aGridRect

tools::Rectangle SvxIconChoiceCtrlEntry::aGridRect
private

◆ aImage

Image SvxIconChoiceCtrlEntry::aImage
private

Definition at line 63 of file ivctrl.hxx.

Referenced by GetImage().

◆ aQuickHelpText

OUString SvxIconChoiceCtrlEntry::aQuickHelpText
private

Definition at line 66 of file ivctrl.hxx.

Referenced by GetQuickHelpText(), and SetQuickHelpText().

◆ aRect

tools::Rectangle SvxIconChoiceCtrlEntry::aRect
private

◆ aText

OUString SvxIconChoiceCtrlEntry::aText
private

Definition at line 65 of file ivctrl.hxx.

Referenced by GetDisplayText(), GetText(), and SetText().

◆ eTextMode

SvxIconChoiceCtrlTextMode SvxIconChoiceCtrlEntry::eTextMode
private

Definition at line 85 of file ivctrl.hxx.

Referenced by GetTextMode(), and SvxIconChoiceCtrl_Impl::SetEntryTextMode().

◆ nFlags

SvxIconViewFlags SvxIconChoiceCtrlEntry::nFlags
private

Definition at line 87 of file ivctrl.hxx.

Referenced by AssignFlags(), ClearFlags(), GetFlags(), IsFocused(), IsPosLocked(), IsSelected(), and SetFlags().

◆ nPos

sal_Int32 SvxIconChoiceCtrlEntry::nPos
private

Definition at line 75 of file ivctrl.hxx.

Referenced by SvxIconChoiceCtrl_Impl::GetEntryListPos().

◆ nX

sal_uInt16 SvxIconChoiceCtrlEntry::nX
private

◆ nY

sal_uInt16 SvxIconChoiceCtrlEntry::nY
private

◆ pblink

SvxIconChoiceCtrlEntry* SvxIconChoiceCtrlEntry::pblink
private

◆ pflink

SvxIconChoiceCtrlEntry* SvxIconChoiceCtrlEntry::pflink
private

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