LibreOffice Module cui (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TipOfTheDayDialog Class Reference

#include <tipofthedaydlg.hxx>

Inheritance diagram for TipOfTheDayDialog:
[legend]
Collaboration diagram for TipOfTheDayDialog:
[legend]

Public Member Functions

 TipOfTheDayDialog (weld::Window *pWindow)
 
virtual ~TipOfTheDayDialog () override
 
 DECL_LINK (Terminated, VclWindowEvent &, void)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void UpdateTip ()
 
 DECL_LINK (OnNextClick, weld::Button &, void)
 
 DECL_LINK (OnLinkClick, weld::LinkButton &, bool)
 

Private Attributes

CuiGraphicPreviewWindow m_aPreview
 
weld::Windowm_pParent
 
std::unique_ptr< weld::Labelm_pText
 
std::unique_ptr< weld::CheckButtonm_pShowTip
 
std::unique_ptr< weld::Buttonm_pNext
 
std::unique_ptr< weld::LinkButtonm_pLink
 
std::unique_ptr< weld::CustomWeldm_pPreview
 
sal_Int32 m_nCurrentTip
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 26 of file tipofthedaydlg.hxx.

Constructor & Destructor Documentation

◆ TipOfTheDayDialog()

TipOfTheDayDialog::TipOfTheDayDialog ( weld::Window pWindow)

◆ ~TipOfTheDayDialog()

TipOfTheDayDialog::~TipOfTheDayDialog ( )
overridevirtual

Member Function Documentation

◆ DECL_LINK() [1/3]

TipOfTheDayDialog::DECL_LINK ( OnLinkClick  ,
weld::LinkButton ,
bool   
)
private

◆ DECL_LINK() [2/3]

TipOfTheDayDialog::DECL_LINK ( OnNextClick  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/3]

TipOfTheDayDialog::DECL_LINK ( Terminated  ,
VclWindowEvent ,
void   
)

◆ UpdateTip()

void TipOfTheDayDialog::UpdateTip ( )
private

Member Data Documentation

◆ m_aPreview

CuiGraphicPreviewWindow TipOfTheDayDialog::m_aPreview
private

Definition at line 29 of file tipofthedaydlg.hxx.

Referenced by UpdateTip().

◆ m_nCurrentTip

sal_Int32 TipOfTheDayDialog::m_nCurrentTip
private

Definition at line 38 of file tipofthedaydlg.hxx.

Referenced by TipOfTheDayDialog(), UpdateTip(), and ~TipOfTheDayDialog().

◆ m_pLink

std::unique_ptr<weld::LinkButton> TipOfTheDayDialog::m_pLink
private

Definition at line 35 of file tipofthedaydlg.hxx.

Referenced by UpdateTip().

◆ m_pNext

std::unique_ptr<weld::Button> TipOfTheDayDialog::m_pNext
private

Definition at line 34 of file tipofthedaydlg.hxx.

Referenced by TipOfTheDayDialog().

◆ m_pParent

weld::Window* TipOfTheDayDialog::m_pParent
private

Definition at line 30 of file tipofthedaydlg.hxx.

Referenced by ~TipOfTheDayDialog().

◆ m_pPreview

std::unique_ptr<weld::CustomWeld> TipOfTheDayDialog::m_pPreview
private

Definition at line 36 of file tipofthedaydlg.hxx.

Referenced by TipOfTheDayDialog().

◆ m_pShowTip

std::unique_ptr<weld::CheckButton> TipOfTheDayDialog::m_pShowTip
private

Definition at line 33 of file tipofthedaydlg.hxx.

Referenced by TipOfTheDayDialog(), and ~TipOfTheDayDialog().

◆ m_pText

std::unique_ptr<weld::Label> TipOfTheDayDialog::m_pText
private

Definition at line 32 of file tipofthedaydlg.hxx.

Referenced by UpdateTip().


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