LibreOffice Module sw (master) 1
|
#include <DropDownFormFieldDialog.hxx>
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 OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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 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::IFieldmark * | m_pDropDownField |
bool | m_bListHasChanged |
std::unique_ptr< weld::Entry > | m_xListItemEntry |
std::unique_ptr< weld::Button > | m_xListAddButton |
std::unique_ptr< weld::TreeView > | m_xListItemsTreeView |
std::unique_ptr< weld::Button > | m_xListRemoveButton |
std::unique_ptr< weld::Button > | m_xListUpButton |
std::unique_ptr< weld::Button > | m_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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 23 of file DropDownFormFieldDialog.hxx.
sw::DropDownFormFieldDialog::DropDownFormFieldDialog | ( | weld::Widget * | pParent, |
mark::IFieldmark * | pDropDownField | ||
) |
Definition at line 20 of file DropDownFormFieldDialog.cxx.
References InitControls(), LINK, m_xListAddButton, m_xListDownButton, m_xListItemEntry, m_xListItemsTreeView, m_xListRemoveButton, and m_xListUpButton.
|
overridevirtual |
Definition at line 49 of file DropDownFormFieldDialog.cxx.
|
private |
Definition at line 130 of file DropDownFormFieldDialog.cxx.
References Application::CreateMessageDialog(), m_bListHasChanged, weld::GenericDialogController::m_xDialog, m_xListAddButton, m_xListItemEntry, m_xListItemsTreeView, ODF_FORMDROPDOWN_ENTRY_COUNT_LIMIT, SwResId(), and UpdateButtons().
|
private |
Definition at line 171 of file DropDownFormFieldDialog.cxx.
References m_bListHasChanged, m_pDropDownField, m_xListItemsTreeView, nIndex, ODF_FORMDROPDOWN_LISTENTRY, and ODF_FORMDROPDOWN_RESULT.
Referenced by run().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 101 of file DropDownFormFieldDialog.cxx.
References m_pDropDownField, m_xListItemsTreeView, ODF_FORMDROPDOWN_LISTENTRY, ODF_FORMDROPDOWN_RESULT, and UpdateButtons().
Referenced by DropDownFormFieldDialog().
|
inlineoverridevirtual |
Reimplemented from weld::DialogController.
Definition at line 52 of file DropDownFormFieldDialog.hxx.
|
private |
Definition at line 158 of file DropDownFormFieldDialog.cxx.
References m_xListAddButton, m_xListDownButton, m_xListItemEntry, m_xListItemsTreeView, m_xListRemoveButton, and m_xListUpButton.
Referenced by AppendItemToList(), and InitControls().
|
private |
Definition at line 27 of file DropDownFormFieldDialog.hxx.
Referenced by AppendItemToList(), and Apply().
|
private |
Definition at line 26 of file DropDownFormFieldDialog.hxx.
Referenced by Apply(), and InitControls().
|
private |
Definition at line 30 of file DropDownFormFieldDialog.hxx.
Referenced by AppendItemToList(), DropDownFormFieldDialog(), and UpdateButtons().
|
private |
Definition at line 36 of file DropDownFormFieldDialog.hxx.
Referenced by DropDownFormFieldDialog(), and UpdateButtons().
|
private |
Definition at line 29 of file DropDownFormFieldDialog.hxx.
Referenced by AppendItemToList(), DropDownFormFieldDialog(), and UpdateButtons().
|
private |
Definition at line 32 of file DropDownFormFieldDialog.hxx.
Referenced by AppendItemToList(), Apply(), DropDownFormFieldDialog(), InitControls(), and UpdateButtons().
|
private |
Definition at line 34 of file DropDownFormFieldDialog.hxx.
Referenced by DropDownFormFieldDialog(), and UpdateButtons().
|
private |
Definition at line 35 of file DropDownFormFieldDialog.hxx.
Referenced by DropDownFormFieldDialog(), and UpdateButtons().