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

#include <dinfdlg.hxx>

Public Member Functions

 CustomPropertiesDurationField (std::unique_ptr< weld::Entry > xEntry, std::unique_ptr< weld::Button > xEditButton)
 
void SetDuration (const css::util::Duration &rDuration)
 
const css::util::Duration & GetDuration () const
 
void set_visible (bool bVisible)
 
 ~CustomPropertiesDurationField ()
 

Private Member Functions

 DECL_LINK (ClickHdl, weld::Button &, void)
 

Private Attributes

css::util::Duration m_aDuration
 
std::unique_ptr< weld::Entrym_xEntry
 
std::unique_ptr< weld::Buttonm_xEditButton
 
std::shared_ptr< DurationDialog_Implm_xDurationDialog
 

Detailed Description

Definition at line 295 of file dinfdlg.hxx.

Constructor & Destructor Documentation

◆ CustomPropertiesDurationField()

CustomPropertiesDurationField::CustomPropertiesDurationField ( std::unique_ptr< weld::Entry xEntry,
std::unique_ptr< weld::Button xEditButton 
)

Definition at line 1292 of file dinfdlg.cxx.

References LINK, m_xEditButton, and SetDuration().

◆ ~CustomPropertiesDurationField()

CustomPropertiesDurationField::~CustomPropertiesDurationField ( )

Definition at line 1333 of file dinfdlg.cxx.

References m_xDurationDialog, and RET_CANCEL.

Member Function Documentation

◆ DECL_LINK()

CustomPropertiesDurationField::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private

◆ GetDuration()

const css::util::Duration & CustomPropertiesDurationField::GetDuration ( ) const
inline

Definition at line 308 of file dinfdlg.hxx.

◆ set_visible()

void CustomPropertiesDurationField::set_visible ( bool  bVisible)

Definition at line 1301 of file dinfdlg.cxx.

References bVisible, m_xEditButton, and m_xEntry.

◆ SetDuration()

void CustomPropertiesDurationField::SetDuration ( const css::util::Duration &  rDuration)

Definition at line 1307 of file dinfdlg.cxx.

References m_aDuration, m_xEntry, and SfxResId().

Referenced by CustomPropertiesDurationField().

Member Data Documentation

◆ m_aDuration

css::util::Duration CustomPropertiesDurationField::m_aDuration
private

Definition at line 297 of file dinfdlg.hxx.

Referenced by SetDuration().

◆ m_xDurationDialog

std::shared_ptr<DurationDialog_Impl> CustomPropertiesDurationField::m_xDurationDialog
private

Definition at line 300 of file dinfdlg.hxx.

Referenced by ~CustomPropertiesDurationField().

◆ m_xEditButton

std::unique_ptr<weld::Button> CustomPropertiesDurationField::m_xEditButton
private

Definition at line 299 of file dinfdlg.hxx.

Referenced by CustomPropertiesDurationField(), and set_visible().

◆ m_xEntry

std::unique_ptr<weld::Entry> CustomPropertiesDurationField::m_xEntry
private

Definition at line 298 of file dinfdlg.hxx.

Referenced by set_visible(), and SetDuration().


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