LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sw::DropDownFormFieldDialog Class Reference

#include <DropDownFormFieldDialog.hxx>

Inheritance diagram for sw::DropDownFormFieldDialog:
[legend]
Collaboration diagram for sw::DropDownFormFieldDialog:
[legend]

Public Member Functions

 DropDownFormFieldDialog (weld::Widget *pParent, mark::IFieldmark *pDropDownField)
 
virtual ~DropDownFormFieldDialog () override
 
virtual short run () 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
 
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

 DECL_LINK (ListChangedHdl, weld::TreeView &, void)
 
 DECL_LINK (KeyPressedHdl, const KeyEvent &, bool)
 
 DECL_LINK (EntryChangedHdl, weld::Entry &, void)
 
 DECL_LINK (ButtonPushedHdl, weld::Button &, void)
 
void InitControls ()
 
void AppendItemToList ()
 
void UpdateButtons ()
 
void Apply ()
 

Private Attributes

mark::IFieldmarkm_pDropDownField
 
bool m_bListHasChanged
 
std::unique_ptr< weld::Entrym_xListItemEntry
 
std::unique_ptr< weld::Buttonm_xListAddButton
 
std::unique_ptr< weld::TreeViewm_xListItemsTreeView
 
std::unique_ptr< weld::Buttonm_xListRemoveButton
 
std::unique_ptr< weld::Buttonm_xListUpButton
 
std::unique_ptr< weld::Buttonm_xListDownButton
 

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 DropDownFormFieldDialog.hxx.

Constructor & Destructor Documentation

sw::DropDownFormFieldDialog::DropDownFormFieldDialog ( weld::Widget pParent,
mark::IFieldmark pDropDownField 
)
sw::DropDownFormFieldDialog::~DropDownFormFieldDialog ( )
overridevirtual

Definition at line 46 of file DropDownFormFieldDialog.cxx.

Member Function Documentation

void sw::DropDownFormFieldDialog::AppendItemToList ( )
private
void sw::DropDownFormFieldDialog::Apply ( )
private
sw::DropDownFormFieldDialog::DECL_LINK ( ListChangedHdl  ,
weld::TreeView ,
void   
)
private
sw::DropDownFormFieldDialog::DECL_LINK ( KeyPressedHdl  ,
const KeyEvent ,
bool   
)
private
sw::DropDownFormFieldDialog::DECL_LINK ( EntryChangedHdl  ,
weld::Entry ,
void   
)
private
sw::DropDownFormFieldDialog::DECL_LINK ( ButtonPushedHdl  ,
weld::Button ,
void   
)
private
void sw::DropDownFormFieldDialog::InitControls ( )
private
virtual short sw::DropDownFormFieldDialog::run ( )
inlineoverridevirtual

Reimplemented from weld::DialogController.

Definition at line 55 of file DropDownFormFieldDialog.hxx.

References Apply(), and RET_OK.

void sw::DropDownFormFieldDialog::UpdateButtons ( )
private

Member Data Documentation

bool sw::DropDownFormFieldDialog::m_bListHasChanged
private

Definition at line 30 of file DropDownFormFieldDialog.hxx.

Referenced by AppendItemToList(), and Apply().

mark::IFieldmark* sw::DropDownFormFieldDialog::m_pDropDownField
private

Definition at line 29 of file DropDownFormFieldDialog.hxx.

Referenced by Apply(), and InitControls().

std::unique_ptr<weld::Button> sw::DropDownFormFieldDialog::m_xListAddButton
private
std::unique_ptr<weld::Button> sw::DropDownFormFieldDialog::m_xListDownButton
private

Definition at line 39 of file DropDownFormFieldDialog.hxx.

Referenced by DropDownFormFieldDialog(), and UpdateButtons().

std::unique_ptr<weld::Entry> sw::DropDownFormFieldDialog::m_xListItemEntry
private
std::unique_ptr<weld::TreeView> sw::DropDownFormFieldDialog::m_xListItemsTreeView
private
std::unique_ptr<weld::Button> sw::DropDownFormFieldDialog::m_xListRemoveButton
private

Definition at line 37 of file DropDownFormFieldDialog.hxx.

Referenced by DropDownFormFieldDialog(), and UpdateButtons().

std::unique_ptr<weld::Button> sw::DropDownFormFieldDialog::m_xListUpButton
private

Definition at line 38 of file DropDownFormFieldDialog.hxx.

Referenced by DropDownFormFieldDialog(), and UpdateButtons().


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