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

#include <about.hxx>

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

Public Member Functions

 AboutDialog (weld::Window *pParent)
 
virtual weld::DialoggetDialog () override
 
virtual ~AboutDialog () override
 
 DECL_LINK (HandleClick, weld::Button &, void)
 
 DECL_LINK (SizeAllocHdl, const Size &, void)
 
- 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 SetBuildIdLink ()
 
void SetLogo ()
 

Static Private Member Functions

static OUString GetBuildId ()
 
static OUString GetVersionString ()
 
static OUString GetCopyrightString ()
 
static OUString GetLocaleString ()
 
static bool IsStringValidGitHash (const OUString &hash)
 

Private Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::AboutDialogm_xDialog
 
std::unique_ptr< weld::Containerm_xContentArea
 
std::unique_ptr< weld::Buttonm_xCreditsButton
 
std::unique_ptr< weld::Buttonm_xWebsiteButton
 
std::unique_ptr< weld::Buttonm_xReleaseNotesButton
 
std::unique_ptr< weld::Buttonm_xCloseButton
 
BitmapEx aLogoBitmap
 
BitmapEx aBackgroundBitmap
 
OUString m_buildIdLinkString
 

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)> &)
 

Detailed Description

Definition at line 25 of file about.hxx.

Constructor & Destructor Documentation

AboutDialog::AboutDialog ( weld::Window pParent)
AboutDialog::~AboutDialog ( )
overridevirtual

Definition at line 97 of file about.cxx.

Member Function Documentation

AboutDialog::DECL_LINK ( HandleClick  ,
weld::Button ,
void   
)
AboutDialog::DECL_LINK ( SizeAllocHdl  ,
const Size ,
void   
)
OUString AboutDialog::GetBuildId ( )
staticprivate
OUString AboutDialog::GetCopyrightString ( )
staticprivate

Definition at line 327 of file about.cxx.

References CuiResId(), and utl::ConfigManager::getProductName().

Referenced by AboutDialog().

virtual weld::Dialog* AboutDialog::getDialog ( )
inlineoverridevirtual

Implements weld::DialogController.

Definition at line 52 of file about.hxx.

OUString AboutDialog::GetLocaleString ( )
staticprivate

Definition at line 217 of file about.cxx.

References pLocale.

Referenced by GetVersionString().

OUString AboutDialog::GetVersionString ( )
staticprivate
bool AboutDialog::IsStringValidGitHash ( const OUString &  hash)
staticprivate

Definition at line 237 of file about.cxx.

References i.

Referenced by SetBuildIdLink().

void AboutDialog::SetBuildIdLink ( )
private

Definition at line 141 of file about.cxx.

References GetBuildId(), IsStringValidGitHash(), m_buildIdLinkString, m_xDialog, and SAL_WARN.

Referenced by AboutDialog().

void AboutDialog::SetLogo ( )
private

Member Data Documentation

BitmapEx AboutDialog::aBackgroundBitmap
private

Definition at line 37 of file about.hxx.

BitmapEx AboutDialog::aLogoBitmap
private

Definition at line 36 of file about.hxx.

Referenced by SetLogo().

OUString AboutDialog::m_buildIdLinkString
private

Definition at line 39 of file about.hxx.

Referenced by AboutDialog(), and SetBuildIdLink().

std::unique_ptr<weld::Builder> AboutDialog::m_xBuilder
private

Definition at line 28 of file about.hxx.

std::unique_ptr<weld::Button> AboutDialog::m_xCloseButton
private

Definition at line 34 of file about.hxx.

Referenced by AboutDialog().

std::unique_ptr<weld::Container> AboutDialog::m_xContentArea
private

Definition at line 30 of file about.hxx.

Referenced by SetLogo().

std::unique_ptr<weld::Button> AboutDialog::m_xCreditsButton
private

Definition at line 31 of file about.hxx.

Referenced by AboutDialog().

std::shared_ptr<weld::AboutDialog> AboutDialog::m_xDialog
private

Definition at line 29 of file about.hxx.

Referenced by AboutDialog(), SetBuildIdLink(), and SetLogo().

std::unique_ptr<weld::Button> AboutDialog::m_xReleaseNotesButton
private

Definition at line 33 of file about.hxx.

Referenced by AboutDialog().

std::unique_ptr<weld::Button> AboutDialog::m_xWebsiteButton
private

Definition at line 32 of file about.hxx.

Referenced by AboutDialog().


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