LibreOffice Module sw (master) 1
|
#include <DropDownFieldDialog.hxx>
Public Member Functions | |
DropDownFieldDialog (weld::Widget *pParent, SwWrtShell &rSh, SwField *pField, bool bPrevButton, bool bNextButton) | |
virtual | ~DropDownFieldDialog () override |
bool | PrevButtonPressed () const |
bool | NextButtonPressed () const |
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 (EditHdl, weld::Button &, void) | |
DECL_LINK (PrevHdl, weld::Button &, void) | |
DECL_LINK (NextHdl, weld::Button &, void) | |
void | Apply () |
DECL_LINK (DoubleClickHdl, weld::TreeView &, bool) | |
Private Attributes | |
SwWrtShell & | m_rSh |
SwDropDownField * | m_pDropField |
weld::Button * | m_pPressedButton |
std::unique_ptr< weld::TreeView > | m_xListItemsLB |
std::unique_ptr< weld::Button > | m_xOKPB |
std::unique_ptr< weld::Button > | m_xPrevPB |
std::unique_ptr< weld::Button > | m_xNextPB |
std::unique_ptr< weld::Button > | m_xEditPB |
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 31 of file DropDownFieldDialog.hxx.
sw::DropDownFieldDialog::DropDownFieldDialog | ( | weld::Widget * | pParent, |
SwWrtShell & | rSh, | ||
SwField * | pField, | ||
bool | bPrevButton, | ||
bool | bNextButton | ||
) |
Definition at line 30 of file DropDownFieldDialog.cxx.
References Dropdown, SwDropDownField::GetItemSequence(), SwDropDownField::GetPar2(), SwDropDownField::GetSelectedItem(), SwField::GetTyp(), SwCursorShell::IsCursorReadonly(), LINK, m_pDropField, m_rSh, weld::GenericDialogController::m_xDialog, m_xEditPB, m_xListItemsLB, m_xNextPB, m_xOKPB, m_xPrevPB, and SwFieldType::Which().
|
overridevirtual |
Definition at line 80 of file DropDownFieldDialog.cxx.
|
private |
Definition at line 84 of file DropDownFieldDialog.cxx.
Referenced by run().
|
private |
|
private |
|
private |
|
private |
bool sw::DropDownFieldDialog::NextButtonPressed | ( | ) | const |
Definition at line 110 of file DropDownFieldDialog.cxx.
bool sw::DropDownFieldDialog::PrevButtonPressed | ( | ) | const |
Definition at line 105 of file DropDownFieldDialog.cxx.
|
inlineoverridevirtual |
Reimplemented from weld::DialogController.
Definition at line 54 of file DropDownFieldDialog.hxx.
|
private |
Definition at line 34 of file DropDownFieldDialog.hxx.
Referenced by DropDownFieldDialog().
|
private |
Definition at line 36 of file DropDownFieldDialog.hxx.
|
private |
Definition at line 33 of file DropDownFieldDialog.hxx.
Referenced by DropDownFieldDialog().
|
private |
Definition at line 41 of file DropDownFieldDialog.hxx.
Referenced by DropDownFieldDialog().
|
private |
Definition at line 37 of file DropDownFieldDialog.hxx.
Referenced by DropDownFieldDialog().
|
private |
Definition at line 40 of file DropDownFieldDialog.hxx.
Referenced by DropDownFieldDialog().
|
private |
Definition at line 38 of file DropDownFieldDialog.hxx.
Referenced by DropDownFieldDialog().
|
private |
Definition at line 39 of file DropDownFieldDialog.hxx.
Referenced by DropDownFieldDialog().