summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/DropDownFieldDialog.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/DropDownFieldDialog.hxx')
-rw-r--r--sw/source/uibase/inc/DropDownFieldDialog.hxx15
1 files changed, 11 insertions, 4 deletions
diff --git a/sw/source/uibase/inc/DropDownFieldDialog.hxx b/sw/source/uibase/inc/DropDownFieldDialog.hxx
index d670afb55c70..b2dbffaefa2c 100644
--- a/sw/source/uibase/inc/DropDownFieldDialog.hxx
+++ b/sw/source/uibase/inc/DropDownFieldDialog.hxx
@@ -36,21 +36,28 @@ class DropDownFieldDialog : public SvxStandardDialog
VclPtr<ListBox> m_pListItemsLB;
VclPtr<OKButton> m_pOKPB;
+ VclPtr<PushButton> m_pPrevPB;
VclPtr<PushButton> m_pNextPB;
VclPtr<PushButton> m_pEditPB;
- SwWrtShell &rSh;
- SwDropDownField* pDropField;
+ SwWrtShell &rSh;
+ SwDropDownField* pDropField;
- DECL_LINK(ButtonHdl, Button*, void);
+ VclPtr<PushButton> m_pPressedButton;
+
+ DECL_LINK(EditHdl, Button*, void);
+ DECL_LINK(PrevHdl, Button*, void);
+ DECL_LINK(NextHdl, Button*, void);
virtual void Apply() override;
DECL_LINK(DoubleClickHdl, ListBox&, void);
public:
DropDownFieldDialog( vcl::Window *pParent, SwWrtShell &rSh,
- SwField* pField, bool bNextButton );
+ SwField* pField, bool bPrevButton, bool bNextButton );
virtual ~DropDownFieldDialog() override;
virtual void dispose() override;
+ bool PrevButtonPressed() const;
+ bool NextButtonPressed() const;
};
} //namespace sw