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
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString 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 &, void)
 

Private Attributes

std::unique_ptr< weld::Imagem_pImage
 
std::unique_ptr< weld::Labelm_pText
 
std::unique_ptr< weld::CheckButtonm_pShowTip
 
std::unique_ptr< weld::Buttonm_pNext
 
std::unique_ptr< weld::LinkButtonm_pLink
 
sal_Int32 nCurrentTip
 
sal_Int32 nNumberOfTips
 
sal_Int32 nDay
 
OUString aLink
 

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 24 of file tipofthedaydlg.hxx.

Constructor & Destructor Documentation

TipOfTheDayDialog::TipOfTheDayDialog ( weld::Window pWindow)
TipOfTheDayDialog::~TipOfTheDayDialog ( )
overridevirtual

Member Function Documentation

TipOfTheDayDialog::DECL_LINK ( OnNextClick  ,
weld::Button ,
void   
)
private
TipOfTheDayDialog::DECL_LINK ( OnLinkClick  ,
weld::LinkButton ,
void   
)
private
void TipOfTheDayDialog::UpdateTip ( )
private

Member Data Documentation

OUString TipOfTheDayDialog::aLink
private

Definition at line 36 of file tipofthedaydlg.hxx.

Referenced by UpdateTip().

std::unique_ptr<weld::Image> TipOfTheDayDialog::m_pImage
private

Definition at line 27 of file tipofthedaydlg.hxx.

Referenced by UpdateTip().

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

Definition at line 31 of file tipofthedaydlg.hxx.

Referenced by UpdateTip().

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

Definition at line 30 of file tipofthedaydlg.hxx.

Referenced by TipOfTheDayDialog().

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

Definition at line 29 of file tipofthedaydlg.hxx.

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

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

Definition at line 28 of file tipofthedaydlg.hxx.

Referenced by UpdateTip().

sal_Int32 TipOfTheDayDialog::nCurrentTip
private

Definition at line 33 of file tipofthedaydlg.hxx.

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

sal_Int32 TipOfTheDayDialog::nDay
private

Definition at line 35 of file tipofthedaydlg.hxx.

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

sal_Int32 TipOfTheDayDialog::nNumberOfTips
private

Definition at line 34 of file tipofthedaydlg.hxx.

Referenced by TipOfTheDayDialog(), and UpdateTip().


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