LibreOffice Module sd (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
SdStartPresentationDlg Class Reference

Dialog to define optionsm_xnd to start the presentation. More...

#include <present.hxx>

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

Public Member Functions

 SdStartPresentationDlg (weld::Window *pWindow, const SfxItemSet &rInAttrs, const std::vector< OUString > &rPageNames, SdCustomShowList *pCSList)
 
virtual ~SdStartPresentationDlg () override
 
void GetAttr (SfxItemSet &rOutAttrs)
 sets the selected attributes of the dialog More...
 
- 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 Types

enum  DisplayType {
  EXTERNAL_IS_NUMBER ,
  MONITOR_NORMAL ,
  MONITOR_IS_EXTERNAL
}
 

Private Member Functions

 DECL_LINK (ChangeRangeHdl, weld::Toggleable &, void)
 
 DECL_LINK (ClickWindowPresentationHdl, weld::Toggleable &, void)
 
void ChangePause ()
 
 DECL_LINK (ChangePauseHdl, weld::FormattedSpinButton &, void)
 
void InitMonitorSettings ()
 
sal_Int32 InsertDisplayEntry (const OUString &aName, sal_Int32 nDisplay)
 Store display index together with name in user data. More...
 
OUString GetDisplayName (sal_Int32 nDisplay, DisplayType eType)
 

Private Attributes

SdCustomShowListpCustomShowList
 
const SfxItemSetrOutAttrs
 
sal_Int32 mnMonitors
 
std::unique_ptr< weld::RadioButtonm_xRbtAll
 
std::unique_ptr< weld::RadioButtonm_xRbtAtDia
 
std::unique_ptr< weld::RadioButtonm_xRbtCustomshow
 
std::unique_ptr< weld::ComboBoxm_xLbDias
 
std::unique_ptr< weld::ComboBoxm_xLbCustomshow
 
std::unique_ptr< weld::RadioButtonm_xRbtStandard
 
std::unique_ptr< weld::RadioButtonm_xRbtWindow
 
std::unique_ptr< weld::RadioButtonm_xRbtAuto
 
std::unique_ptr< weld::FormattedSpinButtonm_xTmfPause
 
std::unique_ptr< weld::TimeFormatterm_xFormatter
 
std::unique_ptr< weld::CheckButtonm_xCbxAutoLogo
 
std::unique_ptr< weld::CheckButtonm_xCbxManuel
 
std::unique_ptr< weld::CheckButtonm_xCbxMousepointer
 
std::unique_ptr< weld::CheckButtonm_xCbxPen
 
std::unique_ptr< weld::CheckButtonm_xCbxAnimationAllowed
 
std::unique_ptr< weld::CheckButtonm_xCbxChangePage
 
std::unique_ptr< weld::CheckButtonm_xCbxAlwaysOnTop
 
std::unique_ptr< weld::CheckButtonm_xCbxShowNavigationButton
 
std::unique_ptr< weld::Labelm_xFtMonitor
 
std::unique_ptr< weld::ComboBoxm_xLBMonitor
 
std::unique_ptr< weld::Labelm_xMonitor
 
std::unique_ptr< weld::Labelm_xAllMonitors
 
std::unique_ptr< weld::Labelm_xMonitorExternal
 
std::unique_ptr< weld::Labelm_xExternal
 

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

Dialog to define optionsm_xnd to start the presentation.

Definition at line 31 of file present.hxx.

Member Enumeration Documentation

◆ DisplayType

Enumerator
EXTERNAL_IS_NUMBER 
MONITOR_NORMAL 
MONITOR_IS_EXTERNAL 

Definition at line 73 of file present.hxx.

Constructor & Destructor Documentation

◆ SdStartPresentationDlg()

SdStartPresentationDlg::SdStartPresentationDlg ( weld::Window pWindow,
const SfxItemSet rInAttrs,
const std::vector< OUString > &  rPageNames,
SdCustomShowList pCSList 
)

◆ ~SdStartPresentationDlg()

SdStartPresentationDlg::~SdStartPresentationDlg ( )
overridevirtual

Definition at line 143 of file present.cxx.

Member Function Documentation

◆ ChangePause()

void SdStartPresentationDlg::ChangePause ( )
private

Definition at line 317 of file present.cxx.

References m_xCbxAutoLogo, m_xFormatter, and m_xRbtAuto.

Referenced by SdStartPresentationDlg().

◆ DECL_LINK() [1/3]

SdStartPresentationDlg::DECL_LINK ( ChangePauseHdl  ,
weld::FormattedSpinButton ,
void   
)
private

◆ DECL_LINK() [2/3]

SdStartPresentationDlg::DECL_LINK ( ChangeRangeHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/3]

SdStartPresentationDlg::DECL_LINK ( ClickWindowPresentationHdl  ,
weld::Toggleable ,
void   
)
private

◆ GetAttr()

void SdStartPresentationDlg::GetAttr ( SfxItemSet rOutAttrs)

◆ GetDisplayName()

OUString SdStartPresentationDlg::GetDisplayName ( sal_Int32  nDisplay,
DisplayType  eType 
)
private

◆ InitMonitorSettings()

void SdStartPresentationDlg::InitMonitorSettings ( )
private

◆ InsertDisplayEntry()

sal_Int32 SdStartPresentationDlg::InsertDisplayEntry ( const OUString &  aName,
sal_Int32  nDisplay 
)
private

Store display index together with name in user data.

Definition at line 171 of file present.cxx.

References aName, and m_xLBMonitor.

Referenced by InitMonitorSettings().

Member Data Documentation

◆ m_xAllMonitors

std::unique_ptr<weld::Label> SdStartPresentationDlg::m_xAllMonitors
private

Definition at line 63 of file present.hxx.

Referenced by InitMonitorSettings().

◆ m_xCbxAlwaysOnTop

std::unique_ptr<weld::CheckButton> SdStartPresentationDlg::m_xCbxAlwaysOnTop
private

Definition at line 56 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xCbxAnimationAllowed

std::unique_ptr<weld::CheckButton> SdStartPresentationDlg::m_xCbxAnimationAllowed
private

Definition at line 54 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xCbxAutoLogo

std::unique_ptr<weld::CheckButton> SdStartPresentationDlg::m_xCbxAutoLogo
private

Definition at line 49 of file present.hxx.

Referenced by ChangePause(), GetAttr(), and SdStartPresentationDlg().

◆ m_xCbxChangePage

std::unique_ptr<weld::CheckButton> SdStartPresentationDlg::m_xCbxChangePage
private

Definition at line 55 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xCbxManuel

std::unique_ptr<weld::CheckButton> SdStartPresentationDlg::m_xCbxManuel
private

Definition at line 51 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xCbxMousepointer

std::unique_ptr<weld::CheckButton> SdStartPresentationDlg::m_xCbxMousepointer
private

Definition at line 52 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xCbxPen

std::unique_ptr<weld::CheckButton> SdStartPresentationDlg::m_xCbxPen
private

Definition at line 53 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xCbxShowNavigationButton

std::unique_ptr<weld::CheckButton> SdStartPresentationDlg::m_xCbxShowNavigationButton
private

Definition at line 57 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xExternal

std::unique_ptr<weld::Label> SdStartPresentationDlg::m_xExternal
private

Definition at line 65 of file present.hxx.

Referenced by GetDisplayName().

◆ m_xFormatter

std::unique_ptr<weld::TimeFormatter> SdStartPresentationDlg::m_xFormatter
private

Definition at line 48 of file present.hxx.

Referenced by ChangePause(), GetAttr(), and SdStartPresentationDlg().

◆ m_xFtMonitor

std::unique_ptr<weld::Label> SdStartPresentationDlg::m_xFtMonitor
private

Definition at line 59 of file present.hxx.

Referenced by InitMonitorSettings().

◆ m_xLbCustomshow

std::unique_ptr<weld::ComboBox> SdStartPresentationDlg::m_xLbCustomshow
private

Definition at line 42 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xLbDias

std::unique_ptr<weld::ComboBox> SdStartPresentationDlg::m_xLbDias
private

Definition at line 41 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xLBMonitor

std::unique_ptr<weld::ComboBox> SdStartPresentationDlg::m_xLBMonitor
private

Definition at line 60 of file present.hxx.

Referenced by GetAttr(), InitMonitorSettings(), and InsertDisplayEntry().

◆ m_xMonitor

std::unique_ptr<weld::Label> SdStartPresentationDlg::m_xMonitor
private

Definition at line 62 of file present.hxx.

Referenced by GetDisplayName().

◆ m_xMonitorExternal

std::unique_ptr<weld::Label> SdStartPresentationDlg::m_xMonitorExternal
private

Definition at line 64 of file present.hxx.

Referenced by GetDisplayName().

◆ m_xRbtAll

std::unique_ptr<weld::RadioButton> SdStartPresentationDlg::m_xRbtAll
private

Definition at line 38 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xRbtAtDia

std::unique_ptr<weld::RadioButton> SdStartPresentationDlg::m_xRbtAtDia
private

Definition at line 39 of file present.hxx.

Referenced by SdStartPresentationDlg().

◆ m_xRbtAuto

std::unique_ptr<weld::RadioButton> SdStartPresentationDlg::m_xRbtAuto
private

Definition at line 46 of file present.hxx.

Referenced by ChangePause(), GetAttr(), and SdStartPresentationDlg().

◆ m_xRbtCustomshow

std::unique_ptr<weld::RadioButton> SdStartPresentationDlg::m_xRbtCustomshow
private

Definition at line 40 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xRbtStandard

std::unique_ptr<weld::RadioButton> SdStartPresentationDlg::m_xRbtStandard
private

Definition at line 44 of file present.hxx.

Referenced by SdStartPresentationDlg().

◆ m_xRbtWindow

std::unique_ptr<weld::RadioButton> SdStartPresentationDlg::m_xRbtWindow
private

Definition at line 45 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ m_xTmfPause

std::unique_ptr<weld::FormattedSpinButton> SdStartPresentationDlg::m_xTmfPause
private

Definition at line 47 of file present.hxx.

Referenced by SdStartPresentationDlg().

◆ mnMonitors

sal_Int32 SdStartPresentationDlg::mnMonitors
private

Definition at line 36 of file present.hxx.

Referenced by InitMonitorSettings().

◆ pCustomShowList

SdCustomShowList* SdStartPresentationDlg::pCustomShowList
private

Definition at line 34 of file present.hxx.

Referenced by GetAttr(), and SdStartPresentationDlg().

◆ rOutAttrs

const SfxItemSet& SdStartPresentationDlg::rOutAttrs
private

Definition at line 35 of file present.hxx.

Referenced by InitMonitorSettings(), and SdStartPresentationDlg().


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